aboutsummaryrefslogtreecommitdiff
path: root/libqmatrixclient.pri
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-12-25 21:35:21 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-12-25 21:35:21 +0900
commit878c1e710de54bf913e085f5d5f6a198810c968f (patch)
tree0ca6ce4cb02904fc28e9f4094c61df86712974a3 /libqmatrixclient.pri
parent53241b0b47d80b90c3834336dc3db89676e1c007 (diff)
downloadlibquotient-878c1e710de54bf913e085f5d5f6a198810c968f.tar.gz
libquotient-878c1e710de54bf913e085f5d5f6a198810c968f.zip
qmake: Use QMAKE_CXX_FLAGS_WARN_ON rather than QMAKE_CXX_FLAGS
Because the damn thing puts QMAKE_CXX_FLAGS before what's put by CONFIG, and CONFIG injects -W -Wall that cancels -Wno-unused-parameter.
Diffstat (limited to 'libqmatrixclient.pri')
-rw-r--r--libqmatrixclient.pri2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqmatrixclient.pri b/libqmatrixclient.pri
index 10476cc9..f0c2417f 100644
--- a/libqmatrixclient.pri
+++ b/libqmatrixclient.pri
@@ -1,6 +1,6 @@
QT += network
CONFIG += c++14 warn_on rtti_off
-QMAKE_CXXFLAGS += -Wno-unused-parameter
+QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter
INCLUDEPATH += $$PWD