diff options
author | Michal Klocek <michal.klocek@qt.io> | 2016-06-13 13:14:32 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2016-11-01 11:00:04 +0000 |
commit | e08cb960ada1ad4f800785754ac8ed313c4f5264 (patch) | |
tree | f84e3c4d63cf8484fc78fac5f8a9b4c4b768e8c3 /examples/webengine/customdialogs/customdialogs.pro | |
parent | 2fe08ddf9388598003cb3a30f30a2d18ab044969 (diff) |
Add qtquick customdialog example
The example shows how to create and use custom dialogs
instead of webengine's default dialogs.
Task-number: QTBUG-56063
Change-Id: I440305b2d4357d2b47c6b5a1a821b25c71221aa2
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'examples/webengine/customdialogs/customdialogs.pro')
-rw-r--r-- | examples/webengine/customdialogs/customdialogs.pro | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/webengine/customdialogs/customdialogs.pro b/examples/webengine/customdialogs/customdialogs.pro new file mode 100644 index 000000000..5861f3af7 --- /dev/null +++ b/examples/webengine/customdialogs/customdialogs.pro @@ -0,0 +1,18 @@ +QT += webengine + +HEADERS += \ + server.h + +SOURCES += \ + main.cpp \ + server.cpp + +RESOURCES += \ + customdialogs.qrc + +target.path = $$[QT_INSTALL_EXAMPLES]/webengine/customdialogs +INSTALLS += target + +qtHaveModule(widgets) { + QT += widgets # QApplication is required to get native styling with QtQuickControls +} |