OS X: Qt framework and QT_DEFINITIONS ?

Benjamin Reed rangerrick at befunk.com
Sun Jan 29 15:55:59 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Neundorf wrote:
> Hi,
> 
> in the FindQt4.cmake there's the following code:
> 
> IF (QT_USE_FRAMEWORKS)
>    SET(QT_DEFINITIONS ${QT_DEFINITIONS} 
>        -F${QT_LIBRARY_DIR} -L${QT_LIBRARY_DIR} )
> ENDIF (QT_USE_FRAMEWORKS)
> 
> Is it required that if you use Qt as a framework on the Mac to add these two 
> options to the compile flags ?
> Wouldn't it be enough to add them to the linker flags ?

I figured it made more sense to put it there than to add it to every
linker flag...

I suppose I could add -L to the QTTEST one instead, that's the real issue.


- --
Benjamin Reed a.k.a. Ranger Rick
http://ranger.befunk.com/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD3Nd/Uu+jZtP2Zf4RArdzAJ4myHmnSvAiXLcL4LLCuATR6gV4XACeM2Nl
ufjnvrXCqkVYpj2ey/5JpTI=
=eG1R
-----END PGP SIGNATURE-----


More information about the Kde-buildsystem mailing list