[Qt-interest] Compile Qt4-OpenSource with Custom FLAGS
Thiago Macieira
thiago at kde.org
Thu Mar 4 07:44:20 CET 2010
Em Quinta-feira 4. Março 2010, às 02.15.02, Aaron Lewis escreveu:
> 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.
CFLAGS="something"
CXXFLAGS="something"
LDFLAGS="something"
export CFLAGS CXXFLAGS LDFLAGS
./configure [the rest of your switches here]
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100304/b30d7356/attachment.bin
More information about the Qt-interest-old
mailing list