summaryrefslogtreecommitdiff
path: root/qbs-resources
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-02-12 09:57:52 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2018-02-15 11:49:29 +0000
commit410740fc0ea11a78e2fd6d934f2ff79e2fbb3fb8 (patch)
treecf939097ff15ab5472d8a889d9d73a79df238d3b /qbs-resources
parente449b51d8c3d0a949e6d6d268e70ae5cbbe5d263 (diff)
downloadqbs-410740fc0ea11a78e2fd6d934f2ff79e2fbb3fb8.tar.gz
Build qbs with C++14
This will enable us to simplify some of our templates. Qt Creator requires C++14 as well, so we won't break it. Change-Id: I577347ef12c53ff2ec59e88344ff181b27a0d50c Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'qbs-resources')
-rw-r--r--qbs-resources/imports/QbsAutotest.qbs2
-rw-r--r--qbs-resources/imports/QbsProduct.qbs2
2 files changed, 2 insertions, 2 deletions
diff --git a/qbs-resources/imports/QbsAutotest.qbs b/qbs-resources/imports/QbsAutotest.qbs
index b709cbce8..25720354e 100644
--- a/qbs-resources/imports/QbsAutotest.qbs
+++ b/qbs-resources/imports/QbsAutotest.qbs
@@ -17,7 +17,7 @@ QtApplication {
"../../../src",
"../../../src/app/shared", // for the logger
]
- cpp.cxxLanguageVersion: "c++11"
+ cpp.cxxLanguageVersion: "c++14"
destinationDirectory: "bin"
Group {
name: "logging"
diff --git a/qbs-resources/imports/QbsProduct.qbs b/qbs-resources/imports/QbsProduct.qbs
index a9ae37aea..7425e1ea3 100644
--- a/qbs-resources/imports/QbsProduct.qbs
+++ b/qbs-resources/imports/QbsProduct.qbs
@@ -15,7 +15,7 @@ Product {
res.push("QT_STRICT_ITERATORS");
return res;
}
- cpp.cxxLanguageVersion: "c++11"
+ cpp.cxxLanguageVersion: "c++14"
cpp.enableExceptions: true
cpp.rpaths: qbsbuildconfig.libRPaths
}