[Qt-interest] Compile Qt4-OpenSource with Custom FLAGS

kurt.korbatits at nokia.com kurt.korbatits at nokia.com
Thu Mar 4 02:23:59 CET 2010


For only a particular project:
Add QMAKE_CXXFLAGS+= <extra flags here> 
To the pro/pri file.
For global you can edit the qmake.conf file you are using somewhere in mkspecs tree.

Kurt Korbatits
Software Engineer
Nokia - Qt Development Frameworks

-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of ext Aaron Lewis
Sent: Thursday, March 04, 2010 11:15 AM
To: Qt-interest
Subject: [Qt-interest] Compile Qt4-OpenSource with Custom FLAGS

Hi,
  I was wondering how to set these compiler flags , during compiling of qt4.6.2.

 qmake is easy , i found Makefile.unix , and add something in it.
(It doesn't work when i modify qmake.pro or qmake.pri)

I tried to change src/qbase.pri , fails.

Any ideas will appreciate.

--
Best Regards,
Aaron Lewis - PGP: 0xA476D2E9
irc: A4r0n on freenode

_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list