diff options
author | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2016-03-08 17:33:11 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2016-03-09 09:30:06 +0000 |
commit | 6380f626cb0b30b2cea0b8704c0cb3a7dc22b78e (patch) | |
tree | c4e4db0bedf7210523c14efd94b296af4041503a /tools | |
parent | b11744886d73dbad4498ba3d3e23b31a0eabf90a (diff) |
Check for presence of the qtwebengine-chromium submodule
People repeatedly tried to build QtWebEngine without checking out the
qtwebengine-chromium submodule. Let's yield a helpful error message if
the submodule isn't present.
Change-Id: I9bf607e7a21e6e79c83bcd4afc81c63ae83e1ed6
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qmake/mkspecs/features/default_pre.prf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/qmake/mkspecs/features/default_pre.prf b/tools/qmake/mkspecs/features/default_pre.prf index 6506e67ad..cb0625c2e 100644 --- a/tools/qmake/mkspecs/features/default_pre.prf +++ b/tools/qmake/mkspecs/features/default_pre.prf @@ -19,6 +19,9 @@ load(functions) equals(_PRO_FILE_, "$$QTWEBENGINE_ROOT/qtwebengine.pro"): CONFIG += root_project_file root_project_file:isPlatformSupported() { + !exists($$QTWEBENGINE_ROOT/src/3rdparty/chromium) { + error("Submodule qtwebengine-chromium does not exist. Run 'git submodule update --init'.") + } load(configure) runConfigure() } |