summaryrefslogtreecommitdiffstats
path: root/src/webengine/configure.json
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2018-10-16 14:54:36 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-01-21 11:40:35 +0000
commite85835c5a824c1979ace67aa3940c0fbdca40fd6 (patch)
treeae22fac7380308895c3d5142d7e73a6a1e6d88b0 /src/webengine/configure.json
parent819182302d5bdaba41efb68ef3c533b2acc19ae1 (diff)
Add configure for webengine and webenginewidgets
Add possibility to build without widgets or qml support. Move module related options to webengine's subconfigure. Make proper dependencies between qml_module and qml_plugins. Cleanup headers. Fixes: QTBUG-68956 Task-number: QTBUG-70784 Change-Id: I4605d98b0d2c83c99af37e2186b5fbf10f8a6049 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/webengine/configure.json')
-rw-r--r--src/webengine/configure.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/webengine/configure.json b/src/webengine/configure.json
new file mode 100644
index 000000000..ec5ad34d9
--- /dev/null
+++ b/src/webengine/configure.json
@@ -0,0 +1,29 @@
+{
+ "module": "webengine",
+ "depends": [
+ "webenginecore-private"
+ ],
+ "features": {
+ "webengine-ui-delegates": {
+ "label": "UI Delegates",
+ "section": "WebEngine",
+ "output": [ "privateFeature" ]
+ },
+ "webengine-testsupport": {
+ "label": "Test Support",
+ "autoDetect": "features.private_tests || call.isTestsInBuildParts",
+ "output": [ "privateFeature" ]
+ }
+ },
+ "summary": [
+ {
+ "section": "Qt WebEngineQml",
+ "condition": "features.webengine-qml",
+ "entries": [
+ "webengine-ui-delegates",
+ "webengine-testsupport"
+ ]
+ }
+ ]
+}
+