summaryrefslogtreecommitdiffstats
path: root/examples/webengine/recipebrowser/recipebrowser.pro
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2016-08-10 13:31:04 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2016-08-31 15:29:40 +0000
commitf5e690bff349d48d8493695088bf90025898bf39 (patch)
treeace30868050cac48eeaab5a3659896d30f931db4 /examples/webengine/recipebrowser/recipebrowser.pro
parentf3a8486ffb9551818c7823b9e2d3ad09dab53b56 (diff)
Add recipebrowser example
The example uses WebEngineView and Qt Quick Controls 2 items to demonstrate how to write a small hybrid QtQuick / HTML application, and also shows the usage of the new focusOnNavigationEnabled setting. Task-number: QTBUG-52999 Change-Id: I1813a658a2f46e90f9ca4e8229a8c8fbb6590248 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'examples/webengine/recipebrowser/recipebrowser.pro')
-rw-r--r--examples/webengine/recipebrowser/recipebrowser.pro14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/webengine/recipebrowser/recipebrowser.pro b/examples/webengine/recipebrowser/recipebrowser.pro
new file mode 100644
index 000000000..ea6db13fb
--- /dev/null
+++ b/examples/webengine/recipebrowser/recipebrowser.pro
@@ -0,0 +1,14 @@
+TEMPLATE = app
+
+QT += quick qml quickcontrols2 webengine
+
+cross_compile {
+ posix|qnx|linux: DEFINES += QTWEBENGINE_RECIPE_BROWSER_EMBEDDED
+}
+
+SOURCES += main.cpp
+
+RESOURCES += resources/resources.qrc
+
+target.path = $$[QT_INSTALL_EXAMPLES]/webengine/recipebrowser
+INSTALLS += target