aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/windows/impl/CMakeLists.txt
blob: ce812f9661ae3ddfbf5a6fc6744adc24eaf718b2 (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
# Copyright (C) 2023 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

set(qml_files
    "CheckIndicator.qml"
    "CopyAction.qml"
    "CutAction.qml"
    "DeleteAction.qml"
    "PasteAction.qml"
    "SelectAllAction.qml"
    "SwitchIndicator.qml"
    "TextEditingContextMenu.qml"
)

qt_internal_add_qml_module(QuickControls2WindowsStyleImpl
    URI "QtQuick.Controls.Windows.impl"
    VERSION "${PROJECT_VERSION}"
    PAST_MAJOR_VERSIONS 2
    CLASS_NAME QtQuickControls2WindowsStyleImplPlugin
    NO_PRIVATE_MODULE
    DEPENDENCIES
        QtQuick/auto
    PLUGIN_TARGET qtquickcontrols2windowsstyleimplplugin
    QML_FILES
        ${qml_files}
    DEFINES
        QT_NO_CAST_FROM_ASCII
        QT_NO_CAST_TO_ASCII
)