summaryrefslogtreecommitdiffstats
path: root/cmake/QtProperties.cmake
blob: 708b60fe0dc77262f5f8217f7de5d36505694565 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

define_property(TARGET
    PROPERTY
        QT_PLUGINS
    BRIEF_DOCS
        "List of Qt plug-ins associated with a given Qt module."
    FULL_DOCS
        "This is a property on Qt modules.
        For instance, sqlite;odbc for Sql"
)

define_property(TARGET
    PROPERTY
        MODULE_PLUGIN_TYPES
    BRIEF_DOCS
        "List of plugin categories associated to the Qt module"
    FULL_DOCS
        "This is a property on Qt modules.
        For instance, sqldrivers for Sql."
)

define_property(TARGET
    PROPERTY
        QT_PLUGIN_CLASS_NAME
    BRIEF_DOCS
        "Class name of the Qt plug-in"
    FULL_DOCS
        "This is a property on Qt plug-ins.
        For instance, QICOPlugin for the qico plug-in"
)

define_property(TARGET
    PROPERTY
        QT_PLUGIN_TYPE
    BRIEF_DOCS
        "Type of the Qt plug-in"
    FULL_DOCS
        "This is a property on Qt plug-ins.
        For example, the value of the QT_PLUGIN_TYPE property on the qico plugin is \"imageformats\""
)

define_property(TARGET
    PROPERTY
        QT_MODULE
    BRIEF_DOCS
        "Qt module associated with a plug-in."
    FULL_DOCS
        "This is a property on Qt plug-ins.
        For instance, Sql for qsqlite"
)

define_property(TARGET
    PROPERTY
        QT_DEFAULT_PLUGIN
    BRIEF_DOCS
        "Indicates whether a plug-in is added by default."
    FULL_DOCS
        "This is a property on Qt plug-ins.
        It is mainly used to indicate if a plug-in should be added
        to the default set of plug-ins when building a static app -
        for instance, which QPA should be linked."
)

define_property(GLOBAL
    PROPERTY
        QT_KNOWN_PLUGINS
    BRIEF_DOCS
        ""
    FULL_DOCS
        ""
)

define_property(TARGET
    PROPERTY
        QT_QML_MODULE_TARGET_PATH
    BRIEF_DOCS
        "Specifies the target path for a qml module"
    FULL_DOCS
        "Specifies the target path for a qml module"
)

define_property(TARGET
    PROPERTY
        QT_QML_MODULE_URI
    BRIEF_DOCS
        "Specifies the URI for a qml module"
    FULL_DOCS
        "Specifies the URI for a qml module"
)

define_property(TARGET
    PROPERTY
        QT_RESOURCE_PREFIX
    BRIEF_DOCS
        "Specifies the default Qt resource prefix."
    FULL_DOCS
        "When using qt_add_resource() without a PREFIX, then prefix of this target property
        will be used."
)

define_property(TARGET
    PROPERTY
        QT_QML_MODULE_VERSION
    BRIEF_DOCS
        "Specifies the qml module's version."
    FULL_DOCS
        "Specifies the qml module's version."
)

define_property(GLOBAL
    PROPERTY
        QT_TARGETS_FOLDER
    BRIEF_DOCS
        "Name of the FOLDER for targets internally created by AUTOGEN and Qt's CMake API."
    FULL_DOCS
        "This property is used to initialize AUTOGEN_TARGETS_FOLDER and the FOLDER property of
        internal targets created by Qt's CMake commands."
)