summaryrefslogtreecommitdiffstats
path: root/qtwebengine.pro
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2016-10-20 19:45:22 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2016-11-08 22:27:09 +0000
commit95da2313197aafc06cc6cb3ab730e8d036fb2895 (patch)
tree5f08f8c5b67c967ede62d79ff81217ff9b23a3f7 /qtwebengine.pro
parentc15c0f5620a15996f4d178e628f5bd401ab34279 (diff)
move invocation of (old style) configuration to top-level project
there doesn't appear to be a reason for magically invoking the configuration from default_pre/post, and it would cause problems further down the line with the new configure system. Change-Id: I3cf743a444e96bb397116f2ad4dce923f57aacfc Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'qtwebengine.pro')
-rw-r--r--qtwebengine.pro13
1 files changed, 13 insertions, 0 deletions
diff --git a/qtwebengine.pro b/qtwebengine.pro
index 3d20cc2f4..3fd5c12e6 100644
--- a/qtwebengine.pro
+++ b/qtwebengine.pro
@@ -1,6 +1,19 @@
load(qt_build_config)
load(qt_parts)
+isPlatformSupported() {
+ !exists(src/3rdparty/chromium): \
+ error("Submodule qtwebengine-chromium does not exist. Run 'git submodule update --init'.")
+ load(configure)
+ runConfigure()
+}
+
+!isEmpty(skipBuildReason) {
+ SUBDIRS =
+ log($${skipBuildReason}$${EOL})
+ log(QtWebEngine will not be built.$${EOL})
+}
+
OTHER_FILES = \
tools/buildscripts/* \
tools/scripts/* \