On Friday 04 February 2011, Andreas Pakulat wrote: > On 04.02.11 00:33:58, David Faure wrote: > > On Wednesday 02 February 2011, Alexander Neundorf wrote: > > > On Wednesday 02 February 2011, Michael Pyne wrote: > > > ... > > > > > > > e.g. worrying about environment variables like PKG_CONFIG_PATH is no > > > > idle claim (kdesrc-build sets that as well), along with PATH in > > > > order to pick up the right Qt version. > > > > > > Please try to use only CMAKE_PREFIX_PATH instead of setting PATH. I > > > recommend this to everybody. > > > > How does this help finding *Qt*? > > > > We find Qt via `qmake`, so $PATH matters. > > We find Qt via find_program() which _first_ looks into all paths listed > in CMAKE_PREFIX_PATH/bin and then later into PATH.
Interesting. I stand corrected. -- David Faure, fa...@kde.org, http://www.davidfaure.fr Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).