aboutsummaryrefslogtreecommitdiff
path: root/libqmatrixclient.pri
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-12-25 20:45:21 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-12-25 21:03:37 +0900
commitea6ce4d4628a06f4216335b4c72b02859852ff48 (patch)
tree2f5a328cd964c49339476257deafcde20e0b1f9a /libqmatrixclient.pri
parent95486e555f0ab5dc78a7bdc14e22d73bff5cfd7e (diff)
downloadlibquotient-ea6ce4d4628a06f4216335b4c72b02859852ff48.tar.gz
libquotient-ea6ce4d4628a06f4216335b4c72b02859852ff48.zip
qmake: Use the compiler specified in the environment; revert to CONFIG += c++14
qmake doesn't follow standard CC and CXX environment variables and its CONFIG produces CXX_FLAGS added after QMAKE_CXX_FLAGS. Big thank you to The Qt Company :-|
Diffstat (limited to 'libqmatrixclient.pri')
-rw-r--r--libqmatrixclient.pri4
1 files changed, 2 insertions, 2 deletions
diff --git a/libqmatrixclient.pri b/libqmatrixclient.pri
index 3394f60e..10476cc9 100644
--- a/libqmatrixclient.pri
+++ b/libqmatrixclient.pri
@@ -1,6 +1,6 @@
QT += network
-CONFIG += warn_on rtti_off
-QMAKE_CXXFLAGS += -std=c++14 -Wno-unused-parameter
+CONFIG += c++14 warn_on rtti_off
+QMAKE_CXXFLAGS += -Wno-unused-parameter
INCLUDEPATH += $$PWD