How to find qmake to find QT4

Thiago Macieira thiago at kde.org
Wed Mar 22 10:24:31 CET 2006


David Faure wrote:
>Apparently it's so that we can run things like
>qmake -query QT_INSTALL_HEADERS

$ qmake -query QT_INSTALL_HEADERS
/home/tjmaciei/troll/qt-4.1-build/include

$ pkg-config --variable includedir QtCore
/home/tjmaciei/troll/qt-4.1-build/include/QtCore

$ pkg-config --cflags QtCore
-DQT_SHARED -I/home/tjmaciei/troll/qt-4.1-build/include -I/home/tjmaciei/troll/qt-4.1-build/include/QtCore

I can understand that it helps when pkg-config isn't installed, but I 
believe that we will need pkg-config for other stuff too... So why not 
use it, since it gives you more information?

-- 
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/4b81b87b/attachment-0001.pgp 


More information about the Kde-buildsystem mailing list