From 878c1e710de54bf913e085f5d5f6a198810c968f Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Mon, 25 Dec 2017 21:35:21 +0900 Subject: 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. --- libqmatrixclient.pri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3