persistent problem building new versions

aga agander93 at gmail.com
Sat Oct 29 17:06:39 UTC 2016


On 29/10/16 17:40, Jack Ostroff wrote:
> Trying to build 4.8, if I set QT_SELECT=4, it does mainly pull in Qt4
> stuff and not Qt5, but not completely.  Something is still pulling in
> some Qt5 stuff.  CMakeCache.txt still includes:
> 
> CMakeCache.txt://The directory containing a CMake configuration file for
> Qt5Core.
> CMakeCache.txt:Qt5Core_DIR:PATH=/usr/lib/i386-linux-gnu/cmake/Qt5Core
> CMakeCache.txt://The directory containing a CMake configuration file for
> Qt5DBus.
> CMakeCache.txt:Qt5DBus_DIR:PATH=/usr/lib/i386-linux-gnu/cmake/Qt5DBus
> 
> In addition, if I include -DQT_INSTALL_DIR=path/to/qt4 it says it is a
> manually specified variable which is not used, although it does show up
> in CMakeCache.txt.  If I do NOT include it, CMakeCache.txt shows it
> pointing to the Qt5 version.
> 
> Right now, I'm working on Kubuntu 16.10, but I've had similar problems
> in the previous Kubuntu version and on Gentoo.  Is it likely I've got
> some dependency installed as a Qt5 version, and if so, how do I find it
> without explicitly checking every one?
> 
> I'm getting rather frustrated with this, partly becuase I've tried so
> many different approaches (trying both 4.8 and master) that I know I've
> gotten myself confused as to exactly what I have with any particular
> attempt.
> 
> Thanks for any suggestions.
> 
> Jack
> 

Having finally got KF5 built, I wanted also 4.8.0, but didn't want
another hacking session, so, on Kubuntu 16.10, I used their package and
all is sweetness and light.  No messing with cmake variables.
Obviously, I have to uninstall and reinstall, but that's pretty quick.
I'd tried a number of different distros but kept running into missing
dependencies, and not always finding the versions needed.

Allan


Allan




More information about the KMyMoney-devel mailing list