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

Qmake and clang: suppress warnings on whole subdirectory



  • I get lots of warnings from third party headers in my project. I want to suppress them, so that I only see warnings related to my own code. Can I ask clang to suppress warnings from an entire subdirectory?

    Haven't been able to google an answer - only how to do this on a per-file basis, which isn't practical but will be my last resort.

    Using Qt Creator on OS X.


Log in to reply