From 85f547d585552fb0f87acd08722aabccb229e2a5 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Fri, 12 Jan 2018 17:58:47 +0100 Subject: Force C++11 in Qt project configuration --- OrbitingYeti.pro | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'OrbitingYeti.pro') 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 -- cgit v1.2.1