aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/material/impl/CMakeLists.txt
blob: 774655c2ff2098a8d23f5d9b53243be473598e3d (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
44
45
46
47
48
49
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

#####################################################################
## qtquickcontrols2materialstyleimplplugin Plugin:
#####################################################################

set(qml_files
    "BoxShadow.qml"
    "CheckIndicator.qml"
    "CursorDelegate.qml"
    "ElevationEffect.qml"
    "RadioIndicator.qml"
    "RectangularGlow.qml"
    "RoundedElevationEffect.qml"
    "SliderHandle.qml"
    "SwitchIndicator.qml"
)

qt_internal_add_qml_module(QuickControls2MaterialStyleImpl
    URI "QtQuick.Controls.Material.impl"
    VERSION "${PROJECT_VERSION}"
    PAST_MAJOR_VERSIONS 2
    CLASS_NAME QtQuickControls2MaterialStyleImplPlugin
    DEPENDENCIES
        QtQuick/auto
        QtQuick.Controls.impl/auto
    PLUGIN_TARGET qtquickcontrols2materialstyleimplplugin
    SOURCES
        qquickmaterialbusyindicator.cpp qquickmaterialbusyindicator_p.h
        qquickmaterialplaceholdertext.cpp qquickmaterialplaceholdertext_p.h
        qquickmaterialprogressbar.cpp qquickmaterialprogressbar_p.h
        qquickmaterialripple.cpp qquickmaterialripple_p.h
        qquickmaterialtextcontainer.cpp qquickmaterialtextcontainer_p.h
    QML_FILES
        ${qml_files}
    DEFINES
        QT_NO_CAST_FROM_ASCII
        QT_NO_CAST_TO_ASCII
    LIBRARIES
        Qt::CorePrivate
        Qt::Gui
        Qt::Qml
        Qt::QmlPrivate
        Qt::QuickControls2ImplPrivate
        Qt::Quick
        Qt::QuickPrivate
        Qt::QuickTemplates2Private
)