summaryrefslogtreecommitdiffstats
path: root/src/webengine/webengine.pro
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@digia.com>2013-12-06 14:18:04 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-15 21:35:11 +0100
commite46886912858e9b233fb099bb211e288dd7d57b5 (patch)
tree4a9b9ee18a6f453c8d011b9f319343867b47b50a /src/webengine/webengine.pro
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 <jocelyn.turcotte@digia.com>
Diffstat (limited to 'src/webengine/webengine.pro')
-rw-r--r--src/webengine/webengine.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/webengine/webengine.pro b/src/webengine/webengine.pro
index 96724d465..877c515a9 100644
--- a/src/webengine/webengine.pro
+++ b/src/webengine/webengine.pro
@@ -22,7 +22,8 @@ QMAKE_RPATHDIR += $$LIBPATH
SOURCES = \
api/qquickwebengineloadrequest.cpp \
api/qquickwebengineview.cpp \
- render_widget_host_view_qt_delegate_quick.cpp
+ render_widget_host_view_qt_delegate_quick.cpp \
+ ui_delegates_manager.cpp
HEADERS = \
api/qtwebengineglobal.h \
@@ -30,6 +31,7 @@ HEADERS = \
api/qquickwebengineloadrequest_p.h \
api/qquickwebengineview_p.h \
api/qquickwebengineview_p_p.h \
- render_widget_host_view_qt_delegate_quick.h
+ render_widget_host_view_qt_delegate_quick.h \
+ ui_delegates_manager.h
load(qt_module)