aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/qtqml/CMakeLists.txt
blob: 761417143abf786b13891607c725f0159c077210 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Generated from qtqml.pro.

set(module_dynamic_qml_imports
    QtQml.Models/auto
)

if (QT_FEATURE_qml_worker_script)
    list(APPEND module_dynamic_qml_imports
        QtQml.WorkerScript/auto
    )
endif()

#####################################################################
## qmlplugin Plugin:
#####################################################################

qt_internal_add_qml_module(qmlplugin
    URI "QtQml"
    VERSION "${PROJECT_VERSION}"
    DESIGNER_SUPPORTED
    CLASS_NAME QtQmlPlugin
    SKIP_TYPE_REGISTRATION
    IMPORTS ${module_dynamic_qml_imports}
    PLUGIN_OPTIONAL
    SOURCES
        plugin.cpp
    PUBLIC_LIBRARIES
        Qt::QmlModelsPrivate
        Qt::QmlPrivate
        Qt::CorePrivate # special case
)

#### Keys ignored in scope 1:.:.:qtqml.pro:<TRUE>:
# CXX_MODULE = "qml"
# DYNAMIC_QMLDIR = "module QtQml" "optional plugin qmlplugin" "classname QtQmlPlugin" "typeinfo plugins.qmltypes" "designersupported" "import QtQml.Models auto"
# QML_IMPORT_VERSION = "$$QT_VERSION"
# TARGETPATH = "QtQml"

## Scopes:
#####################################################################

#### Keys ignored in scope 2:.:.:qtqml.pro:QT_FEATURE_qml_worker_script:
# DYNAMIC_QMLDIR = "import QtQml.WorkerScript auto"