summaryrefslogtreecommitdiffstats
path: root/src/src.pro
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/src.pro
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/src.pro')
-rw-r--r--src/src.pro22
1 files changed, 5 insertions, 17 deletions
diff --git a/src/src.pro b/src/src.pro
index 218cdb66d..30562686a 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -14,11 +14,7 @@ core.depends = buildtools
SUBDIRS += buildtools \
core \
- process \
- webengine \
- webengine_plugin \
- plugins
-
+ process
qtConfig(webengine-spellchecker):!qtConfig(webengine-native-spellchecker):!cross_compile {
SUBDIRS += qwebengine_convert_dict
@@ -26,19 +22,11 @@ qtConfig(webengine-spellchecker):!qtConfig(webengine-native-spellchecker):!cross
qwebengine_convert_dict.depends = core
}
-qtConfig(webengine-testsupport) {
- webengine_testsupport_plugin.subdir = webengine/plugin/testsupport
- webengine_testsupport_plugin.target = sub-webengine-testsupport-plugin
- webengine_testsupport_plugin.depends = webengine
- SUBDIRS += webengine_testsupport_plugin
-}
-
-qtConfig(webengine-ui-delegates) {
- SUBDIRS += webengine/ui \
- webengine/ui2
+qtConfig(webengine-qml) {
+ SUBDIRS += webengine
}
-qtHaveModule(widgets) {
- SUBDIRS += webenginewidgets
+qtConfig(webengine-widgets) {
+ SUBDIRS += plugins webenginewidgets
plugins.depends = webenginewidgets
}