aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols2/material/impl/CMakeLists.txt
blob: 289a4b052374bce5d3aa59c4e0e89c090be9d594 (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
#####################################################################
## qtquickcontrols2materialstyleimplplugin Plugin:
#####################################################################

set(qml_files
    "BoxShadow.qml"
    "CheckIndicator.qml"
    "CursorDelegate.qml"
    "ElevationEffect.qml"
    "RadioIndicator.qml"
    "RectangularGlow.qml"
    "SliderHandle.qml"
    "SwitchIndicator.qml"
)
set_source_files_properties(${qml_files} PROPERTIES
    QT_QML_SOURCE_VERSION "2.0"
)

qt_internal_add_qml_module(qtquickcontrols2materialstyleimplplugin
    URI "QtQuick.Controls.Material.impl"
    VERSION "${PROJECT_VERSION}"
    CLASS_NAME QtQuickControls2MaterialStyleImplPlugin
    PLUGIN_TARGET qtquickcontrols2materialstyleimplplugin
    NO_PLUGIN_OPTIONAL
    SOURCES
        qquickmaterialbusyindicator.cpp qquickmaterialbusyindicator_p.h
        qquickmaterialprogressbar.cpp qquickmaterialprogressbar_p.h
        qquickmaterialripple.cpp qquickmaterialripple_p.h
    QML_FILES
        ${qml_files}
    DEFINES
        QT_NO_CAST_FROM_ASCII
        QT_NO_CAST_TO_ASCII
    LIBRARIES
        Qt::CorePrivate
        Qt::Gui
        Qt::QmlPrivate
        Qt::QuickControls2ImplPrivate
        Qt::QuickPrivate
        Qt::QuickTemplates2Private
)