aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/qtqml/qtqml.pro
blob: d32c7ad3414cc50483a04fa90731955ddbd59da6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
TARGETPATH = QtQml
CXX_MODULE = qml
TARGET  = qmlplugin
QML_IMPORT_VERSION = $$QT_VERSION

SOURCES += \
    plugin.cpp

# In Qt6 we won't need qmlmodels-private here
QT = qml-private qmlmodels-private

DYNAMIC_QMLDIR = \
    "module QtQml" \
    "optional plugin qmlplugin" \
    "classname QtQmlPlugin" \
    "typeinfo plugins.qmltypes" \
    "designersupported" \
    "import QtQml.Models auto"

qtConfig(qml-worker-script): DYNAMIC_QMLDIR += \
    "import QtQml.WorkerScript auto"

load(qml_plugin)