[Qt-interest] Using -isystem for Qt includes

Wilhelm wilhelm.meier at fh-kl.de
Thu Nov 18 09:48:09 CET 2010


Am 17.11.2010 17:58, schrieb Joerg Bornemann:
> On 17/11/2010 14:30, ext Karl Krach wrote:
> 
>> How can I tell qmake, to generate Makefiles with -isystem ?
> 
> Put this into your .pro file or into the qmake.conf of your mkspec:
> 	QMAKE_CXXFLAGS += -isystem

That doesn't work. qmake still places the -I<...> into the Makefile.

If you edit the Makefile an replace -I with -isystem the moc will
complain about wrong options.

> 
> 
> BR,
> 
> Jörg
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest


-- 
Wilhelm




More information about the Qt-interest-old mailing list