[CMake] FIND_PROGRAM and qt4
Alexander Neundorf
a.neundorf-work at gmx.net
Wed Sep 6 07:26:31 EDT 2006
-------- Original-Nachricht --------
Datum: Wed, 6 Sep 2006 12:43:10 +0200
Von: frederic heem <frederic.heem at telsey.it>
An: cmake <cmake at cmake.org>
Betreff: [CMake] FIND_PROGRAM and qt4
> Hi,
> Here is the problem, qt3 is installed by the distribution, qt4 has been
> manually installed. An application which want to use qt4 will set QTDIR to
> the directory where qt4 is installed.
> The macro FIND_PROGRAM found the wrong qmake e.g
> /usr/lib/qt-3.3/bin/qmake,
> the reason is that FIND_PROGRAM search first the default path given by
> the
> variable PATH and then ${QTDIR}/bin. FIND_PROGRAM shall search first
> ${QTDIR}/bin and then the default path.
No.
With Qt4 the QTDIR env. variable is obsolete. The Qt4 qmake has to be the first qmake which is found via the PATH.
Bye
Alex
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
More information about the CMake
mailing list