summaryrefslogtreecommitdiffstats
path: root/examples/webengine/recipebrowser/recipebrowser.pro
blob: 2c2145fc6eab7e9b82e799890562eb346f171ca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
TEMPLATE = app

QT += quick qml quickcontrols2 webengine

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]/webengine/recipebrowser
INSTALLS += target