summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2017-07-13 09:41:12 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2017-07-17 06:59:37 +0000
commitc218716497093e5961c24b7c7fb9ed2c4160c204 (patch)
tree61550fd56b54bd08ee117123799dbb1bda818060
parent19e5c2057b9f127726018d3e39a62066317a983f (diff)
Yield error if the build directory contains spaces
Task-number: QTBUG-61275 Change-Id: I7e741ffaaa4044b3b61b6df06ea3eab181db9c97 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
-rw-r--r--qtwebengine.pro11
1 files changed, 7 insertions, 4 deletions
diff --git a/qtwebengine.pro b/qtwebengine.pro
index 5ae80ea8c..034e946c4 100644
--- a/qtwebengine.pro
+++ b/qtwebengine.pro
@@ -1,10 +1,13 @@
load(qt_parts)
isPlatformSupported() {
- !exists(src/3rdparty/chromium): \
- error("Submodule qtwebengine-chromium does not exist. Run 'git submodule update --init'.")
- load(configure)
- runConfigure()
+ !exists(src/3rdparty/chromium): \
+ error("Submodule qtwebengine-chromium does not exist. Run 'git submodule update --init'.")
+ WSPC = $$find(OUT_PWD, \\s)
+ !isEmpty(WSPC): \
+ error("QtWebEngine cannot be built in a path that contains whitespace characters.")
+ load(configure)
+ runConfigure()
}
!isEmpty(skipBuildReason) {