aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--libqmatrixclient.pri4
2 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index e4d66084..1b67119d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,7 +28,7 @@ script:
- cmake ..
- cmake --build . --target all
- cd ..
-- qmake qmc-example.pro && make all
+- qmake qmc-example.pro "QMAKE_CC = $CC" "QMAKE_CXX = $CXX" && make all
notifications:
webhooks:
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