cmake: make Qt4 qmake available via PATH

Alexander Neundorf neundorf at kde.org
Tue Mar 21 23:19:57 CET 2006


Hi,

after the discussions today on the KDE and the cmake mailing lists, it seems 
that Qt4 obsoletes the use of QTDIR and instead requires that qmake is 
available via PATH.

So I changed the detection of Qt4 accordingly in FindQt4.cmake.

This means: 

to detect Qt4, use something like
export PATH=/usr/lib/qt4/bin:$PATH

instead of setting QTDIR to point to the Qt4 right directory.

If this creates problems for you, let me know.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list