How to use -isystem for include path instead of -I?
-
If I use
INCLUDEPATHin .pro file thenqmakeis using-Iduring the compilation but I want to use-isystemsince I don't want to get the warning messages from those headers. How can I achieve this with qmake? -
Add your path also to QMAKE_DEFAULT_INCDIRS should work.
-
Thanks but that doesn't work.
Following worked,QMAKE_CXXFLAGS += -isystem includepath