summaryrefslogtreecommitdiffstats
path: root/src/quick/CMakeLists.txt
blob: e9e456c9499b3e70c232ceac745a8b7b425301a4 (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
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
# Generated from quick.pro.

#####################################################################
## Quick Module:
#####################################################################

qt_internal_add_module(Quick
    GENERATE_METATYPES
    PLUGIN_TYPES scenegraph
    SOURCES
        handlers/qquickdragaxis.cpp handlers/qquickdragaxis_p.h
        handlers/qquickdraghandler.cpp handlers/qquickdraghandler_p.h
        handlers/qquickhandlerpoint.cpp handlers/qquickhandlerpoint_p.h
        handlers/qquickhoverhandler.cpp handlers/qquickhoverhandler_p.h
        handlers/qquickmultipointhandler.cpp handlers/qquickmultipointhandler_p.h
        handlers/qquickmultipointhandler_p_p.h
        handlers/qquickpinchhandler.cpp handlers/qquickpinchhandler_p.h
        handlers/qquickpointerdevicehandler.cpp handlers/qquickpointerdevicehandler_p.h
        handlers/qquickpointerdevicehandler_p_p.h
        handlers/qquickpointerhandler.cpp handlers/qquickpointerhandler_p.h
        handlers/qquickpointerhandler_p_p.h
        handlers/qquickpointhandler.cpp handlers/qquickpointhandler_p.h
        handlers/qquicksinglepointhandler.cpp handlers/qquicksinglepointhandler_p.h
        handlers/qquicksinglepointhandler_p_p.h
        handlers/qquicktaphandler.cpp handlers/qquicktaphandler_p.h
        items/qquickabstractpaletteprovider_p.h
        items/qquickaccessibleattached.cpp items/qquickaccessibleattached_p.h
        items/qquickanchors.cpp items/qquickanchors_p.h
        items/qquickanchors_p_p.h
        items/qquickborderimage.cpp items/qquickborderimage_p.h
        items/qquickborderimage_p_p.h
        items/qquickclipnode.cpp items/qquickclipnode_p.h
        items/qquickcolorgroup.cpp items/qquickcolorgroup_p.h
        items/qquickevents.cpp
        items/qquickevents_p_p.h
        items/qquickflickable.cpp items/qquickflickable_p.h
        items/qquickflickable_p_p.h
        items/qquickflickablebehavior_p.h
        items/qquickfocusscope.cpp items/qquickfocusscope_p.h
        items/qquickgraphicsconfiguration.cpp items/qquickgraphicsconfiguration.h items/qquickgraphicsconfiguration_p.h
        items/qquickgraphicsdevice.cpp items/qquickgraphicsdevice.h items/qquickgraphicsdevice_p.h
        items/qquickgraphicsinfo.cpp items/qquickgraphicsinfo_p.h
        items/qquickimage.cpp items/qquickimage_p.h
        items/qquickimage_p_p.h
        items/qquickimagebase.cpp items/qquickimagebase_p.h
        items/qquickimagebase_p_p.h
        items/qquickimplicitsizeitem.cpp items/qquickimplicitsizeitem_p.h
        items/qquickimplicitsizeitem_p_p.h
        items/qquickitem.cpp items/qquickitem.h items/qquickitem_p.h
        items/qquickitemanimation.cpp items/qquickitemanimation_p.h
        items/qquickitemanimation_p_p.h
        items/qquickitemchangelistener_p.h
        items/qquickitemgrabresult.cpp items/qquickitemgrabresult.h
        items/qquickitemsmodule.cpp items/qquickitemsmodule_p.h
        items/qquickloader.cpp items/qquickloader_p.h
        items/qquickloader_p_p.h
        items/qquickmousearea.cpp items/qquickmousearea_p.h
        items/qquickmousearea_p_p.h
        items/qquickmultipointtoucharea.cpp items/qquickmultipointtoucharea_p.h
        items/qquickpainteditem.cpp items/qquickpainteditem.h items/qquickpainteditem_p.h
        items/qquickpalette.cpp items/qquickpalette_p.h
        items/qquickpalettecolorprovider.cpp items/qquickpalettecolorprovider_p.h
        items/qquickpaletteproviderprivatebase_p.h
        items/qquickpincharea.cpp items/qquickpincharea_p.h
        items/qquickpincharea_p_p.h
        items/qquickrectangle.cpp items/qquickrectangle_p.h
        items/qquickrectangle_p_p.h
        items/qquickrendercontrol.cpp items/qquickrendercontrol.h items/qquickrendercontrol_p.h
        items/qquickrendertarget.cpp items/qquickrendertarget.h items/qquickrendertarget_p.h
        items/qquickscalegrid.cpp
        items/qquickscalegrid_p_p.h
        items/qquickscreen.cpp items/qquickscreen_p.h
        items/qquickstateoperations.cpp items/qquickstateoperations_p.h
        items/qquicktext.cpp items/qquicktext_p.h
        items/qquicktext_p_p.h
        items/qquicktextcontrol.cpp items/qquicktextcontrol_p.h
        items/qquicktextcontrol_p_p.h
        items/qquicktextdocument.cpp items/qquicktextdocument.h items/qquicktextdocument_p.h
        items/qquicktextedit.cpp items/qquicktextedit_p.h
        items/qquicktextedit_p_p.h
        items/qquicktextinput.cpp items/qquicktextinput_p.h
        items/qquicktextinput_p_p.h
        items/qquicktextnode.cpp items/qquicktextnode_p.h
        items/qquicktextnodeengine.cpp items/qquicktextnodeengine_p.h
        items/qquicktextutil.cpp items/qquicktextutil_p.h
        items/qquicktranslate.cpp items/qquicktranslate_p.h
        items/qquickview.cpp items/qquickview.h items/qquickview_p.h
        items/qquickwindow.cpp items/qquickwindow.h items/qquickwindow_p.h
        items/qquickwindowattached.cpp items/qquickwindowattached_p.h
        items/qquickwindowmodule.cpp items/qquickwindowmodule_p.h
        items/qquickwindowmodule_p_p.h
        qtquickglobal.h qtquickglobal_p.h
        scenegraph/adaptations/software/qsgabstractsoftwarerenderer.cpp scenegraph/adaptations/software/qsgabstractsoftwarerenderer_p.h
        scenegraph/adaptations/software/qsgsoftwareadaptation.cpp scenegraph/adaptations/software/qsgsoftwareadaptation_p.h
        scenegraph/adaptations/software/qsgsoftwarecontext.cpp scenegraph/adaptations/software/qsgsoftwarecontext_p.h
        scenegraph/adaptations/software/qsgsoftwareglyphnode.cpp scenegraph/adaptations/software/qsgsoftwareglyphnode_p.h
        scenegraph/adaptations/software/qsgsoftwareinternalimagenode.cpp scenegraph/adaptations/software/qsgsoftwareinternalimagenode_p.h
        scenegraph/adaptations/software/qsgsoftwareinternalrectanglenode.cpp scenegraph/adaptations/software/qsgsoftwareinternalrectanglenode_p.h
        scenegraph/adaptations/software/qsgsoftwarelayer.cpp scenegraph/adaptations/software/qsgsoftwarelayer_p.h
        scenegraph/adaptations/software/qsgsoftwarepainternode.cpp scenegraph/adaptations/software/qsgsoftwarepainternode_p.h
        scenegraph/adaptations/software/qsgsoftwarepixmaprenderer.cpp scenegraph/adaptations/software/qsgsoftwarepixmaprenderer_p.h
        scenegraph/adaptations/software/qsgsoftwarepixmaptexture.cpp scenegraph/adaptations/software/qsgsoftwarepixmaptexture_p.h
        scenegraph/adaptations/software/qsgsoftwarepublicnodes.cpp scenegraph/adaptations/software/qsgsoftwarepublicnodes_p.h
        scenegraph/adaptations/software/qsgsoftwarerenderablenode.cpp scenegraph/adaptations/software/qsgsoftwarerenderablenode_p.h
        scenegraph/adaptations/software/qsgsoftwarerenderablenodeupdater.cpp scenegraph/adaptations/software/qsgsoftwarerenderablenodeupdater_p.h
        scenegraph/adaptations/software/qsgsoftwarerenderer.cpp scenegraph/adaptations/software/qsgsoftwarerenderer_p.h
        scenegraph/adaptations/software/qsgsoftwarerenderlistbuilder.cpp scenegraph/adaptations/software/qsgsoftwarerenderlistbuilder_p.h
        scenegraph/adaptations/software/qsgsoftwarerenderloop.cpp scenegraph/adaptations/software/qsgsoftwarerenderloop_p.h
        scenegraph/compressedtexture/qsgcompressedatlastexture.cpp scenegraph/compressedtexture/qsgcompressedatlastexture_p.h
        scenegraph/compressedtexture/qsgcompressedtexture.cpp scenegraph/compressedtexture/qsgcompressedtexture_p.h
        scenegraph/coreapi/qsgabstractrenderer.cpp scenegraph/coreapi/qsgabstractrenderer_p.h
        scenegraph/coreapi/qsgabstractrenderer_p_p.h
        scenegraph/coreapi/qsgbatchrenderer.cpp scenegraph/coreapi/qsgbatchrenderer_p.h
        scenegraph/coreapi/qsggeometry.cpp scenegraph/coreapi/qsggeometry.h scenegraph/coreapi/qsggeometry_p.h
        scenegraph/coreapi/qsgmaterial.cpp scenegraph/coreapi/qsgmaterial.h
        scenegraph/coreapi/qsgmaterialshader.cpp scenegraph/coreapi/qsgmaterialshader.h scenegraph/coreapi/qsgmaterialshader_p.h
        scenegraph/coreapi/qsgmaterialtype.h
        scenegraph/coreapi/qsgnode.cpp scenegraph/coreapi/qsgnode.h scenegraph/coreapi/qsgnode_p.h
        scenegraph/coreapi/qsgnodeupdater.cpp scenegraph/coreapi/qsgnodeupdater_p.h
        scenegraph/coreapi/qsgrenderer.cpp scenegraph/coreapi/qsgrenderer_p.h
        scenegraph/coreapi/qsgrendererinterface.cpp scenegraph/coreapi/qsgrendererinterface.h
        scenegraph/coreapi/qsgrendernode.cpp scenegraph/coreapi/qsgrendernode.h scenegraph/coreapi/qsgrendernode_p.h
        scenegraph/coreapi/qsgrhivisualizer.cpp scenegraph/coreapi/qsgrhivisualizer_p.h
        scenegraph/coreapi/qsgtexture.cpp scenegraph/coreapi/qsgtexture.h scenegraph/coreapi/qsgtexture_p.h
        scenegraph/coreapi/qsgtexture_platform.h
        scenegraph/qsgadaptationlayer.cpp scenegraph/qsgadaptationlayer_p.h
        scenegraph/qsgbasicglyphnode.cpp scenegraph/qsgbasicglyphnode_p.h
        scenegraph/qsgbasicinternalimagenode.cpp scenegraph/qsgbasicinternalimagenode_p.h
        scenegraph/qsgbasicinternalrectanglenode.cpp scenegraph/qsgbasicinternalrectanglenode_p.h
        scenegraph/qsgcontext.cpp scenegraph/qsgcontext_p.h
        scenegraph/qsgcontextplugin.cpp scenegraph/qsgcontextplugin_p.h
        scenegraph/qsgdefaultcontext.cpp scenegraph/qsgdefaultcontext_p.h
        scenegraph/qsgdefaultglyphnode.cpp scenegraph/qsgdefaultglyphnode_p.cpp scenegraph/qsgdefaultglyphnode_p.h
        scenegraph/qsgdefaultglyphnode_p_p.h
        scenegraph/qsgdefaultinternalimagenode.cpp scenegraph/qsgdefaultinternalimagenode_p.h
        scenegraph/qsgdefaultinternalrectanglenode.cpp scenegraph/qsgdefaultinternalrectanglenode_p.h
        scenegraph/qsgdefaultrendercontext.cpp scenegraph/qsgdefaultrendercontext_p.h
        scenegraph/qsgdistancefieldglyphnode.cpp scenegraph/qsgdistancefieldglyphnode_p.cpp scenegraph/qsgdistancefieldglyphnode_p.h
        scenegraph/qsgdistancefieldglyphnode_p_p.h
        scenegraph/qsgrenderloop.cpp scenegraph/qsgrenderloop_p.h
        scenegraph/qsgrhidistancefieldglyphcache.cpp scenegraph/qsgrhidistancefieldglyphcache_p.h
        scenegraph/qsgrhilayer.cpp scenegraph/qsgrhilayer_p.h
        scenegraph/qsgrhishadereffectnode.cpp scenegraph/qsgrhishadereffectnode_p.h
        scenegraph/qsgrhisupport.cpp scenegraph/qsgrhisupport_p.h
        scenegraph/qsgrhitextureglyphcache.cpp scenegraph/qsgrhitextureglyphcache_p.h
        scenegraph/util/qsgareaallocator.cpp scenegraph/util/qsgareaallocator_p.h
        scenegraph/util/qsgdefaultimagenode.cpp scenegraph/util/qsgdefaultimagenode_p.h
        scenegraph/util/qsgdefaultninepatchnode.cpp scenegraph/util/qsgdefaultninepatchnode_p.h
        scenegraph/util/qsgdefaultpainternode.cpp scenegraph/util/qsgdefaultpainternode_p.h
        scenegraph/util/qsgdefaultrectanglenode.cpp scenegraph/util/qsgdefaultrectanglenode_p.h
        scenegraph/util/qsgflatcolormaterial.cpp scenegraph/util/qsgflatcolormaterial.h
        scenegraph/util/qsgimagenode.cpp scenegraph/util/qsgimagenode.h
        scenegraph/util/qsgninepatchnode.cpp scenegraph/util/qsgninepatchnode.h
        scenegraph/util/qsgplaintexture.cpp scenegraph/util/qsgplaintexture_p.h
        scenegraph/util/qsgrectanglenode.cpp scenegraph/util/qsgrectanglenode.h
        scenegraph/util/qsgrhiatlastexture.cpp scenegraph/util/qsgrhiatlastexture_p.h
        scenegraph/util/qsgsimplerectnode.cpp scenegraph/util/qsgsimplerectnode.h
        scenegraph/util/qsgsimpletexturenode.cpp scenegraph/util/qsgsimpletexturenode.h
        scenegraph/util/qsgtexturematerial.cpp scenegraph/util/qsgtexturematerial.h scenegraph/util/qsgtexturematerial_p.h
        scenegraph/util/qsgtextureprovider.cpp scenegraph/util/qsgtextureprovider.h
        scenegraph/util/qsgtexturereader.cpp scenegraph/util/qsgtexturereader_p.h
        scenegraph/util/qsgvertexcolormaterial.cpp scenegraph/util/qsgvertexcolormaterial.h
        util/qquickanimation.cpp util/qquickanimation_p.h
        util/qquickanimation_p_p.h
        util/qquickanimationcontroller.cpp util/qquickanimationcontroller_p.h
        util/qquickanimator.cpp util/qquickanimator_p.h
        util/qquickanimator_p_p.h
        util/qquickanimatorcontroller.cpp util/qquickanimatorcontroller_p.h
        util/qquickanimatorjob.cpp util/qquickanimatorjob_p.h
        util/qquickapplication.cpp util/qquickapplication_p.h
        util/qquickbehavior.cpp util/qquickbehavior_p.h
        util/qquickfontloader.cpp util/qquickfontloader_p.h
        util/qquickfontmetrics.cpp util/qquickfontmetrics_p.h
        util/qquickforeignutils_p.h
        util/qquickglobal.cpp
        util/qquickimageprovider.cpp util/qquickimageprovider.h util/qquickimageprovider_p.h
        util/qquickpixmapcache.cpp util/qquickpixmapcache_p.h
        util/qquickprofiler_p.h
        util/qquickpropertychanges.cpp util/qquickpropertychanges_p.h
        util/qquicksmoothedanimation.cpp util/qquicksmoothedanimation_p.h
        util/qquicksmoothedanimation_p_p.h
        util/qquickspringanimation.cpp util/qquickspringanimation_p.h
        util/qquickstate.cpp util/qquickstate_p.h
        util/qquickstate_p_p.h
        util/qquickstatechangescript.cpp util/qquickstatechangescript_p.h
        util/qquickstategroup.cpp util/qquickstategroup_p.h
        util/qquickstyledtext.cpp util/qquickstyledtext_p.h
        util/qquicksvgparser.cpp util/qquicksvgparser_p.h
        util/qquicksystempalette.cpp util/qquicksystempalette_p.h
        util/qquicktextmetrics.cpp util/qquicktextmetrics_p.h
        util/qquicktimeline.cpp
        util/qquicktimeline_p_p.h
        util/qquicktransition.cpp util/qquicktransition_p.h
        util/qquicktransitionmanager.cpp
        util/qquicktransitionmanager_p_p.h
        util/qquickvalidator.cpp util/qquickvalidator_p.h
        util/qquickvaluetypes.cpp util/qquickvaluetypes_p.h
    DEFINES
        QT_NO_FOREACH
        QT_NO_INTEGER_EVENT_COORDINATES
        QT_NO_URL_CAST_FROM_STRING
    INCLUDE_DIRECTORIES
        ${CMAKE_CURRENT_SOURCE_DIR}
    LIBRARIES
        Qt::CorePrivate
        Qt::GuiPrivate
        Qt::QmlModelsPrivate
        Qt::QmlPrivate
    PUBLIC_LIBRARIES
        Qt::Core
        Qt::Gui
        Qt::Qml
        Qt::QmlModels
    PRIVATE_MODULE_INTERFACE
        Qt::CorePrivate
        Qt::GuiPrivate
        Qt::QmlModelsPrivate
        Qt::QmlPrivate
)

# Resources:
set(scenegraph_resource_files
    "shaders_ng/24bittextmask.frag.qsb"
    "shaders_ng/32bitcolortext.frag.qsb"
    "shaders_ng/8bittextmask.frag.qsb"
    "shaders_ng/8bittextmask_a.frag.qsb"
    "shaders_ng/distancefieldoutlinetext.frag.qsb"
    "shaders_ng/distancefieldoutlinetext.vert.qsb"
    "shaders_ng/distancefieldoutlinetext_a.frag.qsb"
    "shaders_ng/distancefieldoutlinetext_a_fwidth.frag.qsb"
    "shaders_ng/distancefieldoutlinetext_fwidth.frag.qsb"
    "shaders_ng/distancefieldshiftedtext.frag.qsb"
    "shaders_ng/distancefieldshiftedtext.vert.qsb"
    "shaders_ng/distancefieldshiftedtext_a.frag.qsb"
    "shaders_ng/distancefieldshiftedtext_a_fwidth.frag.qsb"
    "shaders_ng/distancefieldshiftedtext_fwidth.frag.qsb"
    "shaders_ng/distancefieldtext.frag.qsb"
    "shaders_ng/distancefieldtext.vert.qsb"
    "shaders_ng/distancefieldtext_a.frag.qsb"
    "shaders_ng/distancefieldtext_a_fwidth.frag.qsb"
    "shaders_ng/distancefieldtext_fwidth.frag.qsb"
    "shaders_ng/flatcolor.frag.qsb"
    "shaders_ng/flatcolor.vert.qsb"
    "shaders_ng/hiqsubpixeldistancefieldtext.frag.qsb"
    "shaders_ng/hiqsubpixeldistancefieldtext.vert.qsb"
    "shaders_ng/hiqsubpixeldistancefieldtext_a.frag.qsb"
    "shaders_ng/loqsubpixeldistancefieldtext.frag.qsb"
    "shaders_ng/loqsubpixeldistancefieldtext.vert.qsb"
    "shaders_ng/loqsubpixeldistancefieldtext_a.frag.qsb"
    "shaders_ng/opaquetexture.frag.qsb"
    "shaders_ng/opaquetexture.vert.qsb"
    "shaders_ng/outlinedtext.frag.qsb"
    "shaders_ng/outlinedtext.vert.qsb"
    "shaders_ng/outlinedtext_a.frag.qsb"
    "shaders_ng/shadereffect.frag.qsb"
    "shaders_ng/shadereffect.vert.qsb"
    "shaders_ng/smoothcolor.frag.qsb"
    "shaders_ng/smoothcolor.vert.qsb"
    "shaders_ng/smoothtexture.frag.qsb"
    "shaders_ng/smoothtexture.vert.qsb"
    "shaders_ng/sprite.frag.qsb"
    "shaders_ng/sprite.vert.qsb"
    "shaders_ng/stencilclip.frag.qsb"
    "shaders_ng/stencilclip.vert.qsb"
    "shaders_ng/styledtext.frag.qsb"
    "shaders_ng/styledtext.vert.qsb"
    "shaders_ng/styledtext_a.frag.qsb"
    "shaders_ng/textmask.frag.qsb"
    "shaders_ng/textmask.vert.qsb"
    "shaders_ng/texture.frag.qsb"
    "shaders_ng/texture.vert.qsb"
    "shaders_ng/vertexcolor.frag.qsb"
    "shaders_ng/vertexcolor.vert.qsb"
    "shaders_ng/visualization.frag.qsb"
    "shaders_ng/visualization.vert.qsb"
)

qt_internal_add_resource(Quick "scenegraph"
    PREFIX
        "/qt-project.org/scenegraph"
    BASE
        "scenegraph"
    FILES
        ${scenegraph_resource_files}
)


if(ANDROID)
    set_property(TARGET Quick APPEND PROPERTY QT_ANDROID_BUNDLED_FILES
        qml
    )
endif()

#### Keys ignored in scope 1:.:.:quick.pro:<TRUE>:
# QMLTYPES_FILENAME = "plugins.qmltypes"
# QMLTYPES_INSTALL_DIR = "$$[QT_INSTALL_QML]/QtQuick"
# QML_IMPORT_NAME = "QtQuick"
# QML_IMPORT_VERSION = "$$QT_VERSION"
# qmldir.files = "$$PWD/../imports/window/qmldir"
# qmldir.path = "$$[QT_INSTALL_QML]/QtQuick/Window"

## Scopes:
#####################################################################

qt_internal_extend_target(Quick CONDITION QT_FEATURE_qml_network
    LIBRARIES
        Qt::Network
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_opengl
    LIBRARIES
        Qt::OpenGLPrivate
    PUBLIC_LIBRARIES
        Qt::OpenGL
)

qt_internal_extend_target(Quick CONDITION MSVC
    DEFINES
        _CRT_SECURE_NO_WARNINGS
)

#### Keys ignored in scope 5:.:.:quick.pro:solaris-cc_x_:
# QMAKE_CXXFLAGS_RELEASE = "--O2"

qt_internal_extend_target(Quick CONDITION WIN32
    PUBLIC_LIBRARIES
        user32
)

qt_internal_extend_target(Quick CONDITION EXISTS "qqml_enable_gcov"
    LIBRARIES
        gcov
    COMPILE_OPTIONS
        -fno-elide-constructors
        -fprofile-arcs
        -ftest-coverage
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_quick_designer
    SOURCES
        designer/qqmldesignermetaobject.cpp designer/qqmldesignermetaobject_p.h
        designer/qquickdesignercustomobjectdata.cpp designer/qquickdesignercustomobjectdata_p.h
        designer/qquickdesignercustomparserobject.cpp designer/qquickdesignercustomparserobject_p.h
        designer/qquickdesignersupport.cpp designer/qquickdesignersupport_p.h
        designer/qquickdesignersupportitems.cpp designer/qquickdesignersupportitems_p.h
        designer/qquickdesignersupportmetainfo.cpp designer/qquickdesignersupportmetainfo_p.h
        designer/qquickdesignersupportproperties.cpp designer/qquickdesignersupportproperties_p.h
        designer/qquickdesignersupportpropertychanges.cpp designer/qquickdesignersupportpropertychanges_p.h
        designer/qquickdesignersupportstates.cpp designer/qquickdesignersupportstates_p.h
        designer/qquickdesignerwindowmanager.cpp designer/qquickdesignerwindowmanager_p.h
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_accessibility
    SOURCES
        accessible/qaccessiblequickitem.cpp accessible/qaccessiblequickitem_p.h
        accessible/qaccessiblequickview.cpp accessible/qaccessiblequickview_p.h
        accessible/qquickaccessiblefactory.cpp accessible/qquickaccessiblefactory_p.h
    LIBRARIES
        Qt::CorePrivate
        Qt::GuiPrivate
        Qt::QmlPrivate
    PUBLIC_LIBRARIES
        Qt::Core
        Qt::Gui
        Qt::Qml
    PRIVATE_MODULE_INTERFACE
        Qt::CorePrivate
        Qt::GuiPrivate
        Qt::QmlPrivate
)

#### Keys ignored in scope 10:.:.:quick.pro:prefix_build:
# INSTALLS = "qmldir"

#### Keys ignored in scope 11:.:.:quick.pro:else:
# COPIES = "qmldir"

qt_internal_extend_target(Quick CONDITION QT_FEATURE_qml_debug
    SOURCES
        util/qquickprofiler.cpp
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_shortcut
    SOURCES
        util/qquickshortcut.cpp util/qquickshortcut_p.h
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_quick_path
    SOURCES
        util/qquickpath.cpp util/qquickpath_p.h
        util/qquickpath_p_p.h
        util/qquickpathinterpolator.cpp util/qquickpathinterpolator_p.h
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_opengl OR QT_FEATURE_opengles2 OR QT_FEATURE_opengles3
    SOURCES
        items/qquickframebufferobject.cpp items/qquickframebufferobject.h
        util/qquickopenglutils.cpp util/qquickopenglutils.h
)

qt_internal_extend_target(Quick CONDITION IOS OR MACOS
    SOURCES
        scenegraph/coreapi/qsgtexture_mac.mm
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_thread
    SOURCES
        scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop_p.h
        scenegraph/qsgthreadedrenderloop.cpp scenegraph/qsgthreadedrenderloop_p.h
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_quick_sprite
    SOURCES
        items/qquickanimatedsprite.cpp items/qquickanimatedsprite_p.h
        items/qquickanimatedsprite_p_p.h
        items/qquicksprite.cpp items/qquicksprite_p.h
        items/qquickspriteengine.cpp items/qquickspriteengine_p.h
        items/qquickspritesequence.cpp items/qquickspritesequence_p.h
        items/qquickspritesequence_p_p.h
        scenegraph/adaptations/software/qsgsoftwarespritenode.cpp scenegraph/adaptations/software/qsgsoftwarespritenode_p.h
        scenegraph/qsgdefaultspritenode.cpp scenegraph/qsgdefaultspritenode_p.h
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_quick_draganddrop
    SOURCES
        items/qquickdrag.cpp items/qquickdrag_p.h
        items/qquickdroparea.cpp items/qquickdroparea_p.h
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_quick_animatedimage
    SOURCES
        items/qquickanimatedimage.cpp items/qquickanimatedimage_p.h
        items/qquickanimatedimage_p_p.h
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_quick_gridview
    SOURCES
        items/qquickgridview.cpp items/qquickgridview_p.h
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_quick_itemview
    SOURCES
        items/qquickitemview.cpp items/qquickitemview_p.h
        items/qquickitemview_p_p.h
        items/qquickitemviewfxitem.cpp
        items/qquickitemviewfxitem_p_p.h
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_quick_viewtransitions
    SOURCES
        items/qquickitemviewtransition.cpp items/qquickitemviewtransition_p.h
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_quick_listview
    SOURCES
        items/qquicklistview.cpp items/qquicklistview_p.h
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_quick_tableview
    SOURCES
        items/qquicktableview.cpp items/qquicktableview_p.h
        items/qquicktableview_p_p.h
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_quick_pathview
    SOURCES
        items/qquickpathview.cpp items/qquickpathview_p.h
        items/qquickpathview_p_p.h
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_quick_positioners
    SOURCES
        items/qquickpositioners.cpp items/qquickpositioners_p.h
        items/qquickpositioners_p_p.h
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_quick_flipable
    SOURCES
        items/qquickflipable.cpp items/qquickflipable_p.h
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_quick_repeater
    SOURCES
        items/qquickrepeater.cpp items/qquickrepeater_p.h
        items/qquickrepeater_p_p.h
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_quick_shadereffect
    SOURCES
        items/qquickshadereffect.cpp items/qquickshadereffect_p.h
        items/qquickshadereffectmesh.cpp items/qquickshadereffectmesh_p.h
        items/qquickshadereffectsource.cpp items/qquickshadereffectsource_p.h
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_quick_canvas
    SOURCES
        items/context2d/qquickcanvascontext.cpp items/context2d/qquickcanvascontext_p.h
        items/context2d/qquickcanvasitem.cpp items/context2d/qquickcanvasitem_p.h
        items/context2d/qquickcontext2d.cpp items/context2d/qquickcontext2d_p.h
        items/context2d/qquickcontext2dcommandbuffer.cpp items/context2d/qquickcontext2dcommandbuffer_p.h
        items/context2d/qquickcontext2dtexture.cpp items/context2d/qquickcontext2dtexture_p.h
        items/context2d/qquickcontext2dtile.cpp items/context2d/qquickcontext2dtile_p.h
)

qt_internal_extend_target(Quick CONDITION QT_FEATURE_wheelevent
    SOURCES
        handlers/qquickwheelhandler.cpp handlers/qquickwheelhandler_p.h
        handlers/qquickwheelhandler_p_p.h
)


qt_internal_create_tracepoints(Quick qtquick.tracepoints)
qt_internal_add_docs(Quick
    doc/qtquick.qdocconf
)


set_target_properties(Quick PROPERTIES
    QT_QML_MODULE_INSTALL_QMLTYPES TRUE
    QT_QML_MODULE_VERSION ${CMAKE_PROJECT_VERSION}
    QT_QML_MODULE_URI QtQuick
    QT_QMLTYPES_FILENAME plugins.qmltypes
    QT_QML_MODULE_INSTALL_DIR "${INSTALL_QMLDIR}/QtQuick"
)

qt6_qml_type_registration(Quick)