cmake: make Qt4 qmake available via PATH
Thiago Macieira
thiago at kde.org
Wed Mar 22 14:53:47 CET 2006
Michael Olbrich wrote:
>On Tue, Mar 21, 2006 at 11:19:57PM +0100, Alexander Neundorf wrote:
>> 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.
>
>Hmm, that will give me:
>QT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
>QT_BINARY_DIR=/usr/bin
>QT_UIC_EXECUTABLE=/usr/bin/uic
>which is the qt3 uic.
>Can we check for uic-qt4 like qmake-qt4?
It should be found using pkg-config or qmake (whichever we prefer):
$ ls `qmake -query QT_INSTALL_BINS`/uic
/home/tjmaciei/troll/qt-4.1-build/bin/uic*
$ ls `pkg-config --variable prefix QtCore`/bin/uic
/home/tjmaciei/troll/qt-4.1-build/bin/uic*
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
thiago.macieira (AT) trolltech.com Trolltech AS
GPG: 0x6EF45358 | Sandakerveien 116,
E067 918B B660 DBD1 105C | NO-0402
966C 33F5 F005 6EF4 5358 | Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060322/77f03e7c/attachment.pgp
More information about the Kde-buildsystem
mailing list