|author||Pierre Rossi <email@example.com>||2013-12-06 14:18:04 +0100|
|committer||The Qt Project <firstname.lastname@example.org>||2014-01-15 21:35:11 +0100|
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 <email@example.com>
Diffstat (limited to 'src/src.pro')
1 files changed, 4 insertions, 0 deletions
diff --git a/src/src.pro b/src/src.pro
index 59fcce66f..536fcad5c 100644
@@ -17,6 +17,10 @@ SUBDIRS += core \
+# 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
SUBDIRS += webenginewidgets