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

Reply via email to