path: root/src/
diff options
authorPierre Rossi <>2013-12-06 14:18:04 +0100
committerThe Qt Project <>2014-01-15 21:35:11 +0100
commite46886912858e9b233fb099bb211e288dd7d57b5 (patch)
tree4a9b9ee18a6f453c8d011b9f319343867b47b50a /src/
parentc34b72183e85e7c615ca65381d8591cdca23faf2 (diff)
Pave the way for our UI delegation strategy.
Starting with the context Menus for QtQuick. Add default UI delegates as a subproject. We allow ourselves to use Qt Quick Controls there for in order to get a nice "out of the box" experience for things like context menus, dialogs, etc while leaving the door open for system embedders to override this. Opting out of the deployment of these QML files is still very primitive but can be done by passing WEBENGINE_CONFIG+=no_ui_delegates at qmake time. Customization of context menus could be done via a qml component, which is probably best kept in experimental for now while we address its shortcomings. Change-Id: I0705b20d5ddd3bb010f9371b65a181c6b02a03e1 Reviewed-by: Jocelyn Turcotte <>
Diffstat (limited to 'src/')
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ b/src/
index 59fcce66f..536fcad5c 100644
--- a/src/
+++ b/src/
@@ -17,6 +17,10 @@ SUBDIRS += core \
webengine_plugin \
+# FIXME: We probably want a bit more control over config options to tweak what to build/ship or not.
+# Another example of where this could be necessary is to make it easy to build proprietery codecs support.
+!contains(WEBENGINE_CONFIG, no_ui_delegates): SUBDIRS += webengine/ui
qtHaveModule(widgets) {
SUBDIRS += webenginewidgets