summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@theqtcompany.com>2015-01-16 17:48:01 +0100
committerPierre Rossi <pierre.rossi@theqtcompany.com>2015-01-16 18:29:40 +0100
commit8a01b1f2448932b3806b7ca74b6af81be4c3308a (patch)
treefa31d52ea074645421d66eda1594d1d4d749b8bc /tools
parent0fc1516692fb11f3489bce11a8f0cc15ad8f6b63 (diff)
Add c++11 as a requirement.
Skip the build otherwise. This is so we can land the new snapshot, which by now generalized the use of some c++11 features (See https://chromium-cpp.appspot.com/ for details). Change-Id: If17b88030f8fd28f48e1f52f03c28b015975ad82 Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/qmake/mkspecs/features/functions.prf4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
index 338a9ec27..df7cf1300 100644
--- a/tools/qmake/mkspecs/features/functions.prf
+++ b/tools/qmake/mkspecs/features/functions.prf
@@ -1,4 +1,8 @@
defineTest(isPlatformSupported) {
+ !contains(QT_CONFIG, c++11) {
+ skipBuild("C++11 support is required in order to build chromium.")
+ return(false)
+ }
static {
skipBuild("Static builds of QtWebEngine aren't supported.")
return(false)