From 0d6917566ebfc270573cc0e143f70e99f04eb94b Mon Sep 17 00:00:00 2001 From: Vasily Date: Thu, 27 Dec 2018 14:04:14 +0100 Subject: [PATCH] Add clang switch to ignore third party warnings The --system-header-prefix=third-party treats all includes with a path matching third-party as system files, meaning they won't show warnings. --- advancedSettings.pro | 1 + 1 file changed, 1 insertion(+) diff --git a/advancedSettings.pro b/advancedSettings.pro index 1d180ff..6cbf415 100644 --- a/advancedSettings.pro +++ b/advancedSettings.pro @@ -30,6 +30,7 @@ TEMPLATE = app *clang* { QMAKE_CXXFLAGS += -Werror + QMAKE_CXXFLAGS += --system-header-prefix=third-party } SOURCES += src/main.cpp\ src/overlaycontroller.cpp \