Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QMake, system headers, disabling warnings from boost headers



  • How can I tell qmake that some headers, such as the boost headers that I have installed under /usr/local/include, are system includes? clang suppresses warnings from system headers, and I want to suppress all warnings from boost and others, so that I can focus on my "own" warnings.

    I was expecting something like a variable like SYSINCLUDEPATH or similar to exist, but I can't find anything like that.

    Help appreciated!


Log in to reply