diff --git a/qtwebengine.pro b/qtwebengine.pro index 5ae80ea8cb8a508336a0585567f6ec06aee2b64e..034e946c42cda3844513da47b99166568ca1720c 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) {