aboutsummaryrefslogtreecommitdiffstats
path: root/qbs
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2016-12-06 13:13:51 +0100
committerMarco Bubke <marco.bubke@qt.io>2017-01-05 10:34:29 +0000
commitddbe6117b3a727757c985d3dfe43acd901ece84e (patch)
tree0810bd17033b569000fcfd58a5c8734ea9eab825 /qbs
parentdba7333befca8108eabcf61fd7073fb98d316096 (diff)
Bump C++ version to 14
Our compilers support some features which are part of the C++ 14 feature set. Some off them are silently compiled with the C++ 11 setting. For example: [foo=bar] {} is actually working with GCC but is part of C++ 14. Change-Id: Icf2c3806e26c675f8251768c6ad54ba4da186d11 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'qbs')
-rw-r--r--qbs/imports/QtcProduct.qbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/qbs/imports/QtcProduct.qbs b/qbs/imports/QtcProduct.qbs
index bb6828e97a..690880d572 100644
--- a/qbs/imports/QtcProduct.qbs
+++ b/qbs/imports/QtcProduct.qbs
@@ -19,7 +19,7 @@ Product {
Depends { name: "qtc" }
Depends { name: product.name + " dev headers"; required: false }
- cpp.cxxLanguageVersion: "c++11"
+ cpp.cxxLanguageVersion: "c++14"
cpp.defines: qtc.generalDefines
cpp.minimumOsxVersion: "10.7"
cpp.minimumWindowsVersion: qbs.architecture === "x86" ? "5.1" : "5.2"