[CMake] CMake 3.7.1 gui fails to launch
daryl at daryllee.com
daryl at daryllee.com
Fri Jan 6 17:37:00 EST 2017
And the answer is...
I recently installed an IDE from a not-to-be-named company that I do a
lot of business with. The installation of that software places their
installation directory in LD_LIBRARY_PATH and guess what? their
installation contains a copy of libQtGui.so and libQtCore.so. The
"ldd" tip led me to that discovery. For now I have put
/usr/lib/x86_64-linux-gnu in front of their path in LD_LIBRARY_PATH
and cmake-gui V3.7.1 is working. I may have to come up with a more
permanent fix, but for now their stuff seems to work and CMake seems
to work, so I'm claiming victory.
All I can think of now is how often when I was a kid my dad complained
about how stubborn I was. Who knew that would be an asset when I grew
up?
Thanks again for the help.
Quoting "Alan W. Irwin" <irwin at beluga.phys.uvic.ca>:
> On 2017-01-06 12:41-0500 daryl at daryllee.com wrote:
>
>> As it turns out, no, I can't use Qt5. In fact, I'd love to hear
>> from anyone who actually has.
>
> My "ldd -r" results for cmake-gui show my recent bootstrap builds (of
> cmake-3.7.0) have been built with Qt5 without linking issues. I
> didn't do anything special for Qt5 other than to install its
> development packages (for Debian Jessie in my case). So I think if
> you did the same, it would just work. That said, ~6 months or so ago,
> I didn't have Qt5 installed on my system so my cmake-gui builds back
> then were done (without issues) using Qt4.
>
> Also, I have used the combination of cmake and Qt5 in other contexts. The
> issue that is likely confusing you (since it confused me at first
> encounter as well) is Qt5 cmake support is provided directly by Qt5
> (see <http://doc.qt.io/qt-5/cmake-manual.html> which is provided by
> Qt5 developers and not cmake developers).
>
> So, for example, the PLplot build system uses either Qt4 (based on
> CMake support provided by CMake) or Qt5 (based on CMake support provided
> by Qt5) and my recent (6 months ago and now) experience with CMake
> builds is they also work fine for either Qt4 or Qt5.
>
> So like others here have commented, I suspect you have some Qt4
> installation issue (e.g., a mixture of private and system versions)
> that is causing your present difficulties.
>
> Alan
> __________________________
> Alan W. Irwin
>
> Astronomical research affiliation with Department of Physics and Astronomy,
> University of Victoria (astrowww.phys.uvic.ca).
>
> Programming affiliations with the FreeEOS equation-of-state
> implementation for stellar interiors (freeeos.sf.net); the Time
> Ephemerides project (timeephem.sf.net); PLplot scientific plotting
> software package (plplot.sf.net); the libLASi project
> (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
> and the Linux Brochure Project (lbproject.sf.net).
> __________________________
>
> Linux-powered Science
> __________________________
More information about the CMake
mailing list