On Thursday 23 July 2015 09:40:14 Samuel Stirtzel wrote: > 2015-07-22 22:52 GMT+02:00 Thiago Macieira <thiago.macie...@intel.com>: > > And then there's another trick... we also began using -isystem with GCC > > and > > Clang, so they don't complain about warnings in Qt itself :-) > > Hi, > > is there a trick for qmake to include the Qt headers with -isystem by > default, or do you use "include_directories(SYSTEM ...)" from CMake?
We use -isystem when you install Qt to the default search directories by GCC. That's the common case for Linux distributions. If you install Qt elsewhere -- including the binaries you get from the Qt SDK installer -- you won't get -isystem. > The related bug: https://bugreports.qt.io/browse/QTBUG-7220 is still > unresolved after more than 5 years. Closed now, retroactively setting fix release to 5.4.0. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest