aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-01-12 17:58:47 +0100
committerNao Pross <naopross@thearcway.org>2018-01-12 17:58:47 +0100
commit85f547d585552fb0f87acd08722aabccb229e2a5 (patch)
tree1832522db8b84d71fd3045704d288d029c1c0504
parentAdd makefile and remove cmake stuff from gitignore (diff)
downloadOrbitingYeti-85f547d585552fb0f87acd08722aabccb229e2a5.tar.gz
OrbitingYeti-85f547d585552fb0f87acd08722aabccb229e2a5.zip
Force C++11 in Qt project configurationHEADmaster
-rw-r--r--OrbitingYeti.pro7
1 files changed, 7 insertions, 0 deletions
diff --git a/OrbitingYeti.pro b/OrbitingYeti.pro
index 1821c44..8ac911b 100644
--- a/OrbitingYeti.pro
+++ b/OrbitingYeti.pro
@@ -8,6 +8,13 @@ QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
+# Enable C++11 support
+greaterThan(QT_MAJOR_VERSION, 4) {
+ CONFIG += c++11
+} else {
+ QMAKE_CXXFLAGS += -std=c++0x
+}
+
TARGET = OrbitingYeti
TEMPLATE = app