summaryrefslogtreecommitdiffstats
path: root/examples/webenginequick/recipebrowser/recipebrowser.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webenginequick/recipebrowser/recipebrowser.pro')
-rw-r--r--examples/webenginequick/recipebrowser/recipebrowser.pro21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/webenginequick/recipebrowser/recipebrowser.pro b/examples/webenginequick/recipebrowser/recipebrowser.pro
new file mode 100644
index 000000000..e358d00a3
--- /dev/null
+++ b/examples/webenginequick/recipebrowser/recipebrowser.pro
@@ -0,0 +1,21 @@
+TEMPLATE = app
+
+QT += quick qml quickcontrols2 webenginequick
+
+cross_compile {
+ posix|qnx|linux: DEFINES += QTWEBENGINE_RECIPE_BROWSER_EMBEDDED
+}
+
+SOURCES += main.cpp
+
+RESOURCES += resources/resources.qrc
+
+# Make sure Qt Quick compiler does not remove the source code of the .js files.
+QTQUICK_COMPILER_SKIPPED_RESOURCES = resources/resources.qrc
+
+DISTFILES += \
+ resources/pages/assets/3rdparty/MARKDOWN-LICENSE.txt \
+ resources/pages/assets/3rdparty/MARKED-LICENSE.txt
+
+target.path = $$[QT_INSTALL_EXAMPLES]/webenginequick/recipebrowser
+INSTALLS += target