Em Quinta-feira 27 Agosto 2009, às 00:27:16, você escreveu:
> I forwarded the OP mail to Clinto Stimpson, who is the FindQt4.cmake
> module maintainer. This is his answer:
> 
> "
> UseQt4.cmake adds -D flags for each module.
> Are they not correct?  When I added those -D flags it was based on
> qmake's behavior.
> 
> Clint
> "
> 
> I guess the problem is in KDE we do not do INCLUDE( ${QT_USE_FILE} )
> because we do not use the QT_LIBRARIES var. The reason we do not do
> that is with so many projects being configured in the same CMake pass,
> QT_LIBRARIES would be useless: it would contain the sum of all the Qt
> libraries any one project has requested at some time by using SET(
> QT_USE_QTXXX 1).
> 
> Maybe we should do INCLUDE( ${QT_USE_FILE} ) but keep on NOT using
> QT_LIBRARIES ?

There's no need to change anything.

Those #defines are only used in QtTest. The KDE macros for adding executables 
could handle that (NOGUI -> don't add the QtGui #define).

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

Qt Developer Days 2009 | Registration Now Open!
Munich, Germany: Oct 12 - 14     San Francisco, California: Nov 2 - 4
      http://qt.nokia.com/qtdevdays2009

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to