diff options
author | Liang Qi <liang.qi@qt.io> | 2020-01-03 13:51:14 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2020-01-03 14:25:44 +0100 |
commit | d68244d595252a1de90899a83a2d47cd374d1655 (patch) | |
tree | b3c6fab0d2e3d59cd00e212811bbc3320799e48c | |
parent | 79d4cf6e8eb569ec039c33e407fab787cc1a687f (diff) |
Fix the build with -no-gui
Task-number: QTBUG-74602
Change-Id: I8ba358e03472e58c40363fede56e87dfd665ae83
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
-rw-r--r-- | qtwebengine.pro | 1 | ||||
-rw-r--r-- | src/buildtools/configure.json | 1 | ||||
-rw-r--r-- | src/core/configure.json | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/qtwebengine.pro b/qtwebengine.pro index fc303a453..4db530030 100644 --- a/qtwebengine.pro +++ b/qtwebengine.pro @@ -1,3 +1,4 @@ +requires(qtHaveModule(gui)) load(qt_parts) load(functions) diff --git a/src/buildtools/configure.json b/src/buildtools/configure.json index a36d05320..f04fdae81 100644 --- a/src/buildtools/configure.json +++ b/src/buildtools/configure.json @@ -5,6 +5,7 @@ "gui-private", "printsupport" ], + "condition": "module.gui", "commandline": { "options": { "build-qtwebengine-core": "boolean", diff --git a/src/core/configure.json b/src/core/configure.json index d7f5a92f1..9059575b9 100644 --- a/src/core/configure.json +++ b/src/core/configure.json @@ -6,7 +6,7 @@ "gui-private", "printsupport" ], - "condition": "features.build-qtwebengine-core && features.webengine-core-support", + "condition": "module.gui && features.build-qtwebengine-core && features.webengine-core-support", "testDir": "../../config.tests", "commandline": { "options": { |