cmake: make Qt4 qmake available via PATH

Thiago Macieira thiago at kde.org
Thu Mar 23 10:33:06 CET 2006


Michael Olbrich wrote:
>> > $ 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*
>
>That is not necessarily the same uic qmake would use. Is that
>intentional?

It is, unless you change it intentionally.

$ head mkspecs/features/uic.prf

isEmpty(QMAKE_UIC3) {
    win32:QMAKE_UIC3 = $$[QT_INSTALL_BINS]\uic3.exe
    else:QMAKE_UIC3 = $$[QT_INSTALL_BINS]/uic3
}

isEmpty(QMAKE_UIC) {
   win32:QMAKE_UIC = $$[QT_INSTALL_BINS]\uic.exe
   else:QMAKE_UIC = $$[QT_INSTALL_BINS]/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/20060323/76b4eaa0/attachment.pgp 


More information about the Kde-buildsystem mailing list