[Qt-interest] Using -isystem for Qt includes

Karl Krach mailinglists at bluespirit.la
Wed Nov 17 14:30:11 CET 2010


Hallo,

I have the problem, that I want to use with the GCC 4.4.5 the 
-Wconversion flag. But when I use it, I get a big amount of qt 
warnings. According this stack overflow article [1], I only have to 
include the qt headers with -isystem instead of -I. (@qt guys - this 
would be a nice improvement for the next versions!)

How can I tell qmake, to generate Makefiles with -isystem ?

Thank a lot,

Charly


[1] 
http://stackoverflow.com/questions/1867065/how-to-suppress-gcc-warnings-from-library-headers




More information about the Qt-interest-old mailing list