blob: 3d507af070411f5b2312ec7897108f05c808a243 (
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
|
# Generated from direct2d.pro.
#####################################################################
## QWindowsDirect2DIntegrationPlugin Plugin:
#####################################################################
qt_internal_add_plugin(QWindowsDirect2DIntegrationPlugin
OUTPUT_NAME qdirect2d
TYPE platforms
SOURCES
../windows/qtwindowsglobal.h
../windows/qwin10helpers.cpp ../windows/qwin10helpers.h
../windows/qwindowsapplication.cpp ../windows/qwindowsapplication.h
../windows/qwindowscombase.h
../windows/qwindowscontext.cpp ../windows/qwindowscontext.h
../windows/qwindowscursor.cpp ../windows/qwindowscursor.h
../windows/qwindowsdialoghelpers.cpp ../windows/qwindowsdialoghelpers.h
../windows/qwindowsdropdataobject.cpp ../windows/qwindowsdropdataobject.h
../windows/qwindowsinputcontext.cpp ../windows/qwindowsinputcontext.h
../windows/qwindowsintegration.cpp ../windows/qwindowsintegration.h
../windows/qwindowsinternalmimedata.cpp ../windows/qwindowsinternalmimedata.h
../windows/qwindowskeymapper.cpp ../windows/qwindowskeymapper.h
../windows/qwindowsmenu.cpp ../windows/qwindowsmenu.h
../windows/qwindowsmime.cpp ../windows/qwindowsmime.h
../windows/qwindowsmousehandler.cpp ../windows/qwindowsmousehandler.h
../windows/qwindowsnativeinterface.cpp ../windows/qwindowsnativeinterface.h
../windows/qwindowsole.cpp ../windows/qwindowsole.h
../windows/qwindowsopengltester.cpp ../windows/qwindowsopengltester.h
../windows/qwindowspointerhandler.cpp ../windows/qwindowspointerhandler.h
../windows/qwindowsscreen.cpp ../windows/qwindowsscreen.h
../windows/qwindowsservices.cpp ../windows/qwindowsservices.h
../windows/qwindowstheme.cpp ../windows/qwindowstheme.h
../windows/qwindowsthreadpoolrunner.h
../windows/qwindowswindow.cpp ../windows/qwindowswindow.h
qwindowsdirect2dbackingstore.cpp qwindowsdirect2dbackingstore.h
qwindowsdirect2dbitmap.cpp qwindowsdirect2dbitmap.h
qwindowsdirect2dcontext.cpp qwindowsdirect2dcontext.h
qwindowsdirect2ddevicecontext.cpp qwindowsdirect2ddevicecontext.h
qwindowsdirect2dhelpers.h
qwindowsdirect2dintegration.cpp qwindowsdirect2dintegration.h
qwindowsdirect2dnativeinterface.cpp qwindowsdirect2dnativeinterface.h
qwindowsdirect2dpaintdevice.cpp qwindowsdirect2dpaintdevice.h
qwindowsdirect2dpaintengine.cpp qwindowsdirect2dpaintengine.h
qwindowsdirect2dplatformpixmap.cpp qwindowsdirect2dplatformpixmap.h
qwindowsdirect2dplatformplugin.cpp
qwindowsdirect2dwindow.cpp qwindowsdirect2dwindow.h
DEFINES
QT_NO_CAST_FROM_ASCII
QT_NO_FOREACH
INCLUDE_DIRECTORIES
../windows
LIBRARIES
advapi32
d2d1 # special case
dwrite # special case
gdi32
ole32
shell32
user32
winmm
PUBLIC_LIBRARIES
Qt::Core
Qt::CorePrivate
Qt::Gui
Qt::GuiPrivate
d3d11
dwmapi
dxgi
dxguid
imm32
oleaut32
shlwapi
version
winspool
wtsapi32
)
# Resources:
set_source_files_properties("../windows/openglblacklists/default.json"
PROPERTIES QT_RESOURCE_ALIAS "default.json"
)
set(openglblacklists_resource_files
"openglblacklists/default.json"
)
qt_internal_add_resource(QWindowsDirect2DIntegrationPlugin "openglblacklists"
PREFIX
"/qt-project.org/windows/openglblacklists"
BASE
"../windows"
FILES
${openglblacklists_resource_files}
)
#### Keys ignored in scope 1:.:.:direct2d.pro:<TRUE>:
# OTHER_FILES = "direct2d.json"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:direct2d.pro:NOT TARGET___equals____ss_QT_DEFAULT_QPA_PLUGIN:
# PLUGIN_EXTENDS = "-"
qt_internal_extend_target(QWindowsDirect2DIntegrationPlugin CONDITION QT_FEATURE_opengl AND NOT QT_FEATURE_dynamicgl
PUBLIC_LIBRARIES
opengl32
)
qt_internal_extend_target(QWindowsDirect2DIntegrationPlugin CONDITION MINGW
PUBLIC_LIBRARIES
uuid
)
qt_internal_extend_target(QWindowsDirect2DIntegrationPlugin CONDITION QT_FEATURE_opengl
SOURCES
../windows/qwindowsglcontext.cpp ../windows/qwindowsglcontext.h
../windows/qwindowsopenglcontext.h
)
qt_internal_extend_target(QWindowsDirect2DIntegrationPlugin CONDITION QT_FEATURE_systemtrayicon
SOURCES
../windows/qwindowssystemtrayicon.cpp ../windows/qwindowssystemtrayicon.h
)
qt_internal_extend_target(QWindowsDirect2DIntegrationPlugin CONDITION QT_FEATURE_vulkan
SOURCES
../windows/qwindowsvulkaninstance.cpp ../windows/qwindowsvulkaninstance.h
)
qt_internal_extend_target(QWindowsDirect2DIntegrationPlugin CONDITION QT_FEATURE_clipboard
SOURCES
../windows/qwindowsclipboard.cpp ../windows/qwindowsclipboard.h
)
qt_internal_extend_target(QWindowsDirect2DIntegrationPlugin CONDITION QT_FEATURE_clipboard AND QT_FEATURE_draganddrop
SOURCES
../windows/qwindowsdrag.cpp ../windows/qwindowsdrag.h
)
qt_internal_extend_target(QWindowsDirect2DIntegrationPlugin CONDITION QT_FEATURE_tabletevent
SOURCES
../windows/qwindowstabletsupport.cpp ../windows/qwindowstabletsupport.h
INCLUDE_DIRECTORIES
${QT_SOURCE_TREE}/src/3rdparty/wintab
)
qt_internal_extend_target(QWindowsDirect2DIntegrationPlugin CONDITION QT_FEATURE_sessionmanager
SOURCES
../windows/qwindowssessionmanager.cpp ../windows/qwindowssessionmanager.h
)
if(QT_FEATURE_imageformat_png)
# Resources:
set_source_files_properties("../windows/images/closedhandcursor_32.png"
PROPERTIES QT_RESOURCE_ALIAS "images/closedhandcursor_32.png"
)
set_source_files_properties("../windows/images/closedhandcursor_48.png"
PROPERTIES QT_RESOURCE_ALIAS "images/closedhandcursor_48.png"
)
set_source_files_properties("../windows/images/closedhandcursor_64.png"
PROPERTIES QT_RESOURCE_ALIAS "images/closedhandcursor_64.png"
)
set_source_files_properties("../windows/images/dragcopycursor_32.png"
PROPERTIES QT_RESOURCE_ALIAS "images/dragcopycursor_32.png"
)
set_source_files_properties("../windows/images/dragcopycursor_48.png"
PROPERTIES QT_RESOURCE_ALIAS "images/dragcopycursor_48.png"
)
set_source_files_properties("../windows/images/dragcopycursor_64.png"
PROPERTIES QT_RESOURCE_ALIAS "images/dragcopycursor_64.png"
)
set_source_files_properties("../windows/images/draglinkcursor_32.png"
PROPERTIES QT_RESOURCE_ALIAS "images/draglinkcursor_32.png"
)
set_source_files_properties("../windows/images/draglinkcursor_48.png"
PROPERTIES QT_RESOURCE_ALIAS "images/draglinkcursor_48.png"
)
set_source_files_properties("../windows/images/draglinkcursor_64.png"
PROPERTIES QT_RESOURCE_ALIAS "images/draglinkcursor_64.png"
)
set_source_files_properties("../windows/images/dragmovecursor_32.png"
PROPERTIES QT_RESOURCE_ALIAS "images/dragmovecursor_32.png"
)
set_source_files_properties("../windows/images/dragmovecursor_48.png"
PROPERTIES QT_RESOURCE_ALIAS "images/dragmovecursor_48.png"
)
set_source_files_properties("../windows/images/dragmovecursor_64.png"
PROPERTIES QT_RESOURCE_ALIAS "images/dragmovecursor_64.png"
)
set_source_files_properties("../windows/images/openhandcursor_32.png"
PROPERTIES QT_RESOURCE_ALIAS "images/openhandcursor_32.png"
)
set_source_files_properties("../windows/images/openhandcursor_48.png"
PROPERTIES QT_RESOURCE_ALIAS "images/openhandcursor_48.png"
)
set_source_files_properties("../windows/images/openhandcursor_64.png"
PROPERTIES QT_RESOURCE_ALIAS "images/openhandcursor_64.png"
)
set_source_files_properties("../windows/images/splithcursor_32.png"
PROPERTIES QT_RESOURCE_ALIAS "images/splithcursor_32.png"
)
set_source_files_properties("../windows/images/splithcursor_48.png"
PROPERTIES QT_RESOURCE_ALIAS "images/splithcursor_48.png"
)
set_source_files_properties("../windows/images/splithcursor_64.png"
PROPERTIES QT_RESOURCE_ALIAS "images/splithcursor_64.png"
)
set_source_files_properties("../windows/images/splitvcursor_32.png"
PROPERTIES QT_RESOURCE_ALIAS "images/splitvcursor_32.png"
)
set_source_files_properties("../windows/images/splitvcursor_48.png"
PROPERTIES QT_RESOURCE_ALIAS "images/splitvcursor_48.png"
)
set_source_files_properties("../windows/images/splitvcursor_64.png"
PROPERTIES QT_RESOURCE_ALIAS "images/splitvcursor_64.png"
)
set(cursors_resource_files
"images/closedhandcursor_32.png"
"images/closedhandcursor_48.png"
"images/closedhandcursor_64.png"
"images/dragcopycursor_32.png"
"images/dragcopycursor_48.png"
"images/dragcopycursor_64.png"
"images/draglinkcursor_32.png"
"images/draglinkcursor_48.png"
"images/draglinkcursor_64.png"
"images/dragmovecursor_32.png"
"images/dragmovecursor_48.png"
"images/dragmovecursor_64.png"
"images/openhandcursor_32.png"
"images/openhandcursor_48.png"
"images/openhandcursor_64.png"
"images/splithcursor_32.png"
"images/splithcursor_48.png"
"images/splithcursor_64.png"
"images/splitvcursor_32.png"
"images/splitvcursor_48.png"
"images/splitvcursor_64.png"
)
qt_internal_add_resource(QWindowsDirect2DIntegrationPlugin "cursors"
PREFIX
"/qt-project.org/windows/cursors"
BASE
"../windows"
FILES
${cursors_resource_files}
)
endif()
qt_internal_extend_target(QWindowsDirect2DIntegrationPlugin CONDITION QT_FEATURE_accessibility
SOURCES
../windows/uiautomation/qwindowsuiaaccessibility.cpp ../windows/uiautomation/qwindowsuiaaccessibility.h
../windows/uiautomation/qwindowsuiabaseprovider.cpp ../windows/uiautomation/qwindowsuiabaseprovider.h
../windows/uiautomation/qwindowsuiaexpandcollapseprovider.cpp ../windows/uiautomation/qwindowsuiaexpandcollapseprovider.h
../windows/uiautomation/qwindowsuiagriditemprovider.cpp ../windows/uiautomation/qwindowsuiagriditemprovider.h
../windows/uiautomation/qwindowsuiagridprovider.cpp ../windows/uiautomation/qwindowsuiagridprovider.h
../windows/uiautomation/qwindowsuiainvokeprovider.cpp ../windows/uiautomation/qwindowsuiainvokeprovider.h
../windows/uiautomation/qwindowsuiamainprovider.cpp ../windows/uiautomation/qwindowsuiamainprovider.h
../windows/uiautomation/qwindowsuiaprovidercache.cpp ../windows/uiautomation/qwindowsuiaprovidercache.h
../windows/uiautomation/qwindowsuiarangevalueprovider.cpp ../windows/uiautomation/qwindowsuiarangevalueprovider.h
../windows/uiautomation/qwindowsuiaselectionitemprovider.cpp ../windows/uiautomation/qwindowsuiaselectionitemprovider.h
../windows/uiautomation/qwindowsuiaselectionprovider.cpp ../windows/uiautomation/qwindowsuiaselectionprovider.h
../windows/uiautomation/qwindowsuiatableitemprovider.cpp ../windows/uiautomation/qwindowsuiatableitemprovider.h
../windows/uiautomation/qwindowsuiatableprovider.cpp ../windows/uiautomation/qwindowsuiatableprovider.h
../windows/uiautomation/qwindowsuiatextprovider.cpp ../windows/uiautomation/qwindowsuiatextprovider.h
../windows/uiautomation/qwindowsuiatextrangeprovider.cpp ../windows/uiautomation/qwindowsuiatextrangeprovider.h
../windows/uiautomation/qwindowsuiatoggleprovider.cpp ../windows/uiautomation/qwindowsuiatoggleprovider.h
../windows/uiautomation/qwindowsuiautils.cpp ../windows/uiautomation/qwindowsuiautils.h
../windows/uiautomation/qwindowsuiavalueprovider.cpp ../windows/uiautomation/qwindowsuiavalueprovider.h
../windows/uiautomation/qwindowsuiawindowprovider.cpp ../windows/uiautomation/qwindowsuiawindowprovider.h
)
qt_internal_extend_target(QWindowsDirect2DIntegrationPlugin CONDITION MINGW AND QT_FEATURE_accessibility
PUBLIC_LIBRARIES
uuid
)
# begin special case
if (MINGW)
set_source_files_properties(../windows/qwindowspointerhandler.cpp PROPERTIES SKIP_PRECOMPILE_HEADERS ON)
endif()
# end special case
|