aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.prev_CMakeLists.txt23
-rw-r--r--CMakeLists.txt28
-rw-r--r--cmake/QtDeclarativeSetup.cmake48
-rw-r--r--coin/module_config.yaml13
-rw-r--r--examples/.prev_CMakeLists.txt13
-rw-r--r--examples/CMakeLists.txt17
-rw-r--r--examples/qml/.prev_CMakeLists.txt12
-rw-r--r--examples/qml/CMakeLists.txt12
-rw-r--r--examples/qml/networkaccessmanagerfactory/CMakeLists.txt48
-rw-r--r--examples/qml/qmlextensionplugins/CMakeLists.txt47
-rw-r--r--examples/qml/referenceexamples/CMakeLists.txt17
-rw-r--r--examples/qml/referenceexamples/adding/CMakeLists.txt51
-rw-r--r--examples/qml/referenceexamples/attached/CMakeLists.txt54
-rw-r--r--examples/qml/referenceexamples/binding/CMakeLists.txt55
-rw-r--r--examples/qml/referenceexamples/coercion/CMakeLists.txt52
-rw-r--r--examples/qml/referenceexamples/default/CMakeLists.txt52
-rw-r--r--examples/qml/referenceexamples/extended/CMakeLists.txt55
-rw-r--r--examples/qml/referenceexamples/grouped/CMakeLists.txt54
-rw-r--r--examples/qml/referenceexamples/methods/CMakeLists.txt52
-rw-r--r--examples/qml/referenceexamples/properties/CMakeLists.txt52
-rw-r--r--examples/qml/referenceexamples/signal/CMakeLists.txt54
-rw-r--r--examples/qml/referenceexamples/valuesource/CMakeLists.txt55
-rw-r--r--examples/qml/shell/CMakeLists.txt29
-rw-r--r--examples/qml/tutorials/CMakeLists.txt5
-rw-r--r--examples/qml/tutorials/extending-qml/.prev_CMakeLists.txt8
-rw-r--r--examples/qml/tutorials/extending-qml/CMakeLists.txt8
-rw-r--r--examples/qml/tutorials/extending-qml/chapter1-basics/CMakeLists.txt55
-rw-r--r--examples/qml/tutorials/extending-qml/chapter2-methods/CMakeLists.txt55
-rw-r--r--examples/qml/tutorials/extending-qml/chapter3-bindings/CMakeLists.txt55
-rw-r--r--examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/CMakeLists.txt56
-rw-r--r--examples/qml/tutorials/extending-qml/chapter5-listproperties/CMakeLists.txt56
-rw-r--r--examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt43
-rw-r--r--examples/qml/tutorials/extending-qml/chapter6-plugins/CMakeLists.txt44
-rw-r--r--examples/qml/tutorials/extending-qml/chapter6-plugins/import/CMakeLists.txt50
-rw-r--r--examples/qml/xmlhttprequest/CMakeLists.txt105
-rw-r--r--examples/qmltest/CMakeLists.txt3
-rw-r--r--examples/qmltest/qmltest/.prev_CMakeLists.txt36
-rw-r--r--examples/qmltest/qmltest/CMakeLists.txt45
-rw-r--r--examples/quick/.prev_CMakeLists.txt40
-rw-r--r--examples/quick/CMakeLists.txt40
-rw-r--r--examples/quick/animation/CMakeLists.txt136
-rw-r--r--examples/quick/canvas/CMakeLists.txt127
-rw-r--r--examples/quick/customitems/.prev_CMakeLists.txt4
-rw-r--r--examples/quick/customitems/CMakeLists.txt4
-rw-r--r--examples/quick/customitems/dialcontrol/CMakeLists.txt53
-rw-r--r--examples/quick/customitems/maskedmousearea/CMakeLists.txt58
-rw-r--r--examples/quick/customitems/painteditem/CMakeLists.txt63
-rw-r--r--examples/quick/delegatechooser/CMakeLists.txt117
-rw-r--r--examples/quick/draganddrop/CMakeLists.txt122
-rw-r--r--examples/quick/embeddedinwidgets/CMakeLists.txt47
-rw-r--r--examples/quick/externaldraganddrop/CMakeLists.txt118
-rw-r--r--examples/quick/imageelements/CMakeLists.txt140
-rw-r--r--examples/quick/imageprovider/CMakeLists.txt40
-rw-r--r--examples/quick/imageresponseprovider/CMakeLists.txt40
-rw-r--r--examples/quick/keyinteraction/CMakeLists.txt54
-rw-r--r--examples/quick/layouts/CMakeLists.txt46
-rw-r--r--examples/quick/localstorage/CMakeLists.txt3
-rw-r--r--examples/quick/localstorage/localstorage/CMakeLists.txt122
-rw-r--r--examples/quick/models/CMakeLists.txt5
-rw-r--r--examples/quick/models/abstractitemmodel/CMakeLists.txt47
-rw-r--r--examples/quick/models/objectlistmodel/CMakeLists.txt47
-rw-r--r--examples/quick/models/stringlistmodel/CMakeLists.txt46
-rw-r--r--examples/quick/mousearea/CMakeLists.txt47
-rw-r--r--examples/quick/particles/.prev_CMakeLists.txt8
-rw-r--r--examples/quick/particles/CMakeLists.txt8
-rw-r--r--examples/quick/particles/affectors/CMakeLists.txt263
-rw-r--r--examples/quick/particles/customparticle/CMakeLists.txt255
-rw-r--r--examples/quick/particles/emitters/CMakeLists.txt259
-rw-r--r--examples/quick/particles/imageparticle/CMakeLists.txt259
-rw-r--r--examples/quick/particles/itemparticle/CMakeLists.txt263
-rw-r--r--examples/quick/particles/system/CMakeLists.txt257
-rw-r--r--examples/quick/positioners/CMakeLists.txt119
-rw-r--r--examples/quick/quick-accessibility/CMakeLists.txt49
-rw-r--r--examples/quick/quickwidgets/CMakeLists.txt4
-rw-r--r--examples/quick/quickwidgets/qquickviewcomparison/CMakeLists.txt59
-rw-r--r--examples/quick/quickwidgets/quickwidget/CMakeLists.txt59
-rw-r--r--examples/quick/rendercontrol/CMakeLists.txt49
-rw-r--r--examples/quick/righttoleft/CMakeLists.txt120
-rw-r--r--examples/quick/scenegraph/.prev_CMakeLists.txt25
-rw-r--r--examples/quick/scenegraph/CMakeLists.txt24
-rw-r--r--examples/quick/scenegraph/customgeometry/CMakeLists.txt53
-rw-r--r--examples/quick/scenegraph/d3d11underqml/CMakeLists.txt59
-rw-r--r--examples/quick/scenegraph/fboitem/CMakeLists.txt62
-rw-r--r--examples/quick/scenegraph/graph/CMakeLists.txt60
-rw-r--r--examples/quick/scenegraph/metaltextureimport/CMakeLists.txt64
-rw-r--r--examples/quick/scenegraph/metalunderqml/CMakeLists.txt64
-rw-r--r--examples/quick/scenegraph/openglunderqml/CMakeLists.txt55
-rw-r--r--examples/quick/scenegraph/rendernode/CMakeLists.txt70
-rw-r--r--examples/quick/scenegraph/sgengine/CMakeLists.txt116
-rw-r--r--examples/quick/scenegraph/simplematerial/CMakeLists.txt53
-rw-r--r--examples/quick/scenegraph/textureinthread/CMakeLists.txt61
-rw-r--r--examples/quick/scenegraph/threadedanimation/CMakeLists.txt56
-rw-r--r--examples/quick/scenegraph/twotextureproviders/CMakeLists.txt61
-rw-r--r--examples/quick/scenegraph/vulkanunderqml/CMakeLists.txt57
-rw-r--r--examples/quick/shadereffects/CMakeLists.txt61
-rw-r--r--examples/quick/shapes/CMakeLists.txt161
-rw-r--r--examples/quick/tableview/CMakeLists.txt4
-rw-r--r--examples/quick/tableview/gameoflife/CMakeLists.txt56
-rw-r--r--examples/quick/tableview/pixelator/CMakeLists.txt56
-rw-r--r--examples/quick/tableview/pixelator/pixelator.pro1
-rw-r--r--examples/quick/text/CMakeLists.txt136
-rw-r--r--examples/quick/textureprovider/CMakeLists.txt50
-rw-r--r--examples/quick/threading/CMakeLists.txt122
-rw-r--r--examples/quick/touchinteraction/CMakeLists.txt139
-rw-r--r--examples/quick/tutorials/CMakeLists.txt2
-rw-r--r--examples/quick/views/CMakeLists.txt162
-rw-r--r--examples/quick/window/CMakeLists.txt120
-rw-r--r--src/CMakeLists.txt56
-rw-r--r--src/imports/CMakeLists.txt42
-rw-r--r--src/imports/builtins/.prev_CMakeLists.txt2
-rw-r--r--src/imports/builtins/CMakeLists.txt18
-rw-r--r--src/imports/folderlistmodel/CMakeLists.txt26
-rw-r--r--src/imports/labsanimation/CMakeLists.txt24
-rw-r--r--src/imports/labsmodels/CMakeLists.txt37
-rw-r--r--src/imports/layouts/CMakeLists.txt33
-rw-r--r--src/imports/localstorage/CMakeLists.txt26
-rw-r--r--src/imports/models/CMakeLists.txt23
-rw-r--r--src/imports/particles/CMakeLists.txt25
-rw-r--r--src/imports/qtqml/.prev_CMakeLists.txt41
-rw-r--r--src/imports/qtqml/CMakeLists.txt42
-rw-r--r--src/imports/qtquick2/CMakeLists.txt36
-rw-r--r--src/imports/settings/CMakeLists.txt24
-rw-r--r--src/imports/shapes/CMakeLists.txt25
-rw-r--r--src/imports/sharedimage/CMakeLists.txt29
-rw-r--r--src/imports/statemachine/CMakeLists.txt30
-rw-r--r--src/imports/testlib/.prev_CMakeLists.txt52
-rw-r--r--src/imports/testlib/CMakeLists.txt57
-rw-r--r--src/imports/wavefrontmesh/CMakeLists.txt25
-rw-r--r--src/imports/window/CMakeLists.txt26
-rw-r--r--src/imports/workerscript/CMakeLists.txt23
-rw-r--r--src/particles/CMakeLists.txt135
-rw-r--r--src/plugins/CMakeLists.txt8
-rw-r--r--src/plugins/qmltooling/CMakeLists.txt24
-rw-r--r--src/plugins/qmltooling/packetprotocol/CMakeLists.txt16
-rw-r--r--src/plugins/qmltooling/qmldbg_debugger/CMakeLists.txt26
-rw-r--r--src/plugins/qmltooling/qmldbg_inspector/CMakeLists.txt28
-rw-r--r--src/plugins/qmltooling/qmldbg_local/CMakeLists.txt18
-rw-r--r--src/plugins/qmltooling/qmldbg_messages/CMakeLists.txt20
-rw-r--r--src/plugins/qmltooling/qmldbg_native/CMakeLists.txt19
-rw-r--r--src/plugins/qmltooling/qmldbg_nativedebugger/CMakeLists.txt20
-rw-r--r--src/plugins/qmltooling/qmldbg_preview/CMakeLists.txt31
-rw-r--r--src/plugins/qmltooling/qmldbg_profiler/CMakeLists.txt23
-rw-r--r--src/plugins/qmltooling/qmldbg_quickprofiler/CMakeLists.txt23
-rw-r--r--src/plugins/qmltooling/qmldbg_server/CMakeLists.txt19
-rw-r--r--src/plugins/qmltooling/qmldbg_tcp/CMakeLists.txt19
-rw-r--r--src/plugins/scenegraph/.prev_CMakeLists.txt5
-rw-r--r--src/plugins/scenegraph/CMakeLists.txt5
-rw-r--r--src/plugins/scenegraph/openvg/CMakeLists.txt65
-rw-r--r--src/qml/.prev_CMakeLists.txt619
-rw-r--r--src/qml/CMakeLists.txt628
-rw-r--r--src/qml/Qt6QmlBuildInternals.cmake174
-rw-r--r--src/qml/Qt6QmlMacros.cmake583
-rw-r--r--src/qml/configure.cmake189
-rw-r--r--src/qml/qml/qqmlengine.cpp2
-rw-r--r--src/qml/qml/qqmlparserstatus.cpp2
-rw-r--r--src/qmldebug/CMakeLists.txt39
-rw-r--r--src/qmldevtools/.prev_CMakeLists.txt90
-rw-r--r--src/qmldevtools/CMakeLists.txt137
-rw-r--r--src/qmlmodels/CMakeLists.txt78
-rw-r--r--src/qmlmodels/configure.cmake39
-rw-r--r--src/qmltest/.prev_CMakeLists.txt52
-rw-r--r--src/qmltest/CMakeLists.txt53
-rw-r--r--src/qmltyperegistrar/.prev_CMakeLists.txt39
-rw-r--r--src/qmltyperegistrar/CMakeLists.txt40
-rw-r--r--src/qmltyperegistrar/qmltyperegistrar.cpp35
-rw-r--r--src/qmlworkerscript/.prev_CMakeLists.txt114
-rw-r--r--src/qmlworkerscript/CMakeLists.txt114
-rw-r--r--src/quick/CMakeLists.txt616
-rw-r--r--src/quick/configure.cmake109
-rw-r--r--src/quickshapes/CMakeLists.txt80
-rw-r--r--src/quickwidgets/CMakeLists.txt33
-rw-r--r--tests/.prev_CMakeLists.txt7
-rw-r--r--tests/CMakeLists.txt7
-rw-r--r--tests/auto/.prev_CMakeLists.txt18
-rw-r--r--tests/auto/CMakeLists.txt20
-rw-r--r--tests/auto/cmake/CMakeLists.txt2
-rw-r--r--tests/auto/particles/CMakeLists.txt27
-rw-r--r--tests/auto/particles/qquickage/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickangleddirection/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickcumulativedirection/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickcustomaffector/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickcustomparticle/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickellipseextruder/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickfriction/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickgravity/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickgroupgoal/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickimageparticle/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickitemparticle/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquicklineextruder/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickmaskextruder/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickparticlegroup/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickparticlesystem/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickpointattractor/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickpointdirection/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickrectangleextruder/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickspritegoal/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquicktargetdirection/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquicktrailemitter/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickturbulence/CMakeLists.txt40
-rw-r--r--tests/auto/particles/qquickwander/CMakeLists.txt40
-rw-r--r--tests/auto/qml/.prev_CMakeLists.txt82
-rw-r--r--tests/auto/qml/CMakeLists.txt88
-rw-r--r--tests/auto/qml/animation/CMakeLists.txt7
-rw-r--r--tests/auto/qml/animation/qabstractanimationjob/CMakeLists.txt16
-rw-r--r--tests/auto/qml/animation/qanimationgroupjob/CMakeLists.txt16
-rw-r--r--tests/auto/qml/animation/qparallelanimationgroupjob/CMakeLists.txt18
-rw-r--r--tests/auto/qml/animation/qpauseanimationjob/CMakeLists.txt17
-rw-r--r--tests/auto/qml/animation/qsequentialanimationgroupjob/CMakeLists.txt16
-rw-r--r--tests/auto/qml/bindingdependencyapi/CMakeLists.txt39
-rw-r--r--tests/auto/qml/debugger/CMakeLists.txt22
-rw-r--r--tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt45
-rw-r--r--tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt35
-rw-r--r--tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt39
-rw-r--r--tests/auto/qml/debugger/qqmldebuggingenabler/CMakeLists.txt4
-rw-r--r--tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt38
-rw-r--r--tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/.prev_CMakeLists.txt23
-rw-r--r--tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt27
-rw-r--r--tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt44
-rw-r--r--tests/auto/qml/debugger/qqmldebugjsserver/.prev_CMakeLists.txt23
-rw-r--r--tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt25
-rw-r--r--tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt38
-rw-r--r--tests/auto/qml/debugger/qqmldebugprocess/CMakeLists.txt4
-rw-r--r--tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocess/CMakeLists.txt16
-rw-r--r--tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/.prev_CMakeLists.txt15
-rw-r--r--tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/CMakeLists.txt19
-rw-r--r--tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt48
-rw-r--r--tests/auto/qml/debugger/qqmldebugtranslationservice/CMakeLists.txt45
-rw-r--r--tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt44
-rw-r--r--tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt41
-rw-r--r--tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt36
-rw-r--r--tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt41
-rw-r--r--tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt20
-rw-r--r--tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt45
-rw-r--r--tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt43
-rw-r--r--tests/auto/qml/debugger/qv4debugger/CMakeLists.txt24
-rw-r--r--tests/auto/qml/ecmascripttests/CMakeLists.txt24
-rw-r--r--tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt22
m---------tests/auto/qml/ecmascripttests/test2620
-rw-r--r--tests/auto/qml/parserstress/CMakeLists.txt25
-rw-r--r--tests/auto/qml/qjsengine/CMakeLists.txt55
-rw-r--r--tests/auto/qml/qjsonbinding/CMakeLists.txt37
-rw-r--r--tests/auto/qml/qjsvalue/CMakeLists.txt19
-rw-r--r--tests/auto/qml/qjsvalueiterator/CMakeLists.txt15
-rw-r--r--tests/auto/qml/qmlcachegen/CMakeLists.txt124
-rw-r--r--tests/auto/qml/qmldiskcache/.prev_CMakeLists.txt32
-rw-r--r--tests/auto/qml/qmldiskcache/CMakeLists.txt43
-rw-r--r--tests/auto/qml/qmlformat/CMakeLists.txt37
-rw-r--r--tests/auto/qml/qmllint/CMakeLists.txt35
-rw-r--r--tests/auto/qml/qmlplugindump/CMakeLists.txt35
-rw-r--r--tests/auto/qml/qmlplugindump/data/dumper/Dummy/.prev_CMakeLists.txt29
-rw-r--r--tests/auto/qml/qmlplugindump/data/dumper/Dummy/CMakeLists.txt36
-rw-r--r--tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/.prev_CMakeLists.txt29
-rw-r--r--tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/CMakeLists.txt36
-rw-r--r--tests/auto/qml/qmlplugindump/data/dumper/Imports/.prev_CMakeLists.txt29
-rw-r--r--tests/auto/qml/qmlplugindump/data/dumper/Imports/CMakeLists.txt36
-rw-r--r--tests/auto/qml/qmlplugindump/data/dumper/Versions/.prev_CMakeLists.txt29
-rw-r--r--tests/auto/qml/qmlplugindump/data/dumper/Versions/CMakeLists.txt36
-rw-r--r--tests/auto/qml/qqmlapplicationengine/CMakeLists.txt56
-rw-r--r--tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt33
-rw-r--r--tests/auto/qml/qqmlbinding/CMakeLists.txt39
-rw-r--r--tests/auto/qml/qqmlchangeset/CMakeLists.txt19
-rw-r--r--tests/auto/qml/qqmlcomponent/CMakeLists.txt54
-rw-r--r--tests/auto/qml/qqmlconnections/CMakeLists.txt39
-rw-r--r--tests/auto/qml/qqmlconsole/CMakeLists.txt37
-rw-r--r--tests/auto/qml/qqmlcontext/CMakeLists.txt38
-rw-r--r--tests/auto/qml/qqmlcpputils/CMakeLists.txt18
-rw-r--r--tests/auto/qml/qqmldirparser/CMakeLists.txt37
-rw-r--r--tests/auto/qml/qqmlecmascript/.prev_CMakeLists.txt62
-rw-r--r--tests/auto/qml/qqmlecmascript/CMakeLists.txt69
-rw-r--r--tests/auto/qml/qqmlengine/CMakeLists.txt58
-rw-r--r--tests/auto/qml/qqmlenginecleanup/CMakeLists.txt30
-rw-r--r--tests/auto/qml/qqmlenginecleanup/CustomModuleImport/.prev_CMakeLists.txt33
-rw-r--r--tests/auto/qml/qqmlenginecleanup/CustomModuleImport/CMakeLists.txt40
-rw-r--r--tests/auto/qml/qqmlerror/CMakeLists.txt38
-rw-r--r--tests/auto/qml/qqmlexpression/CMakeLists.txt38
-rw-r--r--tests/auto/qml/qqmlextensionplugin/CMakeLists.txt16
-rw-r--r--tests/auto/qml/qqmlfile/CMakeLists.txt16
-rw-r--r--tests/auto/qml/qqmlfileselector/CMakeLists.txt38
-rw-r--r--tests/auto/qml/qqmlglobal/CMakeLists.txt18
-rw-r--r--tests/auto/qml/qqmlimport/CMakeLists.txt50
-rw-r--r--tests/auto/qml/qqmlincubator/CMakeLists.txt40
-rw-r--r--tests/auto/qml/qqmlinfo/CMakeLists.txt38
-rw-r--r--tests/auto/qml/qqmlinstantiator/CMakeLists.txt40
-rw-r--r--tests/auto/qml/qqmlitemmodels/CMakeLists.txt41
-rw-r--r--tests/auto/qml/qqmllanguage/CMakeLists.txt71
-rw-r--r--tests/auto/qml/qqmllistcompositor/CMakeLists.txt20
-rw-r--r--tests/auto/qml/qqmllistmodel/CMakeLists.txt40
-rw-r--r--tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt40
-rw-r--r--tests/auto/qml/qqmllistreference/CMakeLists.txt39
-rw-r--r--tests/auto/qml/qqmllocale/CMakeLists.txt37
-rw-r--r--tests/auto/qml/qqmlmetaobject/CMakeLists.txt37
-rw-r--r--tests/auto/qml/qqmlmetatype/CMakeLists.txt63
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/.prev_CMakeLists.txt91
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt109
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/.prev_CMakeLists.txt24
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/CMakeLists.txt29
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/.prev_CMakeLists.txt24
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/CMakeLists.txt29
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/moduleWithQmlSingleton/.prev_CMakeLists.txt27
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/moduleWithQmlSingleton/CMakeLists.txt33
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/nestedPlugin/.prev_CMakeLists.txt21
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/nestedPlugin/CMakeLists.txt28
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/nonstrictModule/.prev_CMakeLists.txt24
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/nonstrictModule/CMakeLists.txt29
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2.1/.prev_CMakeLists.txt24
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt30
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/.prev_CMakeLists.txt21
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/CMakeLists.txt29
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2.2/.prev_CMakeLists.txt24
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt30
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2/.prev_CMakeLists.txt24
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt30
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/.prev_CMakeLists.txt22
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/CMakeLists.txt30
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin/.prev_CMakeLists.txt24
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin/CMakeLists.txt29
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/.prev_CMakeLists.txt21
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/CMakeLists.txt28
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/pluginMixed/.prev_CMakeLists.txt24
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/pluginMixed/CMakeLists.txt29
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/pluginVersion/.prev_CMakeLists.txt24
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/pluginVersion/CMakeLists.txt29
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/.prev_CMakeLists.txt24
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/CMakeLists.txt29
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/.prev_CMakeLists.txt24
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/CMakeLists.txt29
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/.prev_CMakeLists.txt24
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/CMakeLists.txt29
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/preemptiveModule/.prev_CMakeLists.txt24
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/preemptiveModule/CMakeLists.txt29
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/protectedModule/.prev_CMakeLists.txt24
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/protectedModule/CMakeLists.txt29
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/strictModule.2/.prev_CMakeLists.txt24
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/strictModule.2/CMakeLists.txt30
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/strictModule/.prev_CMakeLists.txt24
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/strictModule/CMakeLists.txt29
-rw-r--r--tests/auto/qml/qqmlnotifier/CMakeLists.txt36
-rw-r--r--tests/auto/qml/qqmlobjectmodel/CMakeLists.txt19
-rw-r--r--tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt18
-rw-r--r--tests/auto/qml/qqmlparser/CMakeLists.txt44
-rw-r--r--tests/auto/qml/qqmlpromise/CMakeLists.txt44
-rw-r--r--tests/auto/qml/qqmlproperty/CMakeLists.txt51
-rw-r--r--tests/auto/qml/qqmlpropertycache/CMakeLists.txt38
-rw-r--r--tests/auto/qml/qqmlpropertymap/CMakeLists.txt39
-rw-r--r--tests/auto/qml/qqmlqt/CMakeLists.txt39
-rw-r--r--tests/auto/qml/qqmlsettings/CMakeLists.txt36
-rw-r--r--tests/auto/qml/qqmlsqldatabase/CMakeLists.txt40
-rw-r--r--tests/auto/qml/qqmlstatemachine/CMakeLists.txt32
-rw-r--r--tests/auto/qml/qqmltablemodel/CMakeLists.txt39
-rw-r--r--tests/auto/qml/qqmltimer/CMakeLists.txt19
-rw-r--r--tests/auto/qml/qqmltranslation/.prev_CMakeLists.txt54
-rw-r--r--tests/auto/qml/qqmltranslation/CMakeLists.txt68
-rw-r--r--tests/auto/qml/qqmltypeloader/CMakeLists.txt52
-rw-r--r--tests/auto/qml/qqmltypeloader/SlowImport/.prev_CMakeLists.txt23
-rw-r--r--tests/auto/qml/qqmltypeloader/SlowImport/CMakeLists.txt30
-rw-r--r--tests/auto/qml/qqmlvaluetypeproviders/CMakeLists.txt40
-rw-r--r--tests/auto/qml/qqmlvaluetypes/CMakeLists.txt43
-rw-r--r--tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt40
-rw-r--r--tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt53
-rw-r--r--tests/auto/qml/qquickfolderlistmodel/CMakeLists.txt56
-rw-r--r--tests/auto/qml/qquickworkerscript/CMakeLists.txt39
-rw-r--r--tests/auto/qml/qrcqml/CMakeLists.txt90
-rw-r--r--tests/auto/qml/qtqmlmodules/CMakeLists.txt38
-rw-r--r--tests/auto/qml/qv4assembler/CMakeLists.txt36
-rw-r--r--tests/auto/qml/qv4identifiertable/CMakeLists.txt17
-rw-r--r--tests/auto/qml/qv4mm/CMakeLists.txt37
-rw-r--r--tests/auto/qml/qv4regexp/CMakeLists.txt17
-rw-r--r--tests/auto/qml/qwidgetsinqml/CMakeLists.txt20
-rw-r--r--tests/auto/qml/v4misc/CMakeLists.txt17
-rw-r--r--tests/auto/qmldevtools/CMakeLists.txt5
-rw-r--r--tests/auto/qmldevtools/compile/CMakeLists.txt30
-rw-r--r--tests/auto/qmltest-blacklist/shortcut/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/CMakeLists.txt30
-rw-r--r--tests/auto/qmltest/animatedimage/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/animations/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/borderimage/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/buttonclick/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/createbenchmark/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/events/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/fontloader/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/gradient/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/image/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/itemgrabber/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/layout/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/listmodel/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/listview/CMakeLists.txt15
-rw-r--r--tests/auto/qmltest/objectmodel/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/pathview/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/pixel/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/positioners/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/qqmlbinding/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/qtbug46798/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/rectangle/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/selftests/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/shadersource/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/stability/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/statemachine/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/text/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/textedit/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/textinput/CMakeLists.txt12
-rw-r--r--tests/auto/qmltest/window/CMakeLists.txt12
-rw-r--r--tests/auto/quick/.prev_CMakeLists.txt68
-rw-r--r--tests/auto/quick/CMakeLists.txt68
-rw-r--r--tests/auto/quick/drawingmodes/CMakeLists.txt42
-rw-r--r--tests/auto/quick/examples/CMakeLists.txt24
-rw-r--r--tests/auto/quick/geometry/CMakeLists.txt19
-rw-r--r--tests/auto/quick/nodes/CMakeLists.txt19
-rw-r--r--tests/auto/quick/nokeywords/CMakeLists.txt25
-rw-r--r--tests/auto/quick/pointerhandlers/CMakeLists.txt14
-rw-r--r--tests/auto/quick/pointerhandlers/flickableinterop/CMakeLists.txt47
-rw-r--r--tests/auto/quick/pointerhandlers/multipointtoucharea_interop/CMakeLists.txt47
-rw-r--r--tests/auto/quick/pointerhandlers/qquickdraghandler/CMakeLists.txt47
-rw-r--r--tests/auto/quick/pointerhandlers/qquickhoverhandler/CMakeLists.txt47
-rw-r--r--tests/auto/quick/pointerhandlers/qquickpinchhandler/CMakeLists.txt47
-rw-r--r--tests/auto/quick/pointerhandlers/qquickpointerhandler/CMakeLists.txt44
-rw-r--r--tests/auto/quick/pointerhandlers/qquickpointhandler/CMakeLists.txt47
-rw-r--r--tests/auto/quick/pointerhandlers/qquicktaphandler/CMakeLists.txt44
-rw-r--r--tests/auto/quick/pointerhandlers/qquickwheelhandler/CMakeLists.txt47
-rw-r--r--tests/auto/quick/propertyrequirements/CMakeLists.txt16
-rw-r--r--tests/auto/quick/qquickaccessible/CMakeLists.txt43
-rw-r--r--tests/auto/quick/qquickanchors/CMakeLists.txt44
-rw-r--r--tests/auto/quick/qquickanimatedimage/CMakeLists.txt41
-rw-r--r--tests/auto/quick/qquickanimatedsprite/CMakeLists.txt44
-rw-r--r--tests/auto/quick/qquickanimationcontroller/CMakeLists.txt27
-rw-r--r--tests/auto/quick/qquickanimations/CMakeLists.txt45
-rw-r--r--tests/auto/quick/qquickanimators/CMakeLists.txt19
-rw-r--r--tests/auto/quick/qquickapplication/CMakeLists.txt44
-rw-r--r--tests/auto/quick/qquickbehaviors/CMakeLists.txt42
-rw-r--r--tests/auto/quick/qquickborderimage/CMakeLists.txt46
-rw-r--r--tests/auto/quick/qquickboundaryrule/CMakeLists.txt45
-rw-r--r--tests/auto/quick/qquickcanvasitem/CMakeLists.txt36
-rw-r--r--tests/auto/quick/qquickdesignersupport/CMakeLists.txt47
-rw-r--r--tests/auto/quick/qquickdrag/CMakeLists.txt20
-rw-r--r--tests/auto/quick/qquickdroparea/CMakeLists.txt48
-rw-r--r--tests/auto/quick/qquickdynamicpropertyanimation/CMakeLists.txt37
-rw-r--r--tests/auto/quick/qquickflickable/CMakeLists.txt44
-rw-r--r--tests/auto/quick/qquickflipable/CMakeLists.txt39
-rw-r--r--tests/auto/quick/qquickfocusscope/CMakeLists.txt44
-rw-r--r--tests/auto/quick/qquickfontloader/CMakeLists.txt41
-rw-r--r--tests/auto/quick/qquickfontloader_static/CMakeLists.txt42
-rw-r--r--tests/auto/quick/qquickfontmetrics/CMakeLists.txt17
-rw-r--r--tests/auto/quick/qquickframebufferobject/CMakeLists.txt39
-rw-r--r--tests/auto/quick/qquickgraphicsinfo/CMakeLists.txt39
-rw-r--r--tests/auto/quick/qquickgridview/CMakeLists.txt49
-rw-r--r--tests/auto/quick/qquickimage/CMakeLists.txt46
-rw-r--r--tests/auto/quick/qquickimageprovider/CMakeLists.txt20
-rw-r--r--tests/auto/quick/qquickitem/CMakeLists.txt51
-rw-r--r--tests/auto/quick/qquickitem2/CMakeLists.txt39
-rw-r--r--tests/auto/quick/qquickitemlayer/CMakeLists.txt42
-rw-r--r--tests/auto/quick/qquicklayouts/CMakeLists.txt28
-rw-r--r--tests/auto/quick/qquicklistview/CMakeLists.txt54
-rw-r--r--tests/auto/quick/qquickloader/CMakeLists.txt46
-rw-r--r--tests/auto/quick/qquickmousearea/CMakeLists.txt49
-rw-r--r--tests/auto/quick/qquickmultipointtoucharea/CMakeLists.txt44
-rw-r--r--tests/auto/quick/qquickopenglinfo/CMakeLists.txt39
-rw-r--r--tests/auto/quick/qquickpainteditem/CMakeLists.txt20
-rw-r--r--tests/auto/quick/qquickpath/CMakeLists.txt42
-rw-r--r--tests/auto/quick/qquickpathview/CMakeLists.txt51
-rw-r--r--tests/auto/quick/qquickpincharea/CMakeLists.txt44
-rw-r--r--tests/auto/quick/qquickpixmapcache/CMakeLists.txt42
-rw-r--r--tests/auto/quick/qquickpositioners/CMakeLists.txt45
-rw-r--r--tests/auto/quick/qquickrectangle/CMakeLists.txt44
-rw-r--r--tests/auto/quick/qquickrepeater/CMakeLists.txt45
-rw-r--r--tests/auto/quick/qquickscreen/CMakeLists.txt32
-rw-r--r--tests/auto/quick/qquickshadereffect/CMakeLists.txt32
-rw-r--r--tests/auto/quick/qquickshape/CMakeLists.txt53
-rw-r--r--tests/auto/quick/qquickshortcut/CMakeLists.txt42
-rw-r--r--tests/auto/quick/qquicksmoothedanimation/CMakeLists.txt39
-rw-r--r--tests/auto/quick/qquickspringanimation/CMakeLists.txt39
-rw-r--r--tests/auto/quick/qquickspritesequence/CMakeLists.txt40
-rw-r--r--tests/auto/quick/qquickstates/CMakeLists.txt39
-rw-r--r--tests/auto/quick/qquickstyledtext/CMakeLists.txt20
-rw-r--r--tests/auto/quick/qquicksystempalette/CMakeLists.txt24
-rw-r--r--tests/auto/quick/qquicktableview/CMakeLists.txt50
-rw-r--r--tests/auto/quick/qquicktext/CMakeLists.txt42
-rw-r--r--tests/auto/quick/qquicktextdocument/CMakeLists.txt39
-rw-r--r--tests/auto/quick/qquicktextedit/CMakeLists.txt51
-rw-r--r--tests/auto/quick/qquicktextinput/CMakeLists.txt45
-rw-r--r--tests/auto/quick/qquicktextmetrics/CMakeLists.txt17
-rw-r--r--tests/auto/quick/qquicktimeline/CMakeLists.txt21
-rw-r--r--tests/auto/quick/qquickview/CMakeLists.txt44
-rw-r--r--tests/auto/quick/qquickvisualdatamodel/CMakeLists.txt50
-rw-r--r--tests/auto/quick/qquickwindow/CMakeLists.txt47
-rw-r--r--tests/auto/quick/rendernode/CMakeLists.txt42
-rw-r--r--tests/auto/quick/scenegraph/CMakeLists.txt40
-rw-r--r--tests/auto/quick/sharedimage/CMakeLists.txt23
-rw-r--r--tests/auto/quick/touchmouse/CMakeLists.txt44
-rw-r--r--tests/auto/quicktest/CMakeLists.txt6
-rw-r--r--tests/auto/quicktest/polish-qml/CMakeLists.txt38
-rw-r--r--tests/auto/quicktest/polish/CMakeLists.txt38
-rw-r--r--tests/auto/quicktest/quicktestmainwithsetup/CMakeLists.txt37
-rw-r--r--tests/auto/quicktest/signalspy/CMakeLists.txt30
-rw-r--r--tests/auto/quicktest/testfiltering/CMakeLists.txt4
-rw-r--r--tests/auto/quicktest/testfiltering/quicktestmain/CMakeLists.txt27
-rw-r--r--tests/auto/quicktest/testfiltering/test/.prev_CMakeLists.txt13
-rw-r--r--tests/auto/quicktest/testfiltering/test/CMakeLists.txt14
-rw-r--r--tests/auto/quickwidgets/CMakeLists.txt3
-rw-r--r--tests/auto/quickwidgets/qquickwidget/CMakeLists.txt45
-rw-r--r--tests/auto/toolsupport/CMakeLists.txt13
-rw-r--r--tests/benchmarks/CMakeLists.txt7
-rw-r--r--tests/benchmarks/particles/CMakeLists.txt4
-rw-r--r--tests/benchmarks/particles/affectors/CMakeLists.txt22
-rw-r--r--tests/benchmarks/particles/emission/CMakeLists.txt22
-rw-r--r--tests/benchmarks/qml/CMakeLists.txt17
-rw-r--r--tests/benchmarks/qml/animation/CMakeLists.txt26
-rw-r--r--tests/benchmarks/qml/binding/CMakeLists.txt23
-rw-r--r--tests/benchmarks/qml/compilation/CMakeLists.txt24
-rw-r--r--tests/benchmarks/qml/creation/CMakeLists.txt25
-rw-r--r--tests/benchmarks/qml/holistic/CMakeLists.txt24
-rw-r--r--tests/benchmarks/qml/javascript/CMakeLists.txt23
-rw-r--r--tests/benchmarks/qml/js/CMakeLists.txt5
-rw-r--r--tests/benchmarks/qml/js/qjsengine/CMakeLists.txt20
-rw-r--r--tests/benchmarks/qml/js/qjsvalue/CMakeLists.txt20
-rw-r--r--tests/benchmarks/qml/js/qjsvalueiterator/CMakeLists.txt16
-rw-r--r--tests/benchmarks/qml/librarymetrics_performance/CMakeLists.txt35
-rw-r--r--tests/benchmarks/qml/painting/CMakeLists.txt21
-rw-r--r--tests/benchmarks/qml/qqmlchangeset/CMakeLists.txt23
-rw-r--r--tests/benchmarks/qml/qqmlcomponent/.prev_CMakeLists.txt23
-rw-r--r--tests/benchmarks/qml/qqmlcomponent/CMakeLists.txt24
-rw-r--r--tests/benchmarks/qml/qqmlmetaproperty/CMakeLists.txt22
-rw-r--r--tests/benchmarks/qml/qquickwindow/CMakeLists.txt28
-rw-r--r--tests/benchmarks/qml/script/CMakeLists.txt26
-rw-r--r--tests/benchmarks/qml/typeimports/CMakeLists.txt22
-rw-r--r--tests/benchmarks/quick/CMakeLists.txt3
-rw-r--r--tests/benchmarks/quick/events/CMakeLists.txt43
-rw-r--r--tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt28
-rw-r--r--tests/manual/highdpi/CMakeLists.txt27
-rw-r--r--tests/manual/httpserver/CMakeLists.txt18
-rw-r--r--tests/manual/mousearea/CMakeLists.txt87
-rw-r--r--tests/manual/nodetypes/CMakeLists.txt47
-rw-r--r--tests/manual/nodetypes_ng/CMakeLists.txt64
-rw-r--r--tests/manual/pointer/CMakeLists.txt136
-rw-r--r--tests/manual/qmltypememory/CMakeLists.txt20
-rw-r--r--tests/manual/qmltypememory/TestPlugin/CMakeLists.txt20
-rw-r--r--tests/manual/quickwidgetviewer/CMakeLists.txt16
-rw-r--r--tests/manual/scalablepath/CMakeLists.txt32
-rw-r--r--tests/manual/scenegraph_lancelot/CMakeLists.txt4
-rw-r--r--tests/manual/scenegraph_lancelot/scenegrabber/CMakeLists.txt124
-rw-r--r--tests/manual/scenegraph_lancelot/scenegraph/CMakeLists.txt34
-rw-r--r--tests/manual/shapestest/CMakeLists.txt32
-rw-r--r--tests/manual/tableview/CMakeLists.txt5
-rw-r--r--tests/manual/tableview/abstracttablemodel/CMakeLists.txt44
-rw-r--r--tests/manual/tableview/listmodel/CMakeLists.txt43
-rw-r--r--tests/manual/tableview/storagemodel/CMakeLists.txt44
-rw-r--r--tests/manual/tableview/tablemodel/CMakeLists.txt3
-rw-r--r--tests/manual/tableview/tablemodel/form/CMakeLists.txt44
-rw-r--r--tests/manual/tableview/tablemodel/json/CMakeLists.txt44
-rw-r--r--tests/manual/text/CMakeLists.txt88
-rw-r--r--tests/manual/touch/CMakeLists.txt88
-rw-r--r--tests/manual/v4/auto/CMakeLists.txt3
-rw-r--r--tests/manual/v4/auto/executableallocator/CMakeLists.txt16
-rw-r--r--tools/.prev_CMakeLists.txt54
-rw-r--r--tools/CMakeLists.txt53
-rw-r--r--tools/qml/.prev_CMakeLists.txt71
-rw-r--r--tools/qml/CMakeLists.txt88
-rw-r--r--tools/qmlcachegen/.prev_CMakeLists.txt49
-rw-r--r--tools/qmlcachegen/CMakeLists.txt50
-rw-r--r--tools/qmlcachegen/qmlcachegen.cpp60
-rw-r--r--tools/qmleasing/CMakeLists.txt41
-rw-r--r--tools/qmlformat/.prev_CMakeLists.txt19
-rw-r--r--tools/qmlformat/CMakeLists.txt20
-rw-r--r--tools/qmlimportscanner/.prev_CMakeLists.txt77
-rw-r--r--tools/qmlimportscanner/CMakeLists.txt78
-rw-r--r--tools/qmljs/.prev_CMakeLists.txt87
-rw-r--r--tools/qmljs/CMakeLists.txt88
-rw-r--r--tools/qmllint/.prev_CMakeLists.txt24
-rw-r--r--tools/qmllint/CMakeLists.txt25
-rw-r--r--tools/qmlplugindump/.prev_CMakeLists.txt37
-rw-r--r--tools/qmlplugindump/CMakeLists.txt38
-rw-r--r--tools/qmlpreview/.prev_CMakeLists.txt18
-rw-r--r--tools/qmlpreview/CMakeLists.txt19
-rw-r--r--tools/qmlprofiler/.prev_CMakeLists.txt21
-rw-r--r--tools/qmlprofiler/CMakeLists.txt22
-rw-r--r--tools/qmlscene/.prev_CMakeLists.txt35
-rw-r--r--tools/qmlscene/CMakeLists.txt36
-rw-r--r--tools/qmltestrunner/.prev_CMakeLists.txt17
-rw-r--r--tools/qmltestrunner/CMakeLists.txt18
-rw-r--r--tools/qmltime/CMakeLists.txt33
578 files changed, 25953 insertions, 8 deletions
diff --git a/.prev_CMakeLists.txt b/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..9117c6e684
--- /dev/null
+++ b/.prev_CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from qtdeclarative.pro.
+
+cmake_minimum_required(VERSION 3.15.0)
+
+project(declarative_FIXME
+ VERSION 6.0.0
+ DESCRIPTION "Qt declarative_FIXME Libraries"
+ HOMEPAGE_URL "https://qt.io/"
+ LANGUAGES CXX C
+)
+
+find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core SET_ME_TO_SOMETHING_USEFUL)
+find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS SET_ME_TO_SOMETHING_USEFUL)
+
+if(NOT QT_FEATURE_commandlineparser)
+ message(NOTICE "Skipping the build as the condition \"QT_FEATURE_commandlineparser\" is not met.")
+ return()
+endif()
+if(NOT QT_FEATURE_temporaryfile)
+ message(NOTICE "Skipping the build as the condition \"QT_FEATURE_temporaryfile\" is not met.")
+ return()
+endif()
+qt_build_repo()
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000000..3e82176a60
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,28 @@
+# Generated from qtdeclarative.pro.
+
+cmake_minimum_required(VERSION 3.15.0)
+
+project(QtDeclarative # special case
+ VERSION 6.0.0
+ DESCRIPTION "Qt Declarative Libraries" # special case
+ HOMEPAGE_URL "https://qt.io/"
+ LANGUAGES CXX C
+)
+
+find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Gui Widgets Network # special case
+ OPTIONAL_COMPONENTS OpenGL Sql Concurrent Test) # special case
+
+# special case begin
+# export QT6_ADD_QML_MODULE to this project
+include(src/qml/Qt6QmlMacros.cmake)
+# special case end
+
+if(NOT QT_FEATURE_commandlineparser)
+ message(NOTICE "Skipping the build as the condition \"QT_FEATURE_commandlineparser\" is not met.")
+ return()
+endif()
+if(NOT QT_FEATURE_temporaryfile)
+ message(NOTICE "Skipping the build as the condition \"QT_FEATURE_temporaryfile\" is not met.")
+ return()
+endif()
+qt_build_repo()
diff --git a/cmake/QtDeclarativeSetup.cmake b/cmake/QtDeclarativeSetup.cmake
new file mode 100644
index 0000000000..2cd6f56127
--- /dev/null
+++ b/cmake/QtDeclarativeSetup.cmake
@@ -0,0 +1,48 @@
+# Generates a header file with a hash.
+function(qt_declarative_write_tag_header target_name)
+ set(tag_file "${CMAKE_CURRENT_SOURCE_DIR}/../../.tag")
+ set(tag_contents "")
+ if(EXISTS "${tag_file}")
+ file(READ "${tag_file}" tag_contents)
+ endif()
+ if(NOT tag_file STREQUAL "$Format:%H$")
+ set(QML_COMPILE_HASH "${tag_contents}")
+ string(STRIP "${QML_COMPILE_HASH}" QML_COMPILE_HASH)
+ elseif(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/../../.git")
+ execute_process(
+ COMMAND git rev-parse HEAD
+ OUTPUT_VARIABLE QML_COMPILE_HASH
+ OUTPUT_STRIP_TRAILING_WHITESPACE)
+ endif()
+ string(LENGTH "${QML_COMPILE_HASH}" QML_COMPILE_HASH_LENGTH)
+ set(compile_hash_contents "// Generated file, DO NOT EDIT
+ #define QML_COMPILE_HASH \"${QML_COMPILE_HASH}\"
+ #define QML_COMPILE_HASH_LENGTH ${QML_COMPILE_HASH_LENGTH}"
+ )
+ set(compile_hash_output_path "${CMAKE_CURRENT_BINARY_DIR}/qml_compile_hash_p.h")
+ file(GENERATE OUTPUT "${compile_hash_output_path}"
+ CONTENT "${compile_hash_contents}")
+endfunction()
+
+find_package(PythonInterp REQUIRED)
+
+# Generate a header file containing a regular expression jit table.
+function(qt_declarative_generate_reg_exp_jit_tables consuming_target)
+ set(generate_dir "${CMAKE_CURRENT_BINARY_DIR}/.generated")
+ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
+ string(APPEND generate_dir "/debug")
+ elseif(CMAKE_BUILD_TYPE STREQUAL "Release")
+ string(APPEND generate_dir "/release")
+ endif()
+
+ set(output_file "${generate_dir}/RegExpJitTables.h")
+ set(retgen_script_file "${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/masm/yarr/create_regex_tables")
+
+ add_custom_command(
+ OUTPUT "${output_file}"
+ COMMAND "${PYTHON_EXECUTABLE}" ${retgen_script_file} ${output_file}
+ MAIN_DEPENDENCY ${retgen_script_file}
+ )
+ target_sources(${consuming_target} PRIVATE ${output_file})
+ target_include_directories(${consuming_target} PRIVATE $<BUILD_INTERFACE:${generate_dir}>)
+endfunction()
diff --git a/coin/module_config.yaml b/coin/module_config.yaml
new file mode 100644
index 0000000000..9f29e1139b
--- /dev/null
+++ b/coin/module_config.yaml
@@ -0,0 +1,13 @@
+version: 1
+accept_configuration:
+ condition: property
+ property: host.os
+ equals_property: target.os
+
+build_instructions:
+ - !include "{{qt/qtbase}}/prepare_building_env.yaml"
+ - !include "{{qt/qtbase}}/cmake_module_build_instructions.yaml"
+ - !include "{{qt/qtbase}}/cmake_build_and_upload_test_artifacts.yaml"
+
+test_instructions:
+ - !include "{{qt/qtbase}}/cmake_regular_test_instructions.yaml"
diff --git a/examples/.prev_CMakeLists.txt b/examples/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..c2ccea65c1
--- /dev/null
+++ b/examples/.prev_CMakeLists.txt
@@ -0,0 +1,13 @@
+# Generated from examples.pro.
+
+qt_examples_build_begin()
+
+add_subdirectory(qml)
+if(TARGET Qt::QuickTest)
+ add_subdirectory(qmltest)
+endif()
+if(TARGET Qt::Quick)
+ add_subdirectory(quick)
+endif()
+
+qt_examples_build_end()
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
new file mode 100644
index 0000000000..b6c19fb6e1
--- /dev/null
+++ b/examples/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from examples.pro.
+
+# special case begin
+qt_examples_build_begin()
+# special case end
+
+add_subdirectory(qml)
+if(TARGET Qt::QuickTest)
+ add_subdirectory(qmltest)
+endif()
+if(TARGET Qt::Quick)
+ add_subdirectory(quick)
+endif()
+
+# special case begin
+qt_examples_build_end()
+# special case end
diff --git a/examples/qml/.prev_CMakeLists.txt b/examples/qml/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..0ec4c9b39d
--- /dev/null
+++ b/examples/qml/.prev_CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from qml.pro.
+
+add_subdirectory(referenceexamples)
+add_subdirectory(tutorials)
+add_subdirectory(shell)
+if(TARGET Qt::Quick)
+ add_subdirectory(qmlextensionplugins)
+ add_subdirectory(xmlhttprequest)
+endif()
+if(QT_FEATURE_qml_network AND TARGET Qt::Quick)
+ add_subdirectory(networkaccessmanagerfactory)
+endif()
diff --git a/examples/qml/CMakeLists.txt b/examples/qml/CMakeLists.txt
new file mode 100644
index 0000000000..0ec4c9b39d
--- /dev/null
+++ b/examples/qml/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from qml.pro.
+
+add_subdirectory(referenceexamples)
+add_subdirectory(tutorials)
+add_subdirectory(shell)
+if(TARGET Qt::Quick)
+ add_subdirectory(qmlextensionplugins)
+ add_subdirectory(xmlhttprequest)
+endif()
+if(QT_FEATURE_qml_network AND TARGET Qt::Quick)
+ add_subdirectory(networkaccessmanagerfactory)
+endif()
diff --git a/examples/qml/networkaccessmanagerfactory/CMakeLists.txt b/examples/qml/networkaccessmanagerfactory/CMakeLists.txt
new file mode 100644
index 0000000000..2d0821b40e
--- /dev/null
+++ b/examples/qml/networkaccessmanagerfactory/CMakeLists.txt
@@ -0,0 +1,48 @@
+# Generated from networkaccessmanagerfactory.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(networkaccessmanagerfactory LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/networkaccessmanagerfactory")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Network)
+
+add_qt_gui_executable(networkaccessmanagerfactory
+ main.cpp
+)
+target_link_libraries(networkaccessmanagerfactory PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Network
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(networkaccessmanagerfactory_resource_files
+ "view.qml"
+)
+
+qt6_add_resources(networkaccessmanagerfactory "networkaccessmanagerfactory"
+ PREFIX
+ "/"
+ FILES
+ ${networkaccessmanagerfactory_resource_files}
+)
+
+install(TARGETS networkaccessmanagerfactory
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/qml/qmlextensionplugins/CMakeLists.txt b/examples/qml/qmlextensionplugins/CMakeLists.txt
new file mode 100644
index 0000000000..333a1e198e
--- /dev/null
+++ b/examples/qml/qmlextensionplugins/CMakeLists.txt
@@ -0,0 +1,47 @@
+# Generated from qmlextensionplugins.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(qmlqtimeexampleplugin LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/qmlextensionplugins/imports/TimeExample")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+
+qt6_add_qml_module(qmlqtimeexampleplugin
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/imports/TimeExample"
+ VERSION 1.0
+ URI "TimeExample"
+ INSTALL_LOCATION ${INSTALL_EXAMPLEDIR}
+)
+
+target_sources(qmlqtimeexampleplugin PRIVATE
+ plugin.cpp
+ timemodel.cpp timemodel.h
+)
+target_link_libraries(qmlqtimeexampleplugin PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+install(TARGETS qmlqtimeexampleplugin
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(qmlqtimeexampleplugin PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI TimeExample
+)
+
+qt6_qml_type_registration(qmlqtimeexampleplugin)
diff --git a/examples/qml/referenceexamples/CMakeLists.txt b/examples/qml/referenceexamples/CMakeLists.txt
new file mode 100644
index 0000000000..827e3b0060
--- /dev/null
+++ b/examples/qml/referenceexamples/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from referenceexamples.pro.
+
+add_subdirectory(adding)
+add_subdirectory(coercion)
+add_subdirectory(default)
+add_subdirectory(properties)
+add_subdirectory(methods)
+if(TARGET Qt::Widgets)
+ add_subdirectory(extended)
+endif()
+if(TARGET Qt::Quick)
+ add_subdirectory(attached)
+ add_subdirectory(binding)
+ add_subdirectory(grouped)
+ add_subdirectory(signal)
+ add_subdirectory(valuesource)
+endif()
diff --git a/examples/qml/referenceexamples/adding/CMakeLists.txt b/examples/qml/referenceexamples/adding/CMakeLists.txt
new file mode 100644
index 0000000000..57e3858d67
--- /dev/null
+++ b/examples/qml/referenceexamples/adding/CMakeLists.txt
@@ -0,0 +1,51 @@
+# Generated from adding.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(adding LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/referenceexamples/adding")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(adding
+ main.cpp
+ person.cpp person.h
+)
+target_link_libraries(adding PUBLIC
+ Qt::Core
+ Qt::Qml
+)
+
+
+# Resources:
+set(adding_resource_files
+ "example.qml"
+)
+
+qt6_add_resources(adding "adding"
+ PREFIX
+ "/"
+ FILES
+ ${adding_resource_files}
+)
+
+install(TARGETS adding
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(adding PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI People
+)
+
+qt6_qml_type_registration(adding)
diff --git a/examples/qml/referenceexamples/attached/CMakeLists.txt b/examples/qml/referenceexamples/attached/CMakeLists.txt
new file mode 100644
index 0000000000..4ffdc1ad9d
--- /dev/null
+++ b/examples/qml/referenceexamples/attached/CMakeLists.txt
@@ -0,0 +1,54 @@
+# Generated from attached.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(attached LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/referenceexamples/attached")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(attached
+ birthdayparty.cpp birthdayparty.h
+ main.cpp
+ person.cpp person.h
+)
+target_link_libraries(attached PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+
+# Resources:
+set(attached_resource_files
+ "example.qml"
+)
+
+qt6_add_resources(attached "attached"
+ PREFIX
+ "/"
+ FILES
+ ${attached_resource_files}
+)
+
+install(TARGETS attached
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(attached PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI People
+)
+
+qt6_qml_type_registration(attached)
diff --git a/examples/qml/referenceexamples/binding/CMakeLists.txt b/examples/qml/referenceexamples/binding/CMakeLists.txt
new file mode 100644
index 0000000000..be6cbf3ee5
--- /dev/null
+++ b/examples/qml/referenceexamples/binding/CMakeLists.txt
@@ -0,0 +1,55 @@
+# Generated from binding.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(binding LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/referenceexamples/binding")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(binding
+ birthdayparty.cpp birthdayparty.h
+ happybirthdaysong.cpp happybirthdaysong.h
+ main.cpp
+ person.cpp person.h
+)
+target_link_libraries(binding PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+
+# Resources:
+set(binding_resource_files
+ "example.qml"
+)
+
+qt6_add_resources(binding "binding"
+ PREFIX
+ "/"
+ FILES
+ ${binding_resource_files}
+)
+
+install(TARGETS binding
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(binding PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI People
+)
+
+qt6_qml_type_registration(binding)
diff --git a/examples/qml/referenceexamples/coercion/CMakeLists.txt b/examples/qml/referenceexamples/coercion/CMakeLists.txt
new file mode 100644
index 0000000000..46e7c5d5be
--- /dev/null
+++ b/examples/qml/referenceexamples/coercion/CMakeLists.txt
@@ -0,0 +1,52 @@
+# Generated from coercion.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(coercion LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/referenceexamples/coercion")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(coercion
+ birthdayparty.cpp birthdayparty.h
+ main.cpp
+ person.cpp person.h
+)
+target_link_libraries(coercion PUBLIC
+ Qt::Core
+ Qt::Qml
+)
+
+
+# Resources:
+set(coercion_resource_files
+ "example.qml"
+)
+
+qt6_add_resources(coercion "coercion"
+ PREFIX
+ "/"
+ FILES
+ ${coercion_resource_files}
+)
+
+install(TARGETS coercion
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(coercion PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI People
+)
+
+qt6_qml_type_registration(coercion)
diff --git a/examples/qml/referenceexamples/default/CMakeLists.txt b/examples/qml/referenceexamples/default/CMakeLists.txt
new file mode 100644
index 0000000000..b96376565c
--- /dev/null
+++ b/examples/qml/referenceexamples/default/CMakeLists.txt
@@ -0,0 +1,52 @@
+# Generated from default.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(default LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/referenceexamples/default")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(default
+ birthdayparty.cpp birthdayparty.h
+ main.cpp
+ person.cpp person.h
+)
+target_link_libraries(default PUBLIC
+ Qt::Core
+ Qt::Qml
+)
+
+
+# Resources:
+set(default_resource_files
+ "example.qml"
+)
+
+qt6_add_resources(default "default"
+ PREFIX
+ "/"
+ FILES
+ ${default_resource_files}
+)
+
+install(TARGETS default
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(default PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI People
+)
+
+qt6_qml_type_registration(default)
diff --git a/examples/qml/referenceexamples/extended/CMakeLists.txt b/examples/qml/referenceexamples/extended/CMakeLists.txt
new file mode 100644
index 0000000000..1ee95f3dde
--- /dev/null
+++ b/examples/qml/referenceexamples/extended/CMakeLists.txt
@@ -0,0 +1,55 @@
+# Generated from extended.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(extended LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/referenceexamples/extended")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Widgets)
+
+add_qt_gui_executable(extended
+ lineedit.cpp lineedit.h
+ main.cpp
+)
+target_link_libraries(extended PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Widgets
+)
+
+
+# Resources:
+set(extended_resource_files
+ "example.qml"
+)
+
+qt6_add_resources(extended "extended"
+ PREFIX
+ "/"
+ FILES
+ ${extended_resource_files}
+)
+
+install(TARGETS extended
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(extended PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI People
+)
+
+qt6_qml_type_registration(extended)
diff --git a/examples/qml/referenceexamples/grouped/CMakeLists.txt b/examples/qml/referenceexamples/grouped/CMakeLists.txt
new file mode 100644
index 0000000000..89bef66769
--- /dev/null
+++ b/examples/qml/referenceexamples/grouped/CMakeLists.txt
@@ -0,0 +1,54 @@
+# Generated from grouped.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(grouped LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/referenceexamples/grouped")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(grouped
+ birthdayparty.cpp birthdayparty.h
+ main.cpp
+ person.cpp person.h
+)
+target_link_libraries(grouped PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+
+# Resources:
+set(grouped_resource_files
+ "example.qml"
+)
+
+qt6_add_resources(grouped "grouped"
+ PREFIX
+ "/"
+ FILES
+ ${grouped_resource_files}
+)
+
+install(TARGETS grouped
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(grouped PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI People
+)
+
+qt6_qml_type_registration(grouped)
diff --git a/examples/qml/referenceexamples/methods/CMakeLists.txt b/examples/qml/referenceexamples/methods/CMakeLists.txt
new file mode 100644
index 0000000000..5812e55eb7
--- /dev/null
+++ b/examples/qml/referenceexamples/methods/CMakeLists.txt
@@ -0,0 +1,52 @@
+# Generated from methods.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(methods LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/referenceexamples/methods")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(methods
+ birthdayparty.cpp birthdayparty.h
+ main.cpp
+ person.cpp person.h
+)
+target_link_libraries(methods PUBLIC
+ Qt::Core
+ Qt::Qml
+)
+
+
+# Resources:
+set(methods_resource_files
+ "example.qml"
+)
+
+qt6_add_resources(methods "methods"
+ PREFIX
+ "/"
+ FILES
+ ${methods_resource_files}
+)
+
+install(TARGETS methods
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(methods PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI People
+)
+
+qt6_qml_type_registration(methods)
diff --git a/examples/qml/referenceexamples/properties/CMakeLists.txt b/examples/qml/referenceexamples/properties/CMakeLists.txt
new file mode 100644
index 0000000000..13c472035f
--- /dev/null
+++ b/examples/qml/referenceexamples/properties/CMakeLists.txt
@@ -0,0 +1,52 @@
+# Generated from properties.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(properties LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/referenceexamples/properties")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(properties
+ birthdayparty.cpp birthdayparty.h
+ main.cpp
+ person.cpp person.h
+)
+target_link_libraries(properties PUBLIC
+ Qt::Core
+ Qt::Qml
+)
+
+
+# Resources:
+set(properties_resource_files
+ "example.qml"
+)
+
+qt6_add_resources(properties "properties"
+ PREFIX
+ "/"
+ FILES
+ ${properties_resource_files}
+)
+
+install(TARGETS properties
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(properties PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI People
+)
+
+qt6_qml_type_registration(properties)
diff --git a/examples/qml/referenceexamples/signal/CMakeLists.txt b/examples/qml/referenceexamples/signal/CMakeLists.txt
new file mode 100644
index 0000000000..29fdeda090
--- /dev/null
+++ b/examples/qml/referenceexamples/signal/CMakeLists.txt
@@ -0,0 +1,54 @@
+# Generated from signal.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(signal LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/referenceexamples/signal")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(signal
+ birthdayparty.cpp birthdayparty.h
+ main.cpp
+ person.cpp person.h
+)
+target_link_libraries(signal PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+
+# Resources:
+set(signal_resource_files
+ "example.qml"
+)
+
+qt6_add_resources(signal "signal"
+ PREFIX
+ "/"
+ FILES
+ ${signal_resource_files}
+)
+
+install(TARGETS signal
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(signal PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI People
+)
+
+qt6_qml_type_registration(signal)
diff --git a/examples/qml/referenceexamples/valuesource/CMakeLists.txt b/examples/qml/referenceexamples/valuesource/CMakeLists.txt
new file mode 100644
index 0000000000..3adcebaeca
--- /dev/null
+++ b/examples/qml/referenceexamples/valuesource/CMakeLists.txt
@@ -0,0 +1,55 @@
+# Generated from valuesource.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(valuesource LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/referenceexamples/valuesource")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(valuesource
+ birthdayparty.cpp birthdayparty.h
+ happybirthdaysong.cpp happybirthdaysong.h
+ main.cpp
+ person.cpp person.h
+)
+target_link_libraries(valuesource PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+
+# Resources:
+set(valuesource_resource_files
+ "example.qml"
+)
+
+qt6_add_resources(valuesource "valuesource"
+ PREFIX
+ "/"
+ FILES
+ ${valuesource_resource_files}
+)
+
+install(TARGETS valuesource
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(valuesource PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI People
+)
+
+qt6_qml_type_registration(valuesource)
diff --git a/examples/qml/shell/CMakeLists.txt b/examples/qml/shell/CMakeLists.txt
new file mode 100644
index 0000000000..8e75f4b32b
--- /dev/null
+++ b/examples/qml/shell/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from shell.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(shell LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/shell")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(shell
+ main.cpp
+)
+target_link_libraries(shell PUBLIC
+ Qt::Core
+ Qt::Qml
+)
+
+install(TARGETS shell
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/qml/tutorials/CMakeLists.txt b/examples/qml/tutorials/CMakeLists.txt
new file mode 100644
index 0000000000..0aa8ff83e8
--- /dev/null
+++ b/examples/qml/tutorials/CMakeLists.txt
@@ -0,0 +1,5 @@
+# Generated from tutorials.pro.
+
+if(TARGET Qt::Quick)
+ add_subdirectory(extending-qml)
+endif()
diff --git a/examples/qml/tutorials/extending-qml/.prev_CMakeLists.txt b/examples/qml/tutorials/extending-qml/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..8e41f3d77d
--- /dev/null
+++ b/examples/qml/tutorials/extending-qml/.prev_CMakeLists.txt
@@ -0,0 +1,8 @@
+# Generated from extending-qml.pro.
+
+add_subdirectory(chapter1-basics)
+add_subdirectory(chapter2-methods)
+add_subdirectory(chapter3-bindings)
+add_subdirectory(chapter4-customPropertyTypes)
+add_subdirectory(chapter5-listproperties)
+add_subdirectory(chapter6-plugins)
diff --git a/examples/qml/tutorials/extending-qml/CMakeLists.txt b/examples/qml/tutorials/extending-qml/CMakeLists.txt
new file mode 100644
index 0000000000..8e41f3d77d
--- /dev/null
+++ b/examples/qml/tutorials/extending-qml/CMakeLists.txt
@@ -0,0 +1,8 @@
+# Generated from extending-qml.pro.
+
+add_subdirectory(chapter1-basics)
+add_subdirectory(chapter2-methods)
+add_subdirectory(chapter3-bindings)
+add_subdirectory(chapter4-customPropertyTypes)
+add_subdirectory(chapter5-listproperties)
+add_subdirectory(chapter6-plugins)
diff --git a/examples/qml/tutorials/extending-qml/chapter1-basics/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter1-basics/CMakeLists.txt
new file mode 100644
index 0000000000..1ca75257da
--- /dev/null
+++ b/examples/qml/tutorials/extending-qml/chapter1-basics/CMakeLists.txt
@@ -0,0 +1,55 @@
+# Generated from chapter1-basics.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(chapter1-basics LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/tutorials/extending-qml/chapter1-basics")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(chapter1-basics
+ main.cpp
+ piechart.cpp piechart.h
+)
+target_link_libraries(chapter1-basics PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(chapter1-basics_resource_files
+ "app.qml"
+)
+
+qt6_add_resources(chapter1-basics "chapter1-basics"
+ PREFIX
+ "/"
+ FILES
+ ${chapter1-basics_resource_files}
+)
+
+install(TARGETS chapter1-basics
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(chapter1-basics PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI Charts
+)
+
+qt6_qml_type_registration(chapter1-basics)
diff --git a/examples/qml/tutorials/extending-qml/chapter2-methods/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter2-methods/CMakeLists.txt
new file mode 100644
index 0000000000..30b9fee0cb
--- /dev/null
+++ b/examples/qml/tutorials/extending-qml/chapter2-methods/CMakeLists.txt
@@ -0,0 +1,55 @@
+# Generated from chapter2-methods.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(chapter2-methods LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/tutorials/extending-qml/chapter2-methods")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(chapter2-methods
+ main.cpp
+ piechart.cpp piechart.h
+)
+target_link_libraries(chapter2-methods PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(chapter2-methods_resource_files
+ "app.qml"
+)
+
+qt6_add_resources(chapter2-methods "chapter2-methods"
+ PREFIX
+ "/"
+ FILES
+ ${chapter2-methods_resource_files}
+)
+
+install(TARGETS chapter2-methods
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(chapter2-methods PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI Charts
+)
+
+qt6_qml_type_registration(chapter2-methods)
diff --git a/examples/qml/tutorials/extending-qml/chapter3-bindings/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter3-bindings/CMakeLists.txt
new file mode 100644
index 0000000000..966966f58d
--- /dev/null
+++ b/examples/qml/tutorials/extending-qml/chapter3-bindings/CMakeLists.txt
@@ -0,0 +1,55 @@
+# Generated from chapter3-bindings.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(chapter3-bindings LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/tutorials/extending-qml/chapter3-bindings")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(chapter3-bindings
+ main.cpp
+ piechart.cpp piechart.h
+)
+target_link_libraries(chapter3-bindings PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(chapter3-bindings_resource_files
+ "app.qml"
+)
+
+qt6_add_resources(chapter3-bindings "chapter3-bindings"
+ PREFIX
+ "/"
+ FILES
+ ${chapter3-bindings_resource_files}
+)
+
+install(TARGETS chapter3-bindings
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(chapter3-bindings PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI Charts
+)
+
+qt6_qml_type_registration(chapter3-bindings)
diff --git a/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/CMakeLists.txt
new file mode 100644
index 0000000000..4682a7be05
--- /dev/null
+++ b/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/CMakeLists.txt
@@ -0,0 +1,56 @@
+# Generated from chapter4-customPropertyTypes.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(chapter4-customPropertyTypes LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(chapter4-customPropertyTypes
+ main.cpp
+ piechart.cpp piechart.h
+ pieslice.cpp pieslice.h
+)
+target_link_libraries(chapter4-customPropertyTypes PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(chapter4-customPropertyTypes_resource_files
+ "app.qml"
+)
+
+qt6_add_resources(chapter4-customPropertyTypes "chapter4-customPropertyTypes"
+ PREFIX
+ "/"
+ FILES
+ ${chapter4-customPropertyTypes_resource_files}
+)
+
+install(TARGETS chapter4-customPropertyTypes
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(chapter4-customPropertyTypes PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI Charts
+)
+
+qt6_qml_type_registration(chapter4-customPropertyTypes)
diff --git a/examples/qml/tutorials/extending-qml/chapter5-listproperties/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter5-listproperties/CMakeLists.txt
new file mode 100644
index 0000000000..ff1129be15
--- /dev/null
+++ b/examples/qml/tutorials/extending-qml/chapter5-listproperties/CMakeLists.txt
@@ -0,0 +1,56 @@
+# Generated from chapter5-listproperties.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(chapter5-listproperties LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/tutorials/extending-qml/chapter5-listproperties")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(chapter5-listproperties
+ main.cpp
+ piechart.cpp piechart.h
+ pieslice.cpp pieslice.h
+)
+target_link_libraries(chapter5-listproperties PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(chapter5-listproperties_resource_files
+ "app.qml"
+)
+
+qt6_add_resources(chapter5-listproperties "chapter5-listproperties"
+ PREFIX
+ "/"
+ FILES
+ ${chapter5-listproperties_resource_files}
+)
+
+install(TARGETS chapter5-listproperties
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(chapter5-listproperties PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI Charts
+)
+
+qt6_qml_type_registration(chapter5-listproperties)
diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..ef3b9791f9
--- /dev/null
+++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt
@@ -0,0 +1,43 @@
+# Generated from chapter6-plugins.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(chapter6-plugins LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/tutorials/extending-qml/chapter6-plugins")
+
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(chapter6-plugins
+ main.cpp
+)
+target_link_libraries(chapter6-plugins PUBLIC
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(app_resource_files
+ "app.qml"
+)
+
+qt6_add_resources(chapter6-plugins "app"
+ PREFIX
+ "/"
+ FILES
+ ${app_resource_files}
+)
+
+install(TARGETS chapter6-plugins
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+add_subdirectory(import)
diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter6-plugins/CMakeLists.txt
new file mode 100644
index 0000000000..f8b1a2de4c
--- /dev/null
+++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from chapter6-plugins.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(chapter6-plugins LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/tutorials/extending-qml/chapter6-plugins")
+
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(chapter6-plugins
+ main.cpp
+)
+target_link_libraries(chapter6-plugins PUBLIC
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(app_resource_files
+ "app.qml"
+)
+
+qt6_add_resources(chapter6-plugins "app"
+ PREFIX
+ "/"
+ FILES
+ ${app_resource_files}
+)
+
+install(TARGETS chapter6-plugins
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+add_subdirectory(import)
diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/import/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter6-plugins/import/CMakeLists.txt
new file mode 100644
index 0000000000..23ac48170d
--- /dev/null
+++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/import/CMakeLists.txt
@@ -0,0 +1,50 @@
+# Generated from import.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(chartsplugin LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/tutorials/extending-qml/chapter6-plugins/Charts")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+qt6_add_qml_module(chartsplugin
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../Charts"
+ VERSION 1.0
+ URI "Charts"
+ INSTALL_LOCATION ${INSTALL_EXAMPLEDIR}
+)
+
+target_sources(chartsplugin PRIVATE
+ chartsplugin.h
+ piechart.cpp piechart.h
+ pieslice.cpp pieslice.h
+)
+target_link_libraries(chartsplugin PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+install(TARGETS chartsplugin
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(chartsplugin PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI Charts
+)
+
+qt6_qml_type_registration(chartsplugin)
diff --git a/examples/qml/xmlhttprequest/CMakeLists.txt b/examples/qml/xmlhttprequest/CMakeLists.txt
new file mode 100644
index 0000000000..b8e691c43b
--- /dev/null
+++ b/examples/qml/xmlhttprequest/CMakeLists.txt
@@ -0,0 +1,105 @@
+# Generated from xmlhttprequest.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(xmlhttprequest LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/qml/xmlhttprequest")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(xmlhttprequest
+ main.cpp
+)
+target_link_libraries(xmlhttprequest PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(xmlhttprequest_resource_files
+ "Get.qml"
+ "GetForm.ui.qml"
+ "data.xml"
+ "methods.js"
+ "xmlhttprequest.qml"
+)
+
+qt6_add_resources(xmlhttprequest "xmlhttprequest"
+ PREFIX
+ "/qml/xmlhttprequest"
+ FILES
+ ${xmlhttprequest_resource_files}
+)
+set_source_files_properties("../../quick/shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../../quick/shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../../quick/shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../../quick/shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../../quick/shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../../quick/shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../../quick/shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../../quick/shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../../quick/shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../../quick/shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../../quick/shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set(quick_shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/slider_handle.png"
+)
+
+qt6_add_resources(xmlhttprequest "quick_shared"
+ PREFIX
+ "/quick/shared"
+ BASE
+ "../../quick/shared"
+ FILES
+ ${quick_shared_resource_files}
+)
+
+install(TARGETS xmlhttprequest
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/qmltest/CMakeLists.txt b/examples/qmltest/CMakeLists.txt
new file mode 100644
index 0000000000..9b071ad6b1
--- /dev/null
+++ b/examples/qmltest/CMakeLists.txt
@@ -0,0 +1,3 @@
+# Generated from qmltest.pro.
+
+add_subdirectory(qmltest)
diff --git a/examples/qmltest/qmltest/.prev_CMakeLists.txt b/examples/qmltest/qmltest/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..b3d5cc69ae
--- /dev/null
+++ b/examples/qmltest/qmltest/.prev_CMakeLists.txt
@@ -0,0 +1,36 @@
+# Generated from qmltest.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(tst_qmltestexample LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+
+add_qt_gui_executable(tst_qmltestexample
+ tst_qmltest.cpp
+)
+target_link_libraries(tst_qmltestexample PUBLIC
+ Qt::Core
+ Qt::Gui
+)
+
+if(QT_BUILDING_QT)
+ target_link_libraries(tst_qmltestexample PUBLIC
+ Qt::Qml
+ Qt::QuickTest
+ )
+endif()
+
+install(TARGETS tst_qmltestexample
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/qmltest/qmltest/CMakeLists.txt b/examples/qmltest/qmltest/CMakeLists.txt
new file mode 100644
index 0000000000..8a890cc246
--- /dev/null
+++ b/examples/qmltest/qmltest/CMakeLists.txt
@@ -0,0 +1,45 @@
+# Generated from qmltest.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(tst_qmltestexample LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+#special case begin
+find_package(Qt6 COMPONENTS QuickTest)
+#special case end
+
+add_qt_gui_executable(tst_qmltestexample
+ tst_qmltest.cpp
+)
+target_link_libraries(tst_qmltestexample PUBLIC
+ Qt::Core
+ Qt::Gui
+# special case begin
+ Qt::QuickTest
+# special case end
+)
+
+# special case begin
+# This line get added, but does not make sense
+#if(QT_BUILDING_QT)
+# target_link_libraries(tst_qmltestexample PUBLIC
+# Qt::Qml
+# Qt::QuickTest
+# )
+#endif()
+# special case end
+
+install(TARGETS tst_qmltestexample
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/.prev_CMakeLists.txt b/examples/quick/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..5299e95ae2
--- /dev/null
+++ b/examples/quick/.prev_CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from quick.pro.
+
+add_subdirectory(quick-accessibility)
+add_subdirectory(animation)
+add_subdirectory(draganddrop)
+add_subdirectory(externaldraganddrop)
+add_subdirectory(canvas)
+add_subdirectory(imageelements)
+add_subdirectory(keyinteraction)
+add_subdirectory(layouts)
+add_subdirectory(localstorage)
+add_subdirectory(models)
+add_subdirectory(views)
+add_subdirectory(tableview)
+add_subdirectory(mousearea)
+add_subdirectory(positioners)
+add_subdirectory(righttoleft)
+add_subdirectory(scenegraph)
+add_subdirectory(shadereffects)
+add_subdirectory(text)
+add_subdirectory(threading)
+add_subdirectory(touchinteraction)
+add_subdirectory(tutorials)
+add_subdirectory(customitems)
+add_subdirectory(imageprovider)
+add_subdirectory(imageresponseprovider)
+add_subdirectory(window)
+add_subdirectory(particles)
+add_subdirectory(delegatechooser)
+add_subdirectory(shapes)
+if(QT_FEATURE_opengl OR QT_FEATURE_opengles2 OR QT_FEATURE_opengles3)
+ add_subdirectory(textureprovider)
+ add_subdirectory(rendercontrol)
+endif()
+if(TARGET Qt::Widgets)
+ add_subdirectory(embeddedinwidgets)
+endif()
+if(TARGET Qt::Widgets AND (QT_FEATURE_opengl OR QT_FEATURE_opengles2 OR QT_FEATURE_opengles3) AND (QT_FEATURE_opengles2 OR QT_FEATURE_opengles3 OR TARGET Qt::QuickWidgets))
+ add_subdirectory(quickwidgets)
+endif()
diff --git a/examples/quick/CMakeLists.txt b/examples/quick/CMakeLists.txt
new file mode 100644
index 0000000000..8940ff9c70
--- /dev/null
+++ b/examples/quick/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from quick.pro.
+
+add_subdirectory(quick-accessibility)
+add_subdirectory(animation)
+add_subdirectory(draganddrop)
+add_subdirectory(externaldraganddrop)
+add_subdirectory(canvas)
+add_subdirectory(imageelements)
+add_subdirectory(keyinteraction)
+add_subdirectory(layouts)
+add_subdirectory(localstorage)
+add_subdirectory(models)
+add_subdirectory(views)
+add_subdirectory(tableview)
+add_subdirectory(mousearea)
+add_subdirectory(positioners)
+add_subdirectory(righttoleft)
+add_subdirectory(scenegraph)
+add_subdirectory(shadereffects)
+add_subdirectory(text)
+add_subdirectory(threading)
+add_subdirectory(touchinteraction)
+add_subdirectory(tutorials)
+add_subdirectory(customitems)
+add_subdirectory(imageprovider)
+add_subdirectory(imageresponseprovider)
+add_subdirectory(window)
+add_subdirectory(particles)
+add_subdirectory(delegatechooser)
+add_subdirectory(shapes)
+if(QT_FEATURE_opengl OR QT_FEATURE_opengles2 OR QT_FEATURE_opengles3)
+ add_subdirectory(textureprovider)
+ add_subdirectory(rendercontrol)
+endif()
+if(TARGET Qt::Widgets)
+ add_subdirectory(embeddedinwidgets)
+endif()
+if(TARGET Qt::QuickWidgets AND TARGET Qt::Widgets AND (QT_FEATURE_opengl OR QT_FEATURE_opengles2 OR QT_FEATURE_opengles3))
+ add_subdirectory(quickwidgets)
+endif()
diff --git a/examples/quick/animation/CMakeLists.txt b/examples/quick/animation/CMakeLists.txt
new file mode 100644
index 0000000000..c44ab8b589
--- /dev/null
+++ b/examples/quick/animation/CMakeLists.txt
@@ -0,0 +1,136 @@
+# Generated from animation.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(animation LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/animation")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(animation
+ main.cpp
+)
+target_link_libraries(animation PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set_source_files_properties("../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(animation "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../shared"
+ FILES
+ ${shared_resource_files}
+)
+set(animation_resource_files
+ "animation.qml"
+ "basics/animators.qml"
+ "basics/color-animation.qml"
+ "basics/images/face-smile.png"
+ "basics/images/moon.png"
+ "basics/images/shadow.png"
+ "basics/images/star.png"
+ "basics/images/sun.png"
+ "basics/property-animation.qml"
+ "behaviors/FocusRect.qml"
+ "behaviors/SideRect.qml"
+ "behaviors/behavior-example.qml"
+ "behaviors/tvtennis.qml"
+ "behaviors/wigglytext.qml"
+ "easing/easing.qml"
+ "pathanimation/pathanimation.qml"
+ "pathinterpolator/pathinterpolator.qml"
+ "states/qt-logo.png"
+ "states/states.qml"
+ "states/transitions.qml"
+)
+
+qt6_add_resources(animation "animation"
+ PREFIX
+ "/animation"
+ FILES
+ ${animation_resource_files}
+)
+
+install(TARGETS animation
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/canvas/CMakeLists.txt b/examples/quick/canvas/CMakeLists.txt
new file mode 100644
index 0000000000..79a0479b6c
--- /dev/null
+++ b/examples/quick/canvas/CMakeLists.txt
@@ -0,0 +1,127 @@
+# Generated from canvas.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(canvas LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/canvas")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(canvas
+ main.cpp
+)
+target_link_libraries(canvas PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(canvas_resource_files
+ "bezierCurve/bezierCurve.qml"
+ "canvas.qml"
+ "clip/clip.qml"
+ "contents/qt-logo.png"
+ "quadraticCurveTo/quadraticCurveTo.qml"
+ "roundedrect/roundedrect.qml"
+ "smile/smile.qml"
+ "squircle/squircle.png"
+ "squircle/squircle.qml"
+ "tiger/tiger.js"
+ "tiger/tiger.qml"
+)
+
+qt6_add_resources(canvas "canvas"
+ PREFIX
+ "/canvas"
+ FILES
+ ${canvas_resource_files}
+)
+set_source_files_properties("../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(canvas "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS canvas
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/customitems/.prev_CMakeLists.txt b/examples/quick/customitems/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..4afbfe3f6b
--- /dev/null
+++ b/examples/quick/customitems/.prev_CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from customitems.pro.
+
+add_subdirectory(painteditem)
+add_subdirectory(maskedmousearea)
diff --git a/examples/quick/customitems/CMakeLists.txt b/examples/quick/customitems/CMakeLists.txt
new file mode 100644
index 0000000000..4afbfe3f6b
--- /dev/null
+++ b/examples/quick/customitems/CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from customitems.pro.
+
+add_subdirectory(painteditem)
+add_subdirectory(maskedmousearea)
diff --git a/examples/quick/customitems/dialcontrol/CMakeLists.txt b/examples/quick/customitems/dialcontrol/CMakeLists.txt
new file mode 100644
index 0000000000..0ffee20a9b
--- /dev/null
+++ b/examples/quick/customitems/dialcontrol/CMakeLists.txt
@@ -0,0 +1,53 @@
+# Generated from dialcontrol.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(dialcontrol LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/customitems/dialcontrol")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(dialcontrol
+ main.cpp
+)
+target_link_libraries(dialcontrol PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(dialcontrol_resource_files
+ "content/Dial.qml"
+ "content/QuitButton.qml"
+ "content/background.png"
+ "content/needle.png"
+ "content/needle_shadow.png"
+ "content/overlay.png"
+ "content/quit.png"
+ "dialcontrol.qml"
+)
+
+qt6_add_resources(dialcontrol "dialcontrol"
+ PREFIX
+ "/"
+ FILES
+ ${dialcontrol_resource_files}
+)
+
+install(TARGETS dialcontrol
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/customitems/maskedmousearea/CMakeLists.txt b/examples/quick/customitems/maskedmousearea/CMakeLists.txt
new file mode 100644
index 0000000000..7a9b0e0376
--- /dev/null
+++ b/examples/quick/customitems/maskedmousearea/CMakeLists.txt
@@ -0,0 +1,58 @@
+# Generated from maskedmousearea.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(maskedmousearea LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/customitems/maskedmousearea")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(maskedmousearea
+ main.cpp
+ maskedmousearea.cpp maskedmousearea.h
+)
+target_link_libraries(maskedmousearea PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(maskedmousearea_resource_files
+ "images/cloud_1.png"
+ "images/cloud_2.png"
+ "images/moon.png"
+ "maskedmousearea.qml"
+)
+
+qt6_add_resources(maskedmousearea "maskedmousearea"
+ PREFIX
+ "/customitems/maskedmousearea"
+ FILES
+ ${maskedmousearea_resource_files}
+)
+
+install(TARGETS maskedmousearea
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(maskedmousearea PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI Example
+)
+
+qt6_qml_type_registration(maskedmousearea)
diff --git a/examples/quick/customitems/painteditem/CMakeLists.txt b/examples/quick/customitems/painteditem/CMakeLists.txt
new file mode 100644
index 0000000000..8cf04fdfec
--- /dev/null
+++ b/examples/quick/customitems/painteditem/CMakeLists.txt
@@ -0,0 +1,63 @@
+# Generated from painteditem.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(qmltextballoonplugin LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/customitems/painteditem/TextBalloonPlugin")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+qt6_add_qml_module(qmltextballoonplugin
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/TextBalloonPlugin"
+ VERSION 1.0
+ URI "TextBalloonPlugin"
+ INSTALL_LOCATION ${INSTALL_EXAMPLEDIR}
+)
+
+target_sources(qmltextballoonplugin PRIVATE
+ TextBalloonPlugin/plugin.h
+ textballoon.cpp textballoon.h
+)
+target_link_libraries(qmltextballoonplugin PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(painteditem_resource_files
+ "textballoon.h"
+ "textballoons.qml"
+)
+
+qt6_add_resources(qmltextballoonplugin "painteditem"
+ PREFIX
+ "/painteditem"
+ FILES
+ ${painteditem_resource_files}
+)
+
+install(TARGETS qmltextballoonplugin
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(qmltextballoonplugin PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI TextBalloonPlugin
+)
+
+qt6_qml_type_registration(qmltextballoonplugin)
diff --git a/examples/quick/delegatechooser/CMakeLists.txt b/examples/quick/delegatechooser/CMakeLists.txt
new file mode 100644
index 0000000000..2abb900e4c
--- /dev/null
+++ b/examples/quick/delegatechooser/CMakeLists.txt
@@ -0,0 +1,117 @@
+# Generated from delegatechooser.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(delegatechooser LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/delegatechooser")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(delegatechooser
+ main.cpp
+)
+target_link_libraries(delegatechooser PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(qml_resource_files
+ "delegatechooser.qml"
+)
+
+qt6_add_resources(delegatechooser "qml"
+ PREFIX
+ "/"
+ FILES
+ ${qml_resource_files}
+)
+set_source_files_properties("../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(delegatechooser "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS delegatechooser
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/draganddrop/CMakeLists.txt b/examples/quick/draganddrop/CMakeLists.txt
new file mode 100644
index 0000000000..41c6d2c88d
--- /dev/null
+++ b/examples/quick/draganddrop/CMakeLists.txt
@@ -0,0 +1,122 @@
+# Generated from draganddrop.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(draganddrop LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/draganddrop")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(draganddrop
+ main.cpp
+)
+target_link_libraries(draganddrop PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(draganddrop_resource_files
+ "draganddrop.qml"
+ "tiles/DragTile.qml"
+ "tiles/DropTile.qml"
+ "tiles/tiles.qml"
+ "views/Icon.qml"
+ "views/gridview.qml"
+)
+
+qt6_add_resources(draganddrop "draganddrop"
+ PREFIX
+ "/draganddrop"
+ FILES
+ ${draganddrop_resource_files}
+)
+set_source_files_properties("../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(draganddrop "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS draganddrop
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/embeddedinwidgets/CMakeLists.txt b/examples/quick/embeddedinwidgets/CMakeLists.txt
new file mode 100644
index 0000000000..3064ce9105
--- /dev/null
+++ b/examples/quick/embeddedinwidgets/CMakeLists.txt
@@ -0,0 +1,47 @@
+# Generated from embeddedinwidgets.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(embeddedinwidgets LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/embeddedinwidgets")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(embeddedinwidgets
+ main.cpp
+)
+target_link_libraries(embeddedinwidgets PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Quick
+ Qt::Widgets
+)
+
+
+# Resources:
+set(embeddedinwidgets_resource_files
+ "TextBox.qml"
+ "main.qml"
+)
+
+qt6_add_resources(embeddedinwidgets "embeddedinwidgets"
+ PREFIX
+ "/embeddedinwidgets"
+ FILES
+ ${embeddedinwidgets_resource_files}
+)
+
+install(TARGETS embeddedinwidgets
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/externaldraganddrop/CMakeLists.txt b/examples/quick/externaldraganddrop/CMakeLists.txt
new file mode 100644
index 0000000000..562de203e5
--- /dev/null
+++ b/examples/quick/externaldraganddrop/CMakeLists.txt
@@ -0,0 +1,118 @@
+# Generated from externaldraganddrop.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(externaldraganddrop LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/externaldraganddrop")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(externaldraganddrop
+ main.cpp
+)
+target_link_libraries(externaldraganddrop PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(externaldraganddrop_resource_files
+ "DragAndDropTextItem.qml"
+ "externaldraganddrop.qml"
+)
+
+qt6_add_resources(externaldraganddrop "externaldraganddrop"
+ PREFIX
+ "/externaldraganddrop"
+ FILES
+ ${externaldraganddrop_resource_files}
+)
+set_source_files_properties("../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(externaldraganddrop "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS externaldraganddrop
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/imageelements/CMakeLists.txt b/examples/quick/imageelements/CMakeLists.txt
new file mode 100644
index 0000000000..03068241ec
--- /dev/null
+++ b/examples/quick/imageelements/CMakeLists.txt
@@ -0,0 +1,140 @@
+# Generated from imageelements.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(imageelements LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/imageelements")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(imageelements
+ main.cpp
+)
+target_link_libraries(imageelements PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(imageelements_resource_files
+ "animatedimage.qml"
+ "animatedsprite.qml"
+ "borderimage.qml"
+ "content/BearSheet.png"
+ "content/BorderImageSelector.qml"
+ "content/ImageCell.qml"
+ "content/MyBorderImage.qml"
+ "content/ShadowRectangle.qml"
+ "content/Uniflow_steam_engine.gif"
+ "content/arrow.png"
+ "content/bw.png"
+ "content/colors-round.sci"
+ "content/colors-stretch.sci"
+ "content/colors.png"
+ "content/multi.ico"
+ "content/qt-logo.png"
+ "content/shadow.png"
+ "content/speaker.png"
+ "framestepping.qml"
+ "image.qml"
+ "imageelements.qml"
+ "multiframeborderimage.qml"
+ "shadows.qml"
+ "spritesequence.qml"
+)
+
+qt6_add_resources(imageelements "imageelements"
+ PREFIX
+ "/imageelements"
+ FILES
+ ${imageelements_resource_files}
+)
+set_source_files_properties("../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(imageelements "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS imageelements
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/imageprovider/CMakeLists.txt b/examples/quick/imageprovider/CMakeLists.txt
new file mode 100644
index 0000000000..69008ef00a
--- /dev/null
+++ b/examples/quick/imageprovider/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from imageprovider.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(qmlimageproviderplugin LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/imageprovider/ImageProviderCore")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+qt6_add_qml_module(qmlimageproviderplugin
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/ImageProviderCore"
+ VERSION 1.0
+ URI "ImageProviderCore"
+ INSTALL_LOCATION ${INSTALL_EXAMPLEDIR}
+)
+
+target_sources(qmlimageproviderplugin PRIVATE
+ imageprovider.cpp
+)
+target_link_libraries(qmlimageproviderplugin PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+install(TARGETS qmlimageproviderplugin
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/imageresponseprovider/CMakeLists.txt b/examples/quick/imageresponseprovider/CMakeLists.txt
new file mode 100644
index 0000000000..4b7a33c1b1
--- /dev/null
+++ b/examples/quick/imageresponseprovider/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from imageresponseprovider.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(qmlimageresponseproviderplugin LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/imageresponseprovider/ImageResponseProviderCore")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+qt6_add_qml_module(qmlimageresponseproviderplugin
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/ImageResponseProviderCore"
+ VERSION 1.0
+ URI "ImageResponseProviderCore"
+ INSTALL_LOCATION ${INSTALL_EXAMPLEDIR}
+)
+
+target_sources(qmlimageresponseproviderplugin PRIVATE
+ imageresponseprovider.cpp
+)
+target_link_libraries(qmlimageresponseproviderplugin PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+install(TARGETS qmlimageresponseproviderplugin
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/keyinteraction/CMakeLists.txt b/examples/quick/keyinteraction/CMakeLists.txt
new file mode 100644
index 0000000000..50505dd2da
--- /dev/null
+++ b/examples/quick/keyinteraction/CMakeLists.txt
@@ -0,0 +1,54 @@
+# Generated from keyinteraction.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(keyinteraction LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/keyinteraction")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(keyinteraction
+ main.cpp
+)
+target_link_libraries(keyinteraction PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(keyinteraction_resource_files
+ "focus/Core/ContextMenu.qml"
+ "focus/Core/GridMenu.qml"
+ "focus/Core/ListMenu.qml"
+ "focus/Core/ListViewDelegate.qml"
+ "focus/Core/TabMenu.qml"
+ "focus/Core/images/arrow.png"
+ "focus/Core/images/qt-logo.png"
+ "focus/focus.qml"
+ "keyinteraction.qml"
+)
+
+qt6_add_resources(keyinteraction "keyinteraction"
+ PREFIX
+ "/keyinteraction"
+ FILES
+ ${keyinteraction_resource_files}
+)
+
+install(TARGETS keyinteraction
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/layouts/CMakeLists.txt b/examples/quick/layouts/CMakeLists.txt
new file mode 100644
index 0000000000..b83e3256a0
--- /dev/null
+++ b/examples/quick/layouts/CMakeLists.txt
@@ -0,0 +1,46 @@
+# Generated from layouts.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(layouts LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/layouts")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(layouts
+ main.cpp
+)
+target_link_libraries(layouts PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(layouts_resource_files
+ "layouts.qml"
+)
+
+qt6_add_resources(layouts "layouts"
+ PREFIX
+ "/layouts"
+ FILES
+ ${layouts_resource_files}
+)
+
+install(TARGETS layouts
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/localstorage/CMakeLists.txt b/examples/quick/localstorage/CMakeLists.txt
new file mode 100644
index 0000000000..913f64dd1b
--- /dev/null
+++ b/examples/quick/localstorage/CMakeLists.txt
@@ -0,0 +1,3 @@
+# Generated from localstorage.pro.
+
+add_subdirectory(localstorage)
diff --git a/examples/quick/localstorage/localstorage/CMakeLists.txt b/examples/quick/localstorage/localstorage/CMakeLists.txt
new file mode 100644
index 0000000000..60d2e82fbf
--- /dev/null
+++ b/examples/quick/localstorage/localstorage/CMakeLists.txt
@@ -0,0 +1,122 @@
+# Generated from localstorage.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(localstorage LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/localstorage/localstorage")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(localstorage
+ main.cpp
+)
+target_link_libraries(localstorage PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(localstorage_resource_files
+ "Database.js"
+ "Header.qml"
+ "MyButton.qml"
+ "MyDelegate.qml"
+ "MyModel.qml"
+ "localstorage.qml"
+)
+
+qt6_add_resources(localstorage "localstorage"
+ PREFIX
+ "/"
+ FILES
+ ${localstorage_resource_files}
+)
+set_source_files_properties("../../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(localstorage "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS localstorage
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/models/CMakeLists.txt b/examples/quick/models/CMakeLists.txt
new file mode 100644
index 0000000000..6beadd409c
--- /dev/null
+++ b/examples/quick/models/CMakeLists.txt
@@ -0,0 +1,5 @@
+# Generated from models.pro.
+
+add_subdirectory(abstractitemmodel)
+add_subdirectory(objectlistmodel)
+add_subdirectory(stringlistmodel)
diff --git a/examples/quick/models/abstractitemmodel/CMakeLists.txt b/examples/quick/models/abstractitemmodel/CMakeLists.txt
new file mode 100644
index 0000000000..242a90f7c5
--- /dev/null
+++ b/examples/quick/models/abstractitemmodel/CMakeLists.txt
@@ -0,0 +1,47 @@
+# Generated from abstractitemmodel.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(abstractitemmodel LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/models/abstractitemmodel")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(abstractitemmodel
+ main.cpp
+ model.cpp model.h
+)
+target_link_libraries(abstractitemmodel PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(abstractitemmodel_resource_files
+ "view.qml"
+)
+
+qt6_add_resources(abstractitemmodel "abstractitemmodel"
+ PREFIX
+ "/"
+ FILES
+ ${abstractitemmodel_resource_files}
+)
+
+install(TARGETS abstractitemmodel
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/models/objectlistmodel/CMakeLists.txt b/examples/quick/models/objectlistmodel/CMakeLists.txt
new file mode 100644
index 0000000000..1c29dcdcb6
--- /dev/null
+++ b/examples/quick/models/objectlistmodel/CMakeLists.txt
@@ -0,0 +1,47 @@
+# Generated from objectlistmodel.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(objectlistmodel LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/models/objectlistmodel")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(objectlistmodel
+ dataobject.cpp dataobject.h
+ main.cpp
+)
+target_link_libraries(objectlistmodel PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(objectlistmodel_resource_files
+ "view.qml"
+)
+
+qt6_add_resources(objectlistmodel "objectlistmodel"
+ PREFIX
+ "/"
+ FILES
+ ${objectlistmodel_resource_files}
+)
+
+install(TARGETS objectlistmodel
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/models/stringlistmodel/CMakeLists.txt b/examples/quick/models/stringlistmodel/CMakeLists.txt
new file mode 100644
index 0000000000..3b15a97450
--- /dev/null
+++ b/examples/quick/models/stringlistmodel/CMakeLists.txt
@@ -0,0 +1,46 @@
+# Generated from stringlistmodel.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(stringlistmodel LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/models/stringlistmodel")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(stringlistmodel
+ main.cpp
+)
+target_link_libraries(stringlistmodel PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(stringlistmodel_resource_files
+ "view.qml"
+)
+
+qt6_add_resources(stringlistmodel "stringlistmodel"
+ PREFIX
+ "/"
+ FILES
+ ${stringlistmodel_resource_files}
+)
+
+install(TARGETS stringlistmodel
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/mousearea/CMakeLists.txt b/examples/quick/mousearea/CMakeLists.txt
new file mode 100644
index 0000000000..82a1d2fb35
--- /dev/null
+++ b/examples/quick/mousearea/CMakeLists.txt
@@ -0,0 +1,47 @@
+# Generated from mousearea.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(mousearea LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/mousearea")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(mousearea
+ main.cpp
+)
+target_link_libraries(mousearea PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(mousearea_resource_files
+ "mousearea-wheel-example.qml"
+ "mousearea.qml"
+)
+
+qt6_add_resources(mousearea "mousearea"
+ PREFIX
+ "/mousearea"
+ FILES
+ ${mousearea_resource_files}
+)
+
+install(TARGETS mousearea
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/particles/.prev_CMakeLists.txt b/examples/quick/particles/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..9bc4e894a5
--- /dev/null
+++ b/examples/quick/particles/.prev_CMakeLists.txt
@@ -0,0 +1,8 @@
+# Generated from particles.pro.
+
+add_subdirectory(affectors)
+add_subdirectory(customparticle)
+add_subdirectory(emitters)
+add_subdirectory(imageparticle)
+add_subdirectory(itemparticle)
+add_subdirectory(system)
diff --git a/examples/quick/particles/CMakeLists.txt b/examples/quick/particles/CMakeLists.txt
new file mode 100644
index 0000000000..9bc4e894a5
--- /dev/null
+++ b/examples/quick/particles/CMakeLists.txt
@@ -0,0 +1,8 @@
+# Generated from particles.pro.
+
+add_subdirectory(affectors)
+add_subdirectory(customparticle)
+add_subdirectory(emitters)
+add_subdirectory(imageparticle)
+add_subdirectory(itemparticle)
+add_subdirectory(system)
diff --git a/examples/quick/particles/affectors/CMakeLists.txt b/examples/quick/particles/affectors/CMakeLists.txt
new file mode 100644
index 0000000000..9675a61051
--- /dev/null
+++ b/examples/quick/particles/affectors/CMakeLists.txt
@@ -0,0 +1,263 @@
+# Generated from affectors.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(affectors LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/particles/affectors")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(affectors
+ main.cpp
+)
+target_link_libraries(affectors PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(affectors_resource_files
+ "affectors.qml"
+ "content/GreyButton.qml"
+ "content/age.qml"
+ "content/attractor.qml"
+ "content/customaffector.qml"
+ "content/friction.qml"
+ "content/gravity.qml"
+ "content/groupgoal.qml"
+ "content/move.qml"
+ "content/spritegoal.qml"
+ "content/turbulence.qml"
+ "content/wander.qml"
+)
+
+qt6_add_resources(affectors "affectors"
+ PREFIX
+ "/particles/affectors"
+ FILES
+ ${affectors_resource_files}
+)
+set_source_files_properties("../images/_explo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/_explo.png"
+)
+set_source_files_properties("../images/backgroundLeaves.jpg"
+ PROPERTIES QT_RESOURCE_ALIAS "images/backgroundLeaves.jpg"
+)
+set_source_files_properties("../images/bear_tiles.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/bear_tiles.png"
+)
+set_source_files_properties("../images/candle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/candle.png"
+)
+set_source_files_properties("../images/colortable.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/colortable.png"
+)
+set_source_files_properties("../images/finalfrontier.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/finalfrontier.png"
+)
+set_source_files_properties("../images/flower.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/flower.png"
+)
+set_source_files_properties("../images/matchmask.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/matchmask.png"
+)
+set_source_files_properties("../images/meteor.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/meteor.png"
+)
+set_source_files_properties("../images/meteor_explo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/meteor_explo.png"
+)
+set_source_files_properties("../images/meteors.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/meteors.png"
+)
+set_source_files_properties("../images/nullRock.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/nullRock.png"
+)
+set_source_files_properties("../images/particle2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/particle2.png"
+)
+set_source_files_properties("../images/particle3.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/particle3.png"
+)
+set_source_files_properties("../images/particleA.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/particleA.png"
+)
+set_source_files_properties("../images/portal_bg.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/portal_bg.png"
+)
+set_source_files_properties("../images/realLeaf1.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf1.png"
+)
+set_source_files_properties("../images/realLeaf2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf2.png"
+)
+set_source_files_properties("../images/realLeaf3.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf3.png"
+)
+set_source_files_properties("../images/realLeaf4.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf4.png"
+)
+set_source_files_properties("../images/rocket.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/rocket.png"
+)
+set_source_files_properties("../images/rocket2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/rocket2.png"
+)
+set_source_files_properties("../images/sizeInOut.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/sizeInOut.png"
+)
+set_source_files_properties("../images/snowflake.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/snowflake.png"
+)
+set_source_files_properties("../images/sparkleSize.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/sparkleSize.png"
+)
+set_source_files_properties("../images/starfish_0.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_0.png"
+)
+set_source_files_properties("../images/starfish_1.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_1.png"
+)
+set_source_files_properties("../images/starfish_2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_2.png"
+)
+set_source_files_properties("../images/starfish_3.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_3.png"
+)
+set_source_files_properties("../images/starfish_4.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_4.png"
+)
+set_source_files_properties("../images/starfish_mask.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_mask.png"
+)
+set(images_resource_files
+ "images/_explo.png"
+ "images/backgroundLeaves.jpg"
+ "images/bear_tiles.png"
+ "images/candle.png"
+ "images/colortable.png"
+ "images/finalfrontier.png"
+ "images/flower.png"
+ "images/matchmask.png"
+ "images/meteor.png"
+ "images/meteor_explo.png"
+ "images/meteors.png"
+ "images/nullRock.png"
+ "images/particle2.png"
+ "images/particle3.png"
+ "images/particleA.png"
+ "images/portal_bg.png"
+ "images/realLeaf1.png"
+ "images/realLeaf2.png"
+ "images/realLeaf3.png"
+ "images/realLeaf4.png"
+ "images/rocket.png"
+ "images/rocket2.png"
+ "images/sizeInOut.png"
+ "images/snowflake.png"
+ "images/sparkleSize.png"
+ "images/starfish_0.png"
+ "images/starfish_1.png"
+ "images/starfish_2.png"
+ "images/starfish_3.png"
+ "images/starfish_4.png"
+ "images/starfish_mask.png"
+)
+
+qt6_add_resources(affectors "images"
+ PREFIX
+ "/particles"
+ BASE
+ ".."
+ FILES
+ ${images_resource_files}
+)
+set_source_files_properties("../../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(affectors "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS affectors
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/particles/customparticle/CMakeLists.txt b/examples/quick/particles/customparticle/CMakeLists.txt
new file mode 100644
index 0000000000..d19a5a49b8
--- /dev/null
+++ b/examples/quick/particles/customparticle/CMakeLists.txt
@@ -0,0 +1,255 @@
+# Generated from customparticle.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(customparticle LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/particles/customparticle")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(customparticle
+ main.cpp
+)
+target_link_libraries(customparticle PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(customparticle_resource_files
+ "content/blurparticles.qml"
+ "content/fragmentshader.qml"
+ "content/imagecolors.qml"
+ "customparticle.qml"
+)
+
+qt6_add_resources(customparticle "customparticle"
+ PREFIX
+ "/particles/customparticle"
+ FILES
+ ${customparticle_resource_files}
+)
+set_source_files_properties("../images/_explo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/_explo.png"
+)
+set_source_files_properties("../images/backgroundLeaves.jpg"
+ PROPERTIES QT_RESOURCE_ALIAS "images/backgroundLeaves.jpg"
+)
+set_source_files_properties("../images/bear_tiles.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/bear_tiles.png"
+)
+set_source_files_properties("../images/candle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/candle.png"
+)
+set_source_files_properties("../images/colortable.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/colortable.png"
+)
+set_source_files_properties("../images/finalfrontier.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/finalfrontier.png"
+)
+set_source_files_properties("../images/flower.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/flower.png"
+)
+set_source_files_properties("../images/matchmask.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/matchmask.png"
+)
+set_source_files_properties("../images/meteor.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/meteor.png"
+)
+set_source_files_properties("../images/meteor_explo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/meteor_explo.png"
+)
+set_source_files_properties("../images/meteors.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/meteors.png"
+)
+set_source_files_properties("../images/nullRock.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/nullRock.png"
+)
+set_source_files_properties("../images/particle2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/particle2.png"
+)
+set_source_files_properties("../images/particle3.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/particle3.png"
+)
+set_source_files_properties("../images/particleA.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/particleA.png"
+)
+set_source_files_properties("../images/portal_bg.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/portal_bg.png"
+)
+set_source_files_properties("../images/realLeaf1.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf1.png"
+)
+set_source_files_properties("../images/realLeaf2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf2.png"
+)
+set_source_files_properties("../images/realLeaf3.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf3.png"
+)
+set_source_files_properties("../images/realLeaf4.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf4.png"
+)
+set_source_files_properties("../images/rocket.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/rocket.png"
+)
+set_source_files_properties("../images/rocket2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/rocket2.png"
+)
+set_source_files_properties("../images/sizeInOut.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/sizeInOut.png"
+)
+set_source_files_properties("../images/snowflake.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/snowflake.png"
+)
+set_source_files_properties("../images/sparkleSize.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/sparkleSize.png"
+)
+set_source_files_properties("../images/starfish_0.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_0.png"
+)
+set_source_files_properties("../images/starfish_1.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_1.png"
+)
+set_source_files_properties("../images/starfish_2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_2.png"
+)
+set_source_files_properties("../images/starfish_3.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_3.png"
+)
+set_source_files_properties("../images/starfish_4.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_4.png"
+)
+set_source_files_properties("../images/starfish_mask.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_mask.png"
+)
+set(images_resource_files
+ "images/_explo.png"
+ "images/backgroundLeaves.jpg"
+ "images/bear_tiles.png"
+ "images/candle.png"
+ "images/colortable.png"
+ "images/finalfrontier.png"
+ "images/flower.png"
+ "images/matchmask.png"
+ "images/meteor.png"
+ "images/meteor_explo.png"
+ "images/meteors.png"
+ "images/nullRock.png"
+ "images/particle2.png"
+ "images/particle3.png"
+ "images/particleA.png"
+ "images/portal_bg.png"
+ "images/realLeaf1.png"
+ "images/realLeaf2.png"
+ "images/realLeaf3.png"
+ "images/realLeaf4.png"
+ "images/rocket.png"
+ "images/rocket2.png"
+ "images/sizeInOut.png"
+ "images/snowflake.png"
+ "images/sparkleSize.png"
+ "images/starfish_0.png"
+ "images/starfish_1.png"
+ "images/starfish_2.png"
+ "images/starfish_3.png"
+ "images/starfish_4.png"
+ "images/starfish_mask.png"
+)
+
+qt6_add_resources(customparticle "images"
+ PREFIX
+ "/particles"
+ BASE
+ ".."
+ FILES
+ ${images_resource_files}
+)
+set_source_files_properties("../../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(customparticle "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS customparticle
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/particles/emitters/CMakeLists.txt b/examples/quick/particles/emitters/CMakeLists.txt
new file mode 100644
index 0000000000..94e7e5ef18
--- /dev/null
+++ b/examples/quick/particles/emitters/CMakeLists.txt
@@ -0,0 +1,259 @@
+# Generated from emitters.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(emitters LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/particles/emitters")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(emitters
+ main.cpp
+)
+target_link_libraries(emitters PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(emitters_resource_files
+ "content/burstandpulse.qml"
+ "content/customemitter.qml"
+ "content/emitmask.qml"
+ "content/maximumemitted.qml"
+ "content/shapeanddirection.qml"
+ "content/trailemitter.qml"
+ "content/velocityfrommotion.qml"
+ "emitters.qml"
+)
+
+qt6_add_resources(emitters "emitters"
+ PREFIX
+ "/particles/emitters"
+ FILES
+ ${emitters_resource_files}
+)
+set_source_files_properties("../images/_explo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/_explo.png"
+)
+set_source_files_properties("../images/backgroundLeaves.jpg"
+ PROPERTIES QT_RESOURCE_ALIAS "images/backgroundLeaves.jpg"
+)
+set_source_files_properties("../images/bear_tiles.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/bear_tiles.png"
+)
+set_source_files_properties("../images/candle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/candle.png"
+)
+set_source_files_properties("../images/colortable.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/colortable.png"
+)
+set_source_files_properties("../images/finalfrontier.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/finalfrontier.png"
+)
+set_source_files_properties("../images/flower.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/flower.png"
+)
+set_source_files_properties("../images/matchmask.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/matchmask.png"
+)
+set_source_files_properties("../images/meteor.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/meteor.png"
+)
+set_source_files_properties("../images/meteor_explo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/meteor_explo.png"
+)
+set_source_files_properties("../images/meteors.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/meteors.png"
+)
+set_source_files_properties("../images/nullRock.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/nullRock.png"
+)
+set_source_files_properties("../images/particle2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/particle2.png"
+)
+set_source_files_properties("../images/particle3.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/particle3.png"
+)
+set_source_files_properties("../images/particleA.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/particleA.png"
+)
+set_source_files_properties("../images/portal_bg.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/portal_bg.png"
+)
+set_source_files_properties("../images/realLeaf1.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf1.png"
+)
+set_source_files_properties("../images/realLeaf2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf2.png"
+)
+set_source_files_properties("../images/realLeaf3.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf3.png"
+)
+set_source_files_properties("../images/realLeaf4.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf4.png"
+)
+set_source_files_properties("../images/rocket.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/rocket.png"
+)
+set_source_files_properties("../images/rocket2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/rocket2.png"
+)
+set_source_files_properties("../images/sizeInOut.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/sizeInOut.png"
+)
+set_source_files_properties("../images/snowflake.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/snowflake.png"
+)
+set_source_files_properties("../images/sparkleSize.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/sparkleSize.png"
+)
+set_source_files_properties("../images/starfish_0.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_0.png"
+)
+set_source_files_properties("../images/starfish_1.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_1.png"
+)
+set_source_files_properties("../images/starfish_2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_2.png"
+)
+set_source_files_properties("../images/starfish_3.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_3.png"
+)
+set_source_files_properties("../images/starfish_4.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_4.png"
+)
+set_source_files_properties("../images/starfish_mask.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_mask.png"
+)
+set(images_resource_files
+ "images/_explo.png"
+ "images/backgroundLeaves.jpg"
+ "images/bear_tiles.png"
+ "images/candle.png"
+ "images/colortable.png"
+ "images/finalfrontier.png"
+ "images/flower.png"
+ "images/matchmask.png"
+ "images/meteor.png"
+ "images/meteor_explo.png"
+ "images/meteors.png"
+ "images/nullRock.png"
+ "images/particle2.png"
+ "images/particle3.png"
+ "images/particleA.png"
+ "images/portal_bg.png"
+ "images/realLeaf1.png"
+ "images/realLeaf2.png"
+ "images/realLeaf3.png"
+ "images/realLeaf4.png"
+ "images/rocket.png"
+ "images/rocket2.png"
+ "images/sizeInOut.png"
+ "images/snowflake.png"
+ "images/sparkleSize.png"
+ "images/starfish_0.png"
+ "images/starfish_1.png"
+ "images/starfish_2.png"
+ "images/starfish_3.png"
+ "images/starfish_4.png"
+ "images/starfish_mask.png"
+)
+
+qt6_add_resources(emitters "images"
+ PREFIX
+ "/particles"
+ BASE
+ ".."
+ FILES
+ ${images_resource_files}
+)
+set_source_files_properties("../../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(emitters "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS emitters
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/particles/imageparticle/CMakeLists.txt b/examples/quick/particles/imageparticle/CMakeLists.txt
new file mode 100644
index 0000000000..05b307f83d
--- /dev/null
+++ b/examples/quick/particles/imageparticle/CMakeLists.txt
@@ -0,0 +1,259 @@
+# Generated from imageparticle.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(imageparticle LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/particles/imageparticle")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(imageparticle
+ main.cpp
+)
+target_link_libraries(imageparticle PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(imageparticle_resource_files
+ "content/allatonce.qml"
+ "content/colored.qml"
+ "content/colortable.qml"
+ "content/deformation.qml"
+ "content/rotation.qml"
+ "content/sharing.qml"
+ "content/sprites.qml"
+ "imageparticle.qml"
+)
+
+qt6_add_resources(imageparticle "imageparticle"
+ PREFIX
+ "/particles/imageparticle"
+ FILES
+ ${imageparticle_resource_files}
+)
+set_source_files_properties("../images/_explo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/_explo.png"
+)
+set_source_files_properties("../images/backgroundLeaves.jpg"
+ PROPERTIES QT_RESOURCE_ALIAS "images/backgroundLeaves.jpg"
+)
+set_source_files_properties("../images/bear_tiles.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/bear_tiles.png"
+)
+set_source_files_properties("../images/candle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/candle.png"
+)
+set_source_files_properties("../images/colortable.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/colortable.png"
+)
+set_source_files_properties("../images/finalfrontier.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/finalfrontier.png"
+)
+set_source_files_properties("../images/flower.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/flower.png"
+)
+set_source_files_properties("../images/matchmask.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/matchmask.png"
+)
+set_source_files_properties("../images/meteor.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/meteor.png"
+)
+set_source_files_properties("../images/meteor_explo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/meteor_explo.png"
+)
+set_source_files_properties("../images/meteors.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/meteors.png"
+)
+set_source_files_properties("../images/nullRock.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/nullRock.png"
+)
+set_source_files_properties("../images/particle2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/particle2.png"
+)
+set_source_files_properties("../images/particle3.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/particle3.png"
+)
+set_source_files_properties("../images/particleA.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/particleA.png"
+)
+set_source_files_properties("../images/portal_bg.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/portal_bg.png"
+)
+set_source_files_properties("../images/realLeaf1.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf1.png"
+)
+set_source_files_properties("../images/realLeaf2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf2.png"
+)
+set_source_files_properties("../images/realLeaf3.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf3.png"
+)
+set_source_files_properties("../images/realLeaf4.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf4.png"
+)
+set_source_files_properties("../images/rocket.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/rocket.png"
+)
+set_source_files_properties("../images/rocket2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/rocket2.png"
+)
+set_source_files_properties("../images/sizeInOut.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/sizeInOut.png"
+)
+set_source_files_properties("../images/snowflake.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/snowflake.png"
+)
+set_source_files_properties("../images/sparkleSize.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/sparkleSize.png"
+)
+set_source_files_properties("../images/starfish_0.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_0.png"
+)
+set_source_files_properties("../images/starfish_1.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_1.png"
+)
+set_source_files_properties("../images/starfish_2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_2.png"
+)
+set_source_files_properties("../images/starfish_3.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_3.png"
+)
+set_source_files_properties("../images/starfish_4.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_4.png"
+)
+set_source_files_properties("../images/starfish_mask.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_mask.png"
+)
+set(images_resource_files
+ "images/_explo.png"
+ "images/backgroundLeaves.jpg"
+ "images/bear_tiles.png"
+ "images/candle.png"
+ "images/colortable.png"
+ "images/finalfrontier.png"
+ "images/flower.png"
+ "images/matchmask.png"
+ "images/meteor.png"
+ "images/meteor_explo.png"
+ "images/meteors.png"
+ "images/nullRock.png"
+ "images/particle2.png"
+ "images/particle3.png"
+ "images/particleA.png"
+ "images/portal_bg.png"
+ "images/realLeaf1.png"
+ "images/realLeaf2.png"
+ "images/realLeaf3.png"
+ "images/realLeaf4.png"
+ "images/rocket.png"
+ "images/rocket2.png"
+ "images/sizeInOut.png"
+ "images/snowflake.png"
+ "images/sparkleSize.png"
+ "images/starfish_0.png"
+ "images/starfish_1.png"
+ "images/starfish_2.png"
+ "images/starfish_3.png"
+ "images/starfish_4.png"
+ "images/starfish_mask.png"
+)
+
+qt6_add_resources(imageparticle "images"
+ PREFIX
+ "/particles"
+ BASE
+ ".."
+ FILES
+ ${images_resource_files}
+)
+set_source_files_properties("../../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(imageparticle "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS imageparticle
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/particles/itemparticle/CMakeLists.txt b/examples/quick/particles/itemparticle/CMakeLists.txt
new file mode 100644
index 0000000000..9e09849c30
--- /dev/null
+++ b/examples/quick/particles/itemparticle/CMakeLists.txt
@@ -0,0 +1,263 @@
+# Generated from itemparticle.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(itemparticle LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/particles/itemparticle")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(itemparticle
+ main.cpp
+)
+target_link_libraries(itemparticle PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+file(GLOB resource_glob_0 RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "content/*")
+foreach(file IN LISTS resource_glob_0)
+ set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/${file}" PROPERTIES QT_RESOURCE_ALIAS "${file}")
+endforeach()
+
+file(GLOB resource_glob_1 RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*qml")
+foreach(file IN LISTS resource_glob_1)
+ set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/${file}" PROPERTIES QT_RESOURCE_ALIAS "${file}")
+endforeach()
+
+# Resources:
+set_source_files_properties("../images/_explo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/_explo.png"
+)
+set_source_files_properties("../images/backgroundLeaves.jpg"
+ PROPERTIES QT_RESOURCE_ALIAS "images/backgroundLeaves.jpg"
+)
+set_source_files_properties("../images/bear_tiles.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/bear_tiles.png"
+)
+set_source_files_properties("../images/candle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/candle.png"
+)
+set_source_files_properties("../images/colortable.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/colortable.png"
+)
+set_source_files_properties("../images/finalfrontier.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/finalfrontier.png"
+)
+set_source_files_properties("../images/flower.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/flower.png"
+)
+set_source_files_properties("../images/matchmask.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/matchmask.png"
+)
+set_source_files_properties("../images/meteor.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/meteor.png"
+)
+set_source_files_properties("../images/meteor_explo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/meteor_explo.png"
+)
+set_source_files_properties("../images/meteors.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/meteors.png"
+)
+set_source_files_properties("../images/nullRock.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/nullRock.png"
+)
+set_source_files_properties("../images/particle2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/particle2.png"
+)
+set_source_files_properties("../images/particle3.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/particle3.png"
+)
+set_source_files_properties("../images/particleA.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/particleA.png"
+)
+set_source_files_properties("../images/portal_bg.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/portal_bg.png"
+)
+set_source_files_properties("../images/realLeaf1.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf1.png"
+)
+set_source_files_properties("../images/realLeaf2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf2.png"
+)
+set_source_files_properties("../images/realLeaf3.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf3.png"
+)
+set_source_files_properties("../images/realLeaf4.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf4.png"
+)
+set_source_files_properties("../images/rocket.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/rocket.png"
+)
+set_source_files_properties("../images/rocket2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/rocket2.png"
+)
+set_source_files_properties("../images/sizeInOut.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/sizeInOut.png"
+)
+set_source_files_properties("../images/snowflake.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/snowflake.png"
+)
+set_source_files_properties("../images/sparkleSize.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/sparkleSize.png"
+)
+set_source_files_properties("../images/starfish_0.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_0.png"
+)
+set_source_files_properties("../images/starfish_1.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_1.png"
+)
+set_source_files_properties("../images/starfish_2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_2.png"
+)
+set_source_files_properties("../images/starfish_3.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_3.png"
+)
+set_source_files_properties("../images/starfish_4.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_4.png"
+)
+set_source_files_properties("../images/starfish_mask.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_mask.png"
+)
+set(images_resource_files
+ "images/_explo.png"
+ "images/backgroundLeaves.jpg"
+ "images/bear_tiles.png"
+ "images/candle.png"
+ "images/colortable.png"
+ "images/finalfrontier.png"
+ "images/flower.png"
+ "images/matchmask.png"
+ "images/meteor.png"
+ "images/meteor_explo.png"
+ "images/meteors.png"
+ "images/nullRock.png"
+ "images/particle2.png"
+ "images/particle3.png"
+ "images/particleA.png"
+ "images/portal_bg.png"
+ "images/realLeaf1.png"
+ "images/realLeaf2.png"
+ "images/realLeaf3.png"
+ "images/realLeaf4.png"
+ "images/rocket.png"
+ "images/rocket2.png"
+ "images/sizeInOut.png"
+ "images/snowflake.png"
+ "images/sparkleSize.png"
+ "images/starfish_0.png"
+ "images/starfish_1.png"
+ "images/starfish_2.png"
+ "images/starfish_3.png"
+ "images/starfish_4.png"
+ "images/starfish_mask.png"
+)
+
+qt6_add_resources(itemparticle "images"
+ PREFIX
+ "/particles"
+ BASE
+ ".."
+ FILES
+ ${images_resource_files}
+)
+set_source_files_properties("../../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(itemparticle "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../../shared"
+ FILES
+ ${shared_resource_files}
+)
+set(qmake_immediate_resource_files
+ ${resource_glob_0}
+ ${resource_glob_1}
+)
+
+qt6_add_resources(itemparticle "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+install(TARGETS itemparticle
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/particles/system/CMakeLists.txt b/examples/quick/particles/system/CMakeLists.txt
new file mode 100644
index 0000000000..09513b46f7
--- /dev/null
+++ b/examples/quick/particles/system/CMakeLists.txt
@@ -0,0 +1,257 @@
+# Generated from system.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(system LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/particles/system")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(system
+ main.cpp
+)
+target_link_libraries(system PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(system_resource_files
+ "content/dynamiccomparison.qml"
+ "content/dynamicemitters.qml"
+ "content/multiplepainters.qml"
+ "content/startstop.qml"
+ "content/timedgroupchanges.qml"
+ "system.qml"
+)
+
+qt6_add_resources(system "system"
+ PREFIX
+ "/particles/system"
+ FILES
+ ${system_resource_files}
+)
+set_source_files_properties("../images/_explo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/_explo.png"
+)
+set_source_files_properties("../images/backgroundLeaves.jpg"
+ PROPERTIES QT_RESOURCE_ALIAS "images/backgroundLeaves.jpg"
+)
+set_source_files_properties("../images/bear_tiles.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/bear_tiles.png"
+)
+set_source_files_properties("../images/candle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/candle.png"
+)
+set_source_files_properties("../images/colortable.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/colortable.png"
+)
+set_source_files_properties("../images/finalfrontier.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/finalfrontier.png"
+)
+set_source_files_properties("../images/flower.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/flower.png"
+)
+set_source_files_properties("../images/matchmask.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/matchmask.png"
+)
+set_source_files_properties("../images/meteor.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/meteor.png"
+)
+set_source_files_properties("../images/meteor_explo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/meteor_explo.png"
+)
+set_source_files_properties("../images/meteors.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/meteors.png"
+)
+set_source_files_properties("../images/nullRock.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/nullRock.png"
+)
+set_source_files_properties("../images/particle2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/particle2.png"
+)
+set_source_files_properties("../images/particle3.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/particle3.png"
+)
+set_source_files_properties("../images/particleA.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/particleA.png"
+)
+set_source_files_properties("../images/portal_bg.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/portal_bg.png"
+)
+set_source_files_properties("../images/realLeaf1.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf1.png"
+)
+set_source_files_properties("../images/realLeaf2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf2.png"
+)
+set_source_files_properties("../images/realLeaf3.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf3.png"
+)
+set_source_files_properties("../images/realLeaf4.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/realLeaf4.png"
+)
+set_source_files_properties("../images/rocket.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/rocket.png"
+)
+set_source_files_properties("../images/rocket2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/rocket2.png"
+)
+set_source_files_properties("../images/sizeInOut.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/sizeInOut.png"
+)
+set_source_files_properties("../images/snowflake.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/snowflake.png"
+)
+set_source_files_properties("../images/sparkleSize.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/sparkleSize.png"
+)
+set_source_files_properties("../images/starfish_0.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_0.png"
+)
+set_source_files_properties("../images/starfish_1.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_1.png"
+)
+set_source_files_properties("../images/starfish_2.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_2.png"
+)
+set_source_files_properties("../images/starfish_3.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_3.png"
+)
+set_source_files_properties("../images/starfish_4.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_4.png"
+)
+set_source_files_properties("../images/starfish_mask.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/starfish_mask.png"
+)
+set(images_resource_files
+ "images/_explo.png"
+ "images/backgroundLeaves.jpg"
+ "images/bear_tiles.png"
+ "images/candle.png"
+ "images/colortable.png"
+ "images/finalfrontier.png"
+ "images/flower.png"
+ "images/matchmask.png"
+ "images/meteor.png"
+ "images/meteor_explo.png"
+ "images/meteors.png"
+ "images/nullRock.png"
+ "images/particle2.png"
+ "images/particle3.png"
+ "images/particleA.png"
+ "images/portal_bg.png"
+ "images/realLeaf1.png"
+ "images/realLeaf2.png"
+ "images/realLeaf3.png"
+ "images/realLeaf4.png"
+ "images/rocket.png"
+ "images/rocket2.png"
+ "images/sizeInOut.png"
+ "images/snowflake.png"
+ "images/sparkleSize.png"
+ "images/starfish_0.png"
+ "images/starfish_1.png"
+ "images/starfish_2.png"
+ "images/starfish_3.png"
+ "images/starfish_4.png"
+ "images/starfish_mask.png"
+)
+
+qt6_add_resources(system "images"
+ PREFIX
+ "/particles"
+ BASE
+ ".."
+ FILES
+ ${images_resource_files}
+)
+set_source_files_properties("../../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(system "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS system
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/positioners/CMakeLists.txt b/examples/quick/positioners/CMakeLists.txt
new file mode 100644
index 0000000000..1f8cb8a855
--- /dev/null
+++ b/examples/quick/positioners/CMakeLists.txt
@@ -0,0 +1,119 @@
+# Generated from positioners.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(positioners LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/positioners")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(positioners
+ main.cpp
+)
+target_link_libraries(positioners PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(positioners_resource_files
+ "positioners-attachedproperties.qml"
+ "positioners-transitions.qml"
+ "positioners.qml"
+)
+
+qt6_add_resources(positioners "positioners"
+ PREFIX
+ "/positioners"
+ FILES
+ ${positioners_resource_files}
+)
+set_source_files_properties("../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(positioners "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS positioners
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/quick-accessibility/CMakeLists.txt b/examples/quick/quick-accessibility/CMakeLists.txt
new file mode 100644
index 0000000000..965d4fd820
--- /dev/null
+++ b/examples/quick/quick-accessibility/CMakeLists.txt
@@ -0,0 +1,49 @@
+# Generated from quick-accessibility.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(quick-accessibility LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/quick-accessibility")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(quick-accessibility
+ main.cpp
+)
+target_link_libraries(quick-accessibility PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(accessibility_resource_files
+ "accessibility.qml"
+ "content/Button.qml"
+ "content/Checkbox.qml"
+ "content/Slider.qml"
+)
+
+qt6_add_resources(quick-accessibility "accessibility"
+ PREFIX
+ "/accessibility"
+ FILES
+ ${accessibility_resource_files}
+)
+
+install(TARGETS quick-accessibility
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/quickwidgets/CMakeLists.txt b/examples/quick/quickwidgets/CMakeLists.txt
new file mode 100644
index 0000000000..637e8a50eb
--- /dev/null
+++ b/examples/quick/quickwidgets/CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from quickwidgets.pro.
+
+add_subdirectory(quickwidget)
+add_subdirectory(qquickviewcomparison)
diff --git a/examples/quick/quickwidgets/qquickviewcomparison/CMakeLists.txt b/examples/quick/quickwidgets/qquickviewcomparison/CMakeLists.txt
new file mode 100644
index 0000000000..f9d83f55b9
--- /dev/null
+++ b/examples/quick/quickwidgets/qquickviewcomparison/CMakeLists.txt
@@ -0,0 +1,59 @@
+# Generated from qquickviewcomparison.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(qquickviewcomparison LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/quickwidgets/qquickviewcomparison")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 COMPONENTS QuickWidgets)
+
+add_qt_gui_executable(qquickviewcomparison
+ fbitem.cpp fbitem.h
+ logo.cpp logo.h
+ main.cpp
+ mainwindow.cpp mainwindow.h
+)
+target_link_libraries(qquickviewcomparison PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Quick
+ Qt::QuickWidgets
+ Qt::Widgets
+)
+
+
+# Resources:
+set(qquickviewcomparison_resource_files
+ "test.qml"
+)
+
+qt6_add_resources(qquickviewcomparison "qquickviewcomparison"
+ PREFIX
+ "/qquickviewcomparison"
+ FILES
+ ${qquickviewcomparison_resource_files}
+)
+
+install(TARGETS qquickviewcomparison
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(qquickviewcomparison PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI fbitem
+)
+
+qt6_qml_type_registration(qquickviewcomparison)
diff --git a/examples/quick/quickwidgets/quickwidget/CMakeLists.txt b/examples/quick/quickwidgets/quickwidget/CMakeLists.txt
new file mode 100644
index 0000000000..1396b830b4
--- /dev/null
+++ b/examples/quick/quickwidgets/quickwidget/CMakeLists.txt
@@ -0,0 +1,59 @@
+# Generated from quickwidget.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(quickwidget LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/quickwidgets/quickwidget")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 COMPONENTS QuickWidgets)
+
+add_qt_gui_executable(quickwidget
+ fbitem.cpp fbitem.h
+ main.cpp
+)
+target_link_libraries(quickwidget PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Quick
+ Qt::QuickWidgets
+ Qt::Widgets
+)
+
+
+# Resources:
+set(quickwidget_resource_files
+ "customgl.qml"
+ "rotatingsquare.qml"
+ "rotatingsquaretab.qml"
+)
+
+qt6_add_resources(quickwidget "quickwidget"
+ PREFIX
+ "/quickwidget"
+ FILES
+ ${quickwidget_resource_files}
+)
+
+install(TARGETS quickwidget
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(quickwidget PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI QuickWidgetExample
+)
+
+qt6_qml_type_registration(quickwidget)
diff --git a/examples/quick/rendercontrol/CMakeLists.txt b/examples/quick/rendercontrol/CMakeLists.txt
new file mode 100644
index 0000000000..8f1067a7b5
--- /dev/null
+++ b/examples/quick/rendercontrol/CMakeLists.txt
@@ -0,0 +1,49 @@
+# Generated from rendercontrol.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(rendercontrol LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/rendercontrol")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(rendercontrol
+ cuberenderer.cpp cuberenderer.h
+ main.cpp
+ window_multithreaded.cpp window_multithreaded.h
+ window_singlethreaded.cpp window_singlethreaded.h
+)
+target_link_libraries(rendercontrol PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(rendercontrol_resource_files
+ "demo.qml"
+)
+
+qt6_add_resources(rendercontrol "rendercontrol"
+ PREFIX
+ "/rendercontrol"
+ FILES
+ ${rendercontrol_resource_files}
+)
+
+install(TARGETS rendercontrol
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/righttoleft/CMakeLists.txt b/examples/quick/righttoleft/CMakeLists.txt
new file mode 100644
index 0000000000..e077f2e977
--- /dev/null
+++ b/examples/quick/righttoleft/CMakeLists.txt
@@ -0,0 +1,120 @@
+# Generated from righttoleft.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(righttoleft LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/righttoleft")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(righttoleft
+ main.cpp
+)
+target_link_libraries(righttoleft PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(righttoleft_resource_files
+ "layoutdirection/layoutdirection.qml"
+ "layoutmirroring/layoutmirroring.qml"
+ "righttoleft.qml"
+ "textalignment/textalignment.qml"
+)
+
+qt6_add_resources(righttoleft "righttoleft"
+ PREFIX
+ "/righttoleft"
+ FILES
+ ${righttoleft_resource_files}
+)
+set_source_files_properties("../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(righttoleft "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS righttoleft
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/scenegraph/.prev_CMakeLists.txt b/examples/quick/scenegraph/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..040945b9e8
--- /dev/null
+++ b/examples/quick/scenegraph/.prev_CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from scenegraph.pro.
+
+add_subdirectory(customgeometry)
+add_subdirectory(rendernode)
+add_subdirectory(threadedanimation)
+if(QT_FEATURE_opengl OR QT_FEATURE_opengles2 OR QT_FEATURE_opengles3)
+ add_subdirectory(graph)
+ add_subdirectory(simplematerial)
+ add_subdirectory(sgengine)
+ add_subdirectory(fboitem)
+ add_subdirectory(openglunderqml)
+ add_subdirectory(textureinthread)
+ add_subdirectory(twotextureproviders)
+endif()
+if(APPLE_IOS OR APPLE_OSX)
+ add_subdirectory(metalunderqml)
+ add_subdirectory(metaltextureimport)
+endif()
+if(WIN32)
+ add_subdirectory(d3d11underqml)
+endif()
+if(QT_FEATURE_vulkan)
+ add_subdirectory(vulkanunderqml)
+ add_subdirectory(vulkantextureimport)
+endif()
diff --git a/examples/quick/scenegraph/CMakeLists.txt b/examples/quick/scenegraph/CMakeLists.txt
new file mode 100644
index 0000000000..6dbec6c251
--- /dev/null
+++ b/examples/quick/scenegraph/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from scenegraph.pro.
+
+add_subdirectory(customgeometry)
+# add_subdirectory(rendernode) # special case needs fixing
+add_subdirectory(threadedanimation)
+if(QT_FEATURE_opengl OR QT_FEATURE_opengles2 OR QT_FEATURE_opengles3)
+ add_subdirectory(graph)
+ add_subdirectory(simplematerial)
+ add_subdirectory(sgengine)
+ add_subdirectory(fboitem)
+ add_subdirectory(openglunderqml)
+ add_subdirectory(textureinthread)
+ add_subdirectory(twotextureproviders)
+endif()
+if(APPLE_OSX)
+ # add_subdirectory(metalunderqml) # special case needs fixing
+ # add_subdirectory(metaltextureimport) # special case TODO
+endif()
+if(WIN32)
+ add_subdirectory(d3d11underqml)
+endif()
+if(QT_FEATURE_vulkan)
+ #add_subdirectory(vulkanunderqml) # special case not yet converted
+endif()
diff --git a/examples/quick/scenegraph/customgeometry/CMakeLists.txt b/examples/quick/scenegraph/customgeometry/CMakeLists.txt
new file mode 100644
index 0000000000..0b1a99097b
--- /dev/null
+++ b/examples/quick/scenegraph/customgeometry/CMakeLists.txt
@@ -0,0 +1,53 @@
+# Generated from customgeometry.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(customgeometry LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/scenegraph/customgeometry")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(customgeometry
+ beziercurve.cpp beziercurve.h
+ main.cpp
+)
+target_link_libraries(customgeometry PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Quick
+)
+
+
+# Resources:
+set(customgeometry_resource_files
+ "main.qml"
+)
+
+qt6_add_resources(customgeometry "customgeometry"
+ PREFIX
+ "/scenegraph/customgeometry"
+ FILES
+ ${customgeometry_resource_files}
+)
+
+install(TARGETS customgeometry
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(customgeometry PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI CustomGeometry
+)
+
+qt6_qml_type_registration(customgeometry)
diff --git a/examples/quick/scenegraph/d3d11underqml/CMakeLists.txt b/examples/quick/scenegraph/d3d11underqml/CMakeLists.txt
new file mode 100644
index 0000000000..23edb3eceb
--- /dev/null
+++ b/examples/quick/scenegraph/d3d11underqml/CMakeLists.txt
@@ -0,0 +1,59 @@
+# Generated from d3d11underqml.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(d3d11underqml LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/scenegraph/d3d11underqml")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(d3d11underqml
+ d3d11squircle.cpp d3d11squircle.h
+ main.cpp
+)
+target_link_libraries(d3d11underqml PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ d3d11
+ d3dcompiler
+)
+
+
+# Resources:
+set(d3d11underqml_resource_files
+ "main.qml"
+ "squircle.frag"
+ "squircle.vert"
+)
+
+qt6_add_resources(d3d11underqml "d3d11underqml"
+ PREFIX
+ "/scenegraph/d3d11underqml"
+ FILES
+ ${d3d11underqml_resource_files}
+)
+
+install(TARGETS d3d11underqml
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(d3d11underqml PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI D3D11UnderQML
+)
+
+qt6_qml_type_registration(d3d11underqml)
diff --git a/examples/quick/scenegraph/fboitem/CMakeLists.txt b/examples/quick/scenegraph/fboitem/CMakeLists.txt
new file mode 100644
index 0000000000..ba4b487415
--- /dev/null
+++ b/examples/quick/scenegraph/fboitem/CMakeLists.txt
@@ -0,0 +1,62 @@
+# Generated from fboitem.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(fboitem LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/scenegraph/fboitem")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(fboitem
+ ../shared/logorenderer.cpp ../shared/logorenderer.h
+ fboinsgrenderer.cpp fboinsgrenderer.h
+ main.cpp
+)
+target_include_directories(fboitem PUBLIC
+ ../shared
+)
+
+target_link_libraries(fboitem PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(fboitem_resource_files
+ "main.qml"
+ "shaders/+qsb/checker.frag"
+ "shaders/checker.frag"
+)
+
+qt6_add_resources(fboitem "fboitem"
+ PREFIX
+ "/scenegraph/fboitem"
+ FILES
+ ${fboitem_resource_files}
+)
+
+install(TARGETS fboitem
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(fboitem PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI SceneGraphRendering
+)
+
+qt6_qml_type_registration(fboitem)
diff --git a/examples/quick/scenegraph/graph/CMakeLists.txt b/examples/quick/scenegraph/graph/CMakeLists.txt
new file mode 100644
index 0000000000..f768a7fb3d
--- /dev/null
+++ b/examples/quick/scenegraph/graph/CMakeLists.txt
@@ -0,0 +1,60 @@
+# Generated from graph.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(graph LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/scenegraph/graph")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(graph
+ graph.cpp graph.h
+ gridnode.cpp gridnode.h
+ linenode.cpp linenode.h
+ main.cpp
+ noisynode.cpp noisynode.h
+)
+target_link_libraries(graph PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Quick
+)
+
+
+# Resources:
+set(graph_resource_files
+ "main.qml"
+ "shaders/line.fsh"
+ "shaders/line.vsh"
+ "shaders/noisy.fsh"
+ "shaders/noisy.vsh"
+)
+
+qt6_add_resources(graph "graph"
+ PREFIX
+ "/scenegraph/graph"
+ FILES
+ ${graph_resource_files}
+)
+
+install(TARGETS graph
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(graph PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI Graph
+)
+
+qt6_qml_type_registration(graph)
diff --git a/examples/quick/scenegraph/metaltextureimport/CMakeLists.txt b/examples/quick/scenegraph/metaltextureimport/CMakeLists.txt
new file mode 100644
index 0000000000..d84885f4cf
--- /dev/null
+++ b/examples/quick/scenegraph/metaltextureimport/CMakeLists.txt
@@ -0,0 +1,64 @@
+# Generated from metaltextureimport.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(metaltextureimport LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/scenegraph/metaltextureimport")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(metaltextureimport
+ main.cpp
+ metaltextureimport.h metaltextureimport.mm
+)
+target_link_libraries(metaltextureimport PUBLIC
+ "-framework Metal"
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(metaltextureimport_resource_files
+ "main.qml"
+ "squircle.frag"
+ "squircle.vert"
+)
+
+qt6_add_resources(metaltextureimport "metaltextureimport"
+ PREFIX
+ "/scenegraph/metaltextureimport"
+ FILES
+ ${metaltextureimport_resource_files}
+)
+
+if(APPLE_OSX)
+ target_link_libraries(metaltextureimport PUBLIC
+ "-framework AppKit"
+ )
+endif()
+
+install(TARGETS metaltextureimport
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(metaltextureimport PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI MetalTextureImport
+)
+
+qt6_qml_type_registration(metaltextureimport)
diff --git a/examples/quick/scenegraph/metalunderqml/CMakeLists.txt b/examples/quick/scenegraph/metalunderqml/CMakeLists.txt
new file mode 100644
index 0000000000..cd5136d8ea
--- /dev/null
+++ b/examples/quick/scenegraph/metalunderqml/CMakeLists.txt
@@ -0,0 +1,64 @@
+# Generated from metalunderqml.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(metalunderqml LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/scenegraph/metalunderqml")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(metalunderqml
+ main.cpp
+ metalsquircle.h metalsquircle.mm
+)
+target_link_libraries(metalunderqml PUBLIC
+ "-framework Metal"
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(metalunderqml_resource_files
+ "main.qml"
+ "squircle.frag"
+ "squircle.vert"
+)
+
+qt6_add_resources(metalunderqml "metalunderqml"
+ PREFIX
+ "/scenegraph/metalunderqml"
+ FILES
+ ${metalunderqml_resource_files}
+)
+
+if(APPLE_OSX)
+ target_link_libraries(metalunderqml PUBLIC
+ "-framework AppKit"
+ )
+endif()
+
+install(TARGETS metalunderqml
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(metalunderqml PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI MetalUnderQML
+)
+
+qt6_qml_type_registration(metalunderqml)
diff --git a/examples/quick/scenegraph/openglunderqml/CMakeLists.txt b/examples/quick/scenegraph/openglunderqml/CMakeLists.txt
new file mode 100644
index 0000000000..6f45e28a4a
--- /dev/null
+++ b/examples/quick/scenegraph/openglunderqml/CMakeLists.txt
@@ -0,0 +1,55 @@
+# Generated from openglunderqml.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(openglunderqml LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/scenegraph/openglunderqml")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(openglunderqml
+ main.cpp
+ squircle.cpp squircle.h
+)
+target_link_libraries(openglunderqml PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(openglunderqml_resource_files
+ "main.qml"
+)
+
+qt6_add_resources(openglunderqml "openglunderqml"
+ PREFIX
+ "/scenegraph/openglunderqml"
+ FILES
+ ${openglunderqml_resource_files}
+)
+
+install(TARGETS openglunderqml
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(openglunderqml PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI OpenGLUnderQML
+)
+
+qt6_qml_type_registration(openglunderqml)
diff --git a/examples/quick/scenegraph/rendernode/CMakeLists.txt b/examples/quick/scenegraph/rendernode/CMakeLists.txt
new file mode 100644
index 0000000000..f607e6e638
--- /dev/null
+++ b/examples/quick/scenegraph/rendernode/CMakeLists.txt
@@ -0,0 +1,70 @@
+# Generated from rendernode.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(rendernode LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/scenegraph/rendernode")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(rendernode
+ customrenderitem.cpp customrenderitem.h
+ main.cpp
+ openglrenderer.cpp openglrenderer.h
+ softwarerenderer.cpp softwarerenderer.h
+)
+target_link_libraries(rendernode PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(rendernode_resource_files
+ "main.qml"
+ "metalshader.frag"
+ "metalshader.vert"
+)
+
+qt6_add_resources(rendernode "rendernode"
+ PREFIX
+ "/scenegraph/rendernode"
+ FILES
+ ${rendernode_resource_files}
+)
+
+if(APPLE_OSX)
+ target_sources(rendernode PUBLIC
+ metalrenderer.h metalrenderer.mm
+ )
+
+ target_link_libraries(rendernode PUBLIC
+ "-framework AppKit"
+ "-framework Metal"
+ )
+endif()
+
+install(TARGETS rendernode
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(rendernode PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 2.0
+ QT_QML_MODULE_URI SceneGraphRendering
+)
+
+qt6_qml_type_registration(rendernode)
diff --git a/examples/quick/scenegraph/sgengine/CMakeLists.txt b/examples/quick/scenegraph/sgengine/CMakeLists.txt
new file mode 100644
index 0000000000..7580796800
--- /dev/null
+++ b/examples/quick/scenegraph/sgengine/CMakeLists.txt
@@ -0,0 +1,116 @@
+# Generated from sgengine.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(sgengine LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/scenegraph/sgengine")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(sgengine
+ main.cpp
+ window.cpp window.h
+)
+target_link_libraries(sgengine PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Quick
+)
+
+
+# Resources:
+set(sgengine_resource_files
+ "face-smile.png"
+)
+
+qt6_add_resources(sgengine "sgengine"
+ PREFIX
+ "/scenegraph/sgengine"
+ FILES
+ ${sgengine_resource_files}
+)
+set_source_files_properties("../../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(sgengine "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS sgengine
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/scenegraph/simplematerial/CMakeLists.txt b/examples/quick/scenegraph/simplematerial/CMakeLists.txt
new file mode 100644
index 0000000000..332f972d60
--- /dev/null
+++ b/examples/quick/scenegraph/simplematerial/CMakeLists.txt
@@ -0,0 +1,53 @@
+# Generated from simplematerial.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(simplematerial LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/scenegraph/simplematerial")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(simplematerial
+ simplematerial.cpp
+ simplematerialitem.cpp simplematerialitem.h
+)
+target_link_libraries(simplematerial PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Quick
+)
+
+
+# Resources:
+set(simplematerial_resource_files
+ "main.qml"
+)
+
+qt6_add_resources(simplematerial "simplematerial"
+ PREFIX
+ "/scenegraph/simplematerial"
+ FILES
+ ${simplematerial_resource_files}
+)
+
+install(TARGETS simplematerial
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(simplematerial PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI SimpleMaterial
+)
+
+qt6_qml_type_registration(simplematerial)
diff --git a/examples/quick/scenegraph/textureinthread/CMakeLists.txt b/examples/quick/scenegraph/textureinthread/CMakeLists.txt
new file mode 100644
index 0000000000..d29a5c63f3
--- /dev/null
+++ b/examples/quick/scenegraph/textureinthread/CMakeLists.txt
@@ -0,0 +1,61 @@
+# Generated from textureinthread.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(textureinthread LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/scenegraph/textureinthread")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(textureinthread
+ ../shared/logorenderer.cpp ../shared/logorenderer.h
+ main.cpp
+ threadrenderer.cpp threadrenderer.h
+)
+target_include_directories(textureinthread PUBLIC
+ ../shared
+)
+
+target_link_libraries(textureinthread PUBLIC
+ Qt::Core
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Quick
+)
+
+
+# Resources:
+set(textureinthread_resource_files
+ "error.qml"
+ "main.qml"
+)
+
+qt6_add_resources(textureinthread "textureinthread"
+ PREFIX
+ "/scenegraph/textureinthread"
+ FILES
+ ${textureinthread_resource_files}
+)
+
+install(TARGETS textureinthread
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(textureinthread PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI SceneGraphRendering
+)
+
+qt6_qml_type_registration(textureinthread)
diff --git a/examples/quick/scenegraph/threadedanimation/CMakeLists.txt b/examples/quick/scenegraph/threadedanimation/CMakeLists.txt
new file mode 100644
index 0000000000..4ae1ae1d70
--- /dev/null
+++ b/examples/quick/scenegraph/threadedanimation/CMakeLists.txt
@@ -0,0 +1,56 @@
+# Generated from threadedanimation.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(threadedanimation LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/scenegraph/threadedanimation")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(threadedanimation
+ main.cpp
+ spinner.cpp spinner.h
+)
+target_link_libraries(threadedanimation PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(threadedanimation_resource_files
+ "main.qml"
+ "spinner.png"
+)
+
+qt6_add_resources(threadedanimation "threadedanimation"
+ PREFIX
+ "/scenegraph/threadedanimation"
+ FILES
+ ${threadedanimation_resource_files}
+)
+
+install(TARGETS threadedanimation
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(threadedanimation PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI Spinner
+)
+
+qt6_qml_type_registration(threadedanimation)
diff --git a/examples/quick/scenegraph/twotextureproviders/CMakeLists.txt b/examples/quick/scenegraph/twotextureproviders/CMakeLists.txt
new file mode 100644
index 0000000000..0f6104ae40
--- /dev/null
+++ b/examples/quick/scenegraph/twotextureproviders/CMakeLists.txt
@@ -0,0 +1,61 @@
+# Generated from twotextureproviders.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(twotextureproviders LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/scenegraph/twotextureproviders")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(twotextureproviders
+ main.cpp
+ xorblender.cpp xorblender.h
+)
+target_link_libraries(twotextureproviders PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(twotextureproviders_resource_files
+ "main.qml"
+ "shaders/+qsb/checker.frag"
+ "shaders/+qsb/xorblender.frag"
+ "shaders/+qsb/xorblender.vert"
+ "shaders/checker.frag"
+ "shaders/xorblender.frag"
+ "shaders/xorblender.vert"
+)
+
+qt6_add_resources(twotextureproviders "twotextureproviders"
+ PREFIX
+ "/scenegraph/twotextureproviders"
+ FILES
+ ${twotextureproviders_resource_files}
+)
+
+install(TARGETS twotextureproviders
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(twotextureproviders PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI SceneGraphRendering
+)
+
+qt6_qml_type_registration(twotextureproviders)
diff --git a/examples/quick/scenegraph/vulkanunderqml/CMakeLists.txt b/examples/quick/scenegraph/vulkanunderqml/CMakeLists.txt
new file mode 100644
index 0000000000..450af3d5f3
--- /dev/null
+++ b/examples/quick/scenegraph/vulkanunderqml/CMakeLists.txt
@@ -0,0 +1,57 @@
+# Generated from vulkanunderqml.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(vulkanunderqml LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/scenegraph/vulkanunderqml")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(vulkanunderqml
+ main.cpp
+ vulkansquircle.cpp vulkansquircle.h
+)
+target_link_libraries(vulkanunderqml PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(vulkanunderqml_resource_files
+ "main.qml"
+ "squircle.frag.spv"
+ "squircle.vert.spv"
+)
+
+qt6_add_resources(vulkanunderqml "vulkanunderqml"
+ PREFIX
+ "/scenegraph/vulkanunderqml"
+ FILES
+ ${vulkanunderqml_resource_files}
+)
+
+install(TARGETS vulkanunderqml
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(vulkanunderqml PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI VulkanUnderQML
+)
+
+qt6_qml_type_registration(vulkanunderqml)
diff --git a/examples/quick/shadereffects/CMakeLists.txt b/examples/quick/shadereffects/CMakeLists.txt
new file mode 100644
index 0000000000..039baf31b7
--- /dev/null
+++ b/examples/quick/shadereffects/CMakeLists.txt
@@ -0,0 +1,61 @@
+# Generated from shadereffects.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(shadereffects LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/shadereffects")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(shadereffects
+ main.cpp
+)
+target_link_libraries(shadereffects PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(shadereffects_resource_files
+ "content/Slider.qml"
+ "content/face-smile.png"
+ "content/qt-logo.png"
+ "content/shaders/+qsb/blur.frag"
+ "content/shaders/+qsb/colorize.frag"
+ "content/shaders/+qsb/genie.vert"
+ "content/shaders/+qsb/outline.frag"
+ "content/shaders/+qsb/shadow.frag"
+ "content/shaders/+qsb/wobble.frag"
+ "content/shaders/blur.frag"
+ "content/shaders/colorize.frag"
+ "content/shaders/genie.vert"
+ "content/shaders/outline.frag"
+ "content/shaders/shadow.frag"
+ "content/shaders/wobble.frag"
+ "shadereffects.qml"
+)
+
+qt6_add_resources(shadereffects "shadereffects"
+ PREFIX
+ "/shadereffects"
+ FILES
+ ${shadereffects_resource_files}
+)
+
+install(TARGETS shadereffects
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/shapes/CMakeLists.txt b/examples/quick/shapes/CMakeLists.txt
new file mode 100644
index 0000000000..5428f96710
--- /dev/null
+++ b/examples/quick/shapes/CMakeLists.txt
@@ -0,0 +1,161 @@
+# Generated from shapes.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(shapes LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/shapes")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(shapes
+ main.cpp
+)
+target_link_libraries(shapes PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set_source_files_properties("../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("content/clippedtigers.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "clippedtigers.qml"
+)
+set_source_files_properties("content/interactive.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "interactive.qml"
+)
+set_source_files_properties("content/item10.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "item10.qml"
+)
+set_source_files_properties("content/item11.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "item11.qml"
+)
+set_source_files_properties("content/item12.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "item12.qml"
+)
+set_source_files_properties("content/item13.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "item13.qml"
+)
+set_source_files_properties("content/item14.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "item14.qml"
+)
+set_source_files_properties("content/item15.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "item15.qml"
+)
+set_source_files_properties("content/item17.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "item17.qml"
+)
+set_source_files_properties("content/item18.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "item18.qml"
+)
+set_source_files_properties("content/item2.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "item2.qml"
+)
+set_source_files_properties("content/item3.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "item3.qml"
+)
+set_source_files_properties("content/item4.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "item4.qml"
+)
+set_source_files_properties("content/item5.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "item5.qml"
+)
+set_source_files_properties("content/item6.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "item6.qml"
+)
+set_source_files_properties("content/item7.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "item7.qml"
+)
+set_source_files_properties("content/item8.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "item8.qml"
+)
+set_source_files_properties("content/item9.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "item9.qml"
+)
+set_source_files_properties("content/main.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "main.qml"
+)
+set_source_files_properties("content/sampling.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "sampling.qml"
+)
+set_source_files_properties("content/shapegallery.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "shapegallery.qml"
+)
+set_source_files_properties("content/tapableTriangle.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "tapableTriangle.qml"
+)
+set_source_files_properties("content/tiger.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "tiger.qml"
+)
+set(shapes_resource_files
+ "../shared/LauncherList.qml"
+ "../shared/SimpleLauncherDelegate.qml"
+ "../shared/Slider.qml"
+ "../shared/images/back.png"
+ "../shared/images/next.png"
+ "../shared/images/slider_handle.png"
+ "content/clippedtigers.qml"
+ "content/interactive.qml"
+ "content/item10.qml"
+ "content/item11.qml"
+ "content/item12.qml"
+ "content/item13.qml"
+ "content/item14.qml"
+ "content/item15.qml"
+ "content/item17.qml"
+ "content/item18.qml"
+ "content/item2.qml"
+ "content/item3.qml"
+ "content/item4.qml"
+ "content/item5.qml"
+ "content/item6.qml"
+ "content/item7.qml"
+ "content/item8.qml"
+ "content/item9.qml"
+ "content/main.qml"
+ "content/sampling.qml"
+ "content/shapegallery.qml"
+ "content/tapableTriangle.qml"
+ "content/tiger.qml"
+)
+
+qt6_add_resources(shapes "shapes"
+ PREFIX
+ "/shapes"
+ FILES
+ ${shapes_resource_files}
+)
+
+install(TARGETS shapes
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/tableview/CMakeLists.txt b/examples/quick/tableview/CMakeLists.txt
new file mode 100644
index 0000000000..6875e412e9
--- /dev/null
+++ b/examples/quick/tableview/CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from tableview.pro.
+
+add_subdirectory(gameoflife)
+add_subdirectory(pixelator)
diff --git a/examples/quick/tableview/gameoflife/CMakeLists.txt b/examples/quick/tableview/gameoflife/CMakeLists.txt
new file mode 100644
index 0000000000..b08b057575
--- /dev/null
+++ b/examples/quick/tableview/gameoflife/CMakeLists.txt
@@ -0,0 +1,56 @@
+# Generated from gameoflife.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(gameoflife LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/tableview/gameoflife")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(gameoflife
+ gameoflifemodel.cpp gameoflifemodel.h
+ main.cpp
+)
+target_link_libraries(gameoflife PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(qmake_immediate_resource_files
+ "gosperglidergun.cells"
+ "main.qml"
+)
+
+qt6_add_resources(gameoflife "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+install(TARGETS gameoflife
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(gameoflife PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI GameOfLifeModel
+)
+
+qt6_qml_type_registration(gameoflife)
diff --git a/examples/quick/tableview/pixelator/CMakeLists.txt b/examples/quick/tableview/pixelator/CMakeLists.txt
new file mode 100644
index 0000000000..23e730772a
--- /dev/null
+++ b/examples/quick/tableview/pixelator/CMakeLists.txt
@@ -0,0 +1,56 @@
+# Generated from pixelator.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(qml_pixelator LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/tableview/pixelator")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(qml_pixelator
+ imagemodel.cpp imagemodel.h
+ main.cpp
+)
+target_link_libraries(qml_pixelator PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(qmake_immediate_resource_files
+ "main.qml"
+ "qt.png"
+)
+
+qt6_add_resources(qml_pixelator "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+install(TARGETS qml_pixelator
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
+
+set_target_properties(qml_pixelator PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI ImageModel
+)
+
+qt6_qml_type_registration(qml_pixelator)
diff --git a/examples/quick/tableview/pixelator/pixelator.pro b/examples/quick/tableview/pixelator/pixelator.pro
index f27303b56b..188f55ebc3 100644
--- a/examples/quick/tableview/pixelator/pixelator.pro
+++ b/examples/quick/tableview/pixelator/pixelator.pro
@@ -1,5 +1,6 @@
TEMPLATE = app
+TARGET = qml_pixelator
QT += quick qml
HEADERS += imagemodel.h
SOURCES += main.cpp \
diff --git a/examples/quick/text/CMakeLists.txt b/examples/quick/text/CMakeLists.txt
new file mode 100644
index 0000000000..7b6b9c2101
--- /dev/null
+++ b/examples/quick/text/CMakeLists.txt
@@ -0,0 +1,136 @@
+# Generated from text.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(text LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/text")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(text
+ main.cpp
+)
+target_link_libraries(text PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(text_resource_files
+ "fonts/availableFonts.qml"
+ "fonts/banner.qml"
+ "fonts/content/fonts/tarzeau_ocr_a.ttf"
+ "fonts/fonts.qml"
+ "fonts/hello.qml"
+ "imgtag/TextWithImage.qml"
+ "imgtag/images/face-sad.png"
+ "imgtag/images/face-smile-big.png"
+ "imgtag/images/face-smile.png"
+ "imgtag/images/heart200.png"
+ "imgtag/images/qtlogo.png"
+ "imgtag/images/starfish_2.png"
+ "imgtag/imgtag.qml"
+ "styledtext-layout.qml"
+ "text.qml"
+ "textselection/pics/endHandle.png"
+ "textselection/pics/endHandle.sci"
+ "textselection/pics/startHandle.png"
+ "textselection/pics/startHandle.sci"
+ "textselection/textselection.qml"
+)
+
+qt6_add_resources(text "text"
+ PREFIX
+ "/text"
+ FILES
+ ${text_resource_files}
+)
+set_source_files_properties("../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(text "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS text
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/textureprovider/CMakeLists.txt b/examples/quick/textureprovider/CMakeLists.txt
new file mode 100644
index 0000000000..d43f6a1898
--- /dev/null
+++ b/examples/quick/textureprovider/CMakeLists.txt
@@ -0,0 +1,50 @@
+# Generated from textureprovider.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(textureprovider LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/textureprovider")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(textureprovider
+ etcprovider.cpp etcprovider.h
+ main.cpp
+)
+target_link_libraries(textureprovider PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(textureprovider_resource_files
+ "Label.qml"
+ "images/qt-logo.jpg"
+ "images/qt-logo.pkm"
+ "textureprovider.qml"
+)
+
+qt6_add_resources(textureprovider "textureprovider"
+ PREFIX
+ "/textureprovider"
+ FILES
+ ${textureprovider_resource_files}
+)
+
+install(TARGETS textureprovider
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/threading/CMakeLists.txt b/examples/quick/threading/CMakeLists.txt
new file mode 100644
index 0000000000..7a024a37eb
--- /dev/null
+++ b/examples/quick/threading/CMakeLists.txt
@@ -0,0 +1,122 @@
+# Generated from threading.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(threading LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/threading")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(threading
+ main.cpp
+)
+target_link_libraries(threading PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(threading_resource_files
+ "threadedlistmodel/dataloader.mjs"
+ "threadedlistmodel/timedisplay.qml"
+ "threading.qml"
+ "workerscript/Spinner.qml"
+ "workerscript/workerscript.mjs"
+ "workerscript/workerscript.qml"
+)
+
+qt6_add_resources(threading "threading"
+ PREFIX
+ "/threading"
+ FILES
+ ${threading_resource_files}
+)
+set_source_files_properties("../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(threading "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS threading
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/touchinteraction/CMakeLists.txt b/examples/quick/touchinteraction/CMakeLists.txt
new file mode 100644
index 0000000000..cbaf7cc2f3
--- /dev/null
+++ b/examples/quick/touchinteraction/CMakeLists.txt
@@ -0,0 +1,139 @@
+# Generated from touchinteraction.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(touchinteraction LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/touchinteraction")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(touchinteraction
+ main.cpp
+)
+target_link_libraries(touchinteraction PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(touchinteraction_resource_files
+ "flickable/basic-flickable.qml"
+ "flickable/content/Panel.qml"
+ "flickable/content/cork.jpg"
+ "flickable/content/note-yellow.png"
+ "flickable/content/tack.png"
+ "flickable/corkboards.qml"
+ "multipointtouch/bearwhack.qml"
+ "multipointtouch/content/AugmentedTouchPoint.qml"
+ "multipointtouch/content/Bear0.png"
+ "multipointtouch/content/Bear1.png"
+ "multipointtouch/content/Bear2.png"
+ "multipointtouch/content/Bear3.png"
+ "multipointtouch/content/BearB.png"
+ "multipointtouch/content/BearWhackParticleSystem.qml"
+ "multipointtouch/content/ParticleFlame.qml"
+ "multipointtouch/content/blur-circle.png"
+ "multipointtouch/content/blur-circle3.png"
+ "multipointtouch/content/heart-blur.png"
+ "multipointtouch/content/title.png"
+ "multipointtouch/multiflame.qml"
+ "pincharea/flickresize.qml"
+ "pincharea/qt-logo.jpg"
+ "touchinteraction.qml"
+)
+
+qt6_add_resources(touchinteraction "touchinteraction"
+ PREFIX
+ "/touchinteraction"
+ FILES
+ ${touchinteraction_resource_files}
+)
+set_source_files_properties("../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(touchinteraction "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS touchinteraction
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/tutorials/CMakeLists.txt b/examples/quick/tutorials/CMakeLists.txt
new file mode 100644
index 0000000000..87d2caf01f
--- /dev/null
+++ b/examples/quick/tutorials/CMakeLists.txt
@@ -0,0 +1,2 @@
+# Generated from tutorials.pro.
+
diff --git a/examples/quick/views/CMakeLists.txt b/examples/quick/views/CMakeLists.txt
new file mode 100644
index 0000000000..a53c977ab9
--- /dev/null
+++ b/examples/quick/views/CMakeLists.txt
@@ -0,0 +1,162 @@
+# Generated from views.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(views LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/views")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(views
+ main.cpp
+)
+target_link_libraries(views PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(views_resource_files
+ "delegatemodel/dragselection.qml"
+ "delegatemodel/slideshow.qml"
+ "gridview/gridview-example.qml"
+ "gridview/pics/AddressBook_48.png"
+ "gridview/pics/AudioPlayer_48.png"
+ "gridview/pics/Camera_48.png"
+ "gridview/pics/DateBook_48.png"
+ "gridview/pics/EMail_48.png"
+ "gridview/pics/TodoList_48.png"
+ "gridview/pics/VideoPlayer_48.png"
+ "listview/content/PetsModel.qml"
+ "listview/content/PressAndHoldButton.qml"
+ "listview/content/RecipesModel.qml"
+ "listview/content/SmallText.qml"
+ "listview/content/TextButton.qml"
+ "listview/content/ToggleButton.qml"
+ "listview/content/pics/arrow-down.png"
+ "listview/content/pics/arrow-up.png"
+ "listview/content/pics/fruit-salad.jpg"
+ "listview/content/pics/hamburger.jpg"
+ "listview/content/pics/lemonade.jpg"
+ "listview/content/pics/list-delete.png"
+ "listview/content/pics/minus-sign.png"
+ "listview/content/pics/moreDown.png"
+ "listview/content/pics/moreUp.png"
+ "listview/content/pics/pancakes.jpg"
+ "listview/content/pics/plus-sign.png"
+ "listview/content/pics/vegetable-soup.jpg"
+ "listview/displaymargin.qml"
+ "listview/dynamiclist.qml"
+ "listview/expandingdelegates.qml"
+ "listview/highlight.qml"
+ "listview/highlightranges.qml"
+ "listview/sections.qml"
+ "objectmodel/objectmodel.qml"
+ "package/Delegate.qml"
+ "package/view.qml"
+ "pathview/pathview-example.qml"
+ "pathview/pics/AddressBook_48.png"
+ "pathview/pics/AudioPlayer_48.png"
+ "pathview/pics/Camera_48.png"
+ "pathview/pics/DateBook_48.png"
+ "pathview/pics/EMail_48.png"
+ "pathview/pics/TodoList_48.png"
+ "pathview/pics/VideoPlayer_48.png"
+ "views.qml"
+)
+
+qt6_add_resources(views "views"
+ PREFIX
+ "/views"
+ FILES
+ ${views_resource_files}
+)
+set_source_files_properties("../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(views "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS views
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quick/window/CMakeLists.txt b/examples/quick/window/CMakeLists.txt
new file mode 100644
index 0000000000..80857c72d2
--- /dev/null
+++ b/examples/quick/window/CMakeLists.txt
@@ -0,0 +1,120 @@
+# Generated from window.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(window LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quick/window")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(window
+ main.cpp
+)
+target_link_libraries(window PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(window_resource_files
+ "AllScreens.qml"
+ "CurrentScreen.qml"
+ "Splash.qml"
+ "window.qml"
+)
+
+qt6_add_resources(window "window"
+ PREFIX
+ "/window"
+ FILES
+ ${window_resource_files}
+)
+set_source_files_properties("../shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../shared/FlickrRssModel.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml"
+)
+set_source_files_properties("../shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../shared/TabSet.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml"
+)
+set_source_files_properties("../shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../shared/images/qt-logo.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png"
+)
+set_source_files_properties("../shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set_source_files_properties("../shared/images/tab.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/tab.png"
+)
+set(shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "FlickrRssModel.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TabSet.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/qt-logo.png"
+ "images/slider_handle.png"
+ "images/tab.png"
+)
+
+qt6_add_resources(window "shared"
+ PREFIX
+ "/shared"
+ BASE
+ "../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS window
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000000..d3c26e73e6
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,56 @@
+# Generated from src.pro.
+# special case skip regeneration
+
+if (NOT QT_FEATURE_commandlineparser)
+ message(FATAL_ERROR "QT_FEATURE_commandlineparser required to compile qmltyperegistrar")
+endif()
+
+add_subdirectory(qmltyperegistrar)
+add_subdirectory(qml)
+add_subdirectory(qmlmodels)
+
+if(QT_FEATURE_qml_worker_script)
+ add_subdirectory(qmlworkerscript)
+endif()
+
+if(TARGET Qt::Gui AND QT_FEATURE_qml_animation)
+ add_subdirectory(quick)
+ add_subdirectory(quickshapes)
+
+ find_package(Qt6 ${PROJECT_VERSION} CONFIG COMPONENTS Test) # special case
+ if(QT_FEATURE_testlib AND TARGET Qt::Test) # special case
+ add_subdirectory(qmltest)
+ endif()
+
+ if(QT_FEATURE_quick_particles)
+ add_subdirectory(particles)
+ endif()
+
+ if(TARGET Qt::Widgets)
+ add_subdirectory(quickwidgets)
+ endif()
+endif()
+
+# special case begin
+# These need to be included here since they have dependencies on the modules
+# specified above.
+add_subdirectory(plugins)
+
+if(QT_FEATURE_qml_devtools)
+ add_subdirectory(qmldevtools)
+
+ # Build qmlcachegen now, so that we can use it in src/imports.
+ if(QT_FEATURE_qml_devtools AND QT_FEATURE_xmlstreamwriter)
+ add_subdirectory(../tools/qmlcachegen qmlcachegen)
+ endif()
+endif()
+
+add_subdirectory(imports)
+
+if(QT_FEATURE_qml_network)
+
+ if(QT_FEATURE_thread AND QT_FEATURE_localserver AND QT_FEATURE_qml_debug)
+ add_subdirectory(qmldebug)
+ endif()
+endif()
+# special case end
diff --git a/src/imports/CMakeLists.txt b/src/imports/CMakeLists.txt
new file mode 100644
index 0000000000..020f683e41
--- /dev/null
+++ b/src/imports/CMakeLists.txt
@@ -0,0 +1,42 @@
+# Generated from imports.pro.
+
+add_subdirectory(builtins)
+add_subdirectory(qtqml)
+add_subdirectory(models)
+add_subdirectory(labsmodels)
+if(QT_FEATURE_qml_itemmodel)
+ add_subdirectory(folderlistmodel)
+endif()
+if(QT_FEATURE_qml_worker_script)
+ add_subdirectory(workerscript)
+endif()
+if(TARGET Qt::Sql)
+ add_subdirectory(localstorage)
+endif()
+if(QT_FEATURE_settings)
+ add_subdirectory(settings)
+endif()
+if(QT_FEATURE_statemachine)
+ add_subdirectory(statemachine)
+endif()
+if(TARGET Qt::Quick)
+ add_subdirectory(labsanimation)
+ add_subdirectory(layouts)
+ add_subdirectory(qtquick2)
+ add_subdirectory(window)
+endif()
+if(QT_FEATURE_quick_shadereffect AND TARGET Qt::Quick)
+ add_subdirectory(wavefrontmesh)
+endif()
+if(TARGET Qt::Quick AND TARGET Qt::Test)
+ add_subdirectory(testlib)
+endif()
+if(QT_FEATURE_systemsemaphore AND TARGET Qt::Quick)
+ add_subdirectory(sharedimage)
+endif()
+if(QT_FEATURE_quick_particles AND TARGET Qt::Quick)
+ add_subdirectory(particles)
+endif()
+if(QT_FEATURE_quick_path AND TARGET Qt::Quick)
+ add_subdirectory(shapes)
+endif()
diff --git a/src/imports/builtins/.prev_CMakeLists.txt b/src/imports/builtins/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..088b0b73f0
--- /dev/null
+++ b/src/imports/builtins/.prev_CMakeLists.txt
@@ -0,0 +1,2 @@
+# Generated from builtins.pro.
+
diff --git a/src/imports/builtins/CMakeLists.txt b/src/imports/builtins/CMakeLists.txt
new file mode 100644
index 0000000000..93057d6605
--- /dev/null
+++ b/src/imports/builtins/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from builtins.pro.
+
+# special case begin
+
+set(qml_type_file builtins.qmltypes)
+
+qt_copy_or_install(FILES ${qml_type_file}
+ DESTINATION ${INSTALL_QMLDIR}
+)
+
+if (NOT CMAKE_CROSSCOMPILING)
+
+ add_custom_target(builtins_qmltypes
+ COMMAND qmlplugindump -builtins > ${CMAKE_CURRENT_SOURCE_DIR}/${qml_type_file}
+ )
+endif()
+
+# special case end
diff --git a/src/imports/folderlistmodel/CMakeLists.txt b/src/imports/folderlistmodel/CMakeLists.txt
new file mode 100644
index 0000000000..0bc9f28da6
--- /dev/null
+++ b/src/imports/folderlistmodel/CMakeLists.txt
@@ -0,0 +1,26 @@
+# Generated from folderlistmodel.pro.
+
+#####################################################################
+## qmlfolderlistmodelplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qmlfolderlistmodelplugin
+ URI "Qt.labs.folderlistmodel"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QmlFolderListModelPlugin
+ SKIP_TYPE_REGISTRATION
+ GENERATE_QMLTYPES
+ SOURCES
+ fileinfothread.cpp fileinfothread_p.h
+ fileproperty_p.h
+ plugin.cpp
+ qquickfolderlistmodel.cpp qquickfolderlistmodel.h
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:folderlistmodel.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "Qt/labs/folderlistmodel"
diff --git a/src/imports/labsanimation/CMakeLists.txt b/src/imports/labsanimation/CMakeLists.txt
new file mode 100644
index 0000000000..a4de38267e
--- /dev/null
+++ b/src/imports/labsanimation/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from labsanimation.pro.
+
+#####################################################################
+## labsanimationplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(labsanimationplugin
+ URI "Qt.labs.animation"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QtLabsAnimationPlugin
+ SKIP_TYPE_REGISTRATION
+ GENERATE_QMLTYPES
+ SOURCES
+ plugin.cpp
+ qquickboundaryrule.cpp qquickboundaryrule_p.h
+ PUBLIC_LIBRARIES
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+#### Keys ignored in scope 1:.:.:labsanimation.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "Qt/labs/animation"
diff --git a/src/imports/labsmodels/CMakeLists.txt b/src/imports/labsmodels/CMakeLists.txt
new file mode 100644
index 0000000000..efd3339e2f
--- /dev/null
+++ b/src/imports/labsmodels/CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from labsmodels.pro.
+
+#####################################################################
+## labsmodelsplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(labsmodelsplugin
+ URI "Qt.labs.qmlmodels"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QtQmlLabsModelsPlugin
+ SKIP_TYPE_REGISTRATION
+ GENERATE_QMLTYPES
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:labsmodels.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "Qt/labs/qmlmodels"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(labsmodelsplugin CONDITION QT_FEATURE_qml_table_model
+ SOURCES
+ qqmltablemodel.cpp qqmltablemodel_p.h
+ qqmltablemodelcolumn.cpp qqmltablemodelcolumn_p.h
+)
+
+qt_extend_target(labsmodelsplugin CONDITION QT_FEATURE_qml_delegate_model
+ SOURCES
+ qqmldelegatecomponent.cpp qqmldelegatecomponent_p.h
+)
diff --git a/src/imports/layouts/CMakeLists.txt b/src/imports/layouts/CMakeLists.txt
new file mode 100644
index 0000000000..ffde82d340
--- /dev/null
+++ b/src/imports/layouts/CMakeLists.txt
@@ -0,0 +1,33 @@
+# Generated from layouts.pro.
+
+#####################################################################
+## qquicklayoutsplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qquicklayoutsplugin
+ URI "QtQuick.Layouts"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ DESIGNER_SUPPORTED
+ CLASSNAME QtQuickLayoutsPlugin
+ SKIP_TYPE_REGISTRATION
+ GENERATE_QMLTYPES
+ SOURCES
+ plugin.cpp
+ qquickgridlayoutengine.cpp qquickgridlayoutengine_p.h
+ qquicklayout.cpp qquicklayout_p.h
+ qquicklayoutstyleinfo.cpp qquicklayoutstyleinfo_p.h
+ qquicklinearlayout.cpp qquicklinearlayout_p.h
+ qquickstacklayout.cpp qquickstacklayout_p.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+#### Keys ignored in scope 1:.:.:layouts.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "QtQuick/Layouts"
diff --git a/src/imports/localstorage/CMakeLists.txt b/src/imports/localstorage/CMakeLists.txt
new file mode 100644
index 0000000000..d3fd8ff290
--- /dev/null
+++ b/src/imports/localstorage/CMakeLists.txt
@@ -0,0 +1,26 @@
+# Generated from localstorage.pro.
+
+#####################################################################
+## qmllocalstorageplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qmllocalstorageplugin
+ URI "QtQuick.LocalStorage"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QQmlLocalStoragePlugin
+ SKIP_TYPE_REGISTRATION
+ GENERATE_QMLTYPES
+ SOURCES
+ plugin.cpp
+ qquicklocalstorage.cpp qquicklocalstorage_p.h
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+ Qt::Sql
+)
+
+#### Keys ignored in scope 1:.:.:localstorage.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# OTHER_FILES = "localstorage.json"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "QtQuick/LocalStorage"
diff --git a/src/imports/models/CMakeLists.txt b/src/imports/models/CMakeLists.txt
new file mode 100644
index 0000000000..a6d4065202
--- /dev/null
+++ b/src/imports/models/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from models.pro.
+
+#####################################################################
+## modelsplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(modelsplugin
+ URI "QtQml.Models"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ DESIGNER_SUPPORTED
+ CLASSNAME QtQmlModelsPlugin
+ SKIP_TYPE_REGISTRATION
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:models.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "QtQml/Models"
diff --git a/src/imports/particles/CMakeLists.txt b/src/imports/particles/CMakeLists.txt
new file mode 100644
index 0000000000..6d5e71f7d1
--- /dev/null
+++ b/src/imports/particles/CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from particles.pro.
+
+#####################################################################
+## particlesplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(particlesplugin
+ URI "QtQuick.Particles"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QtQuick2ParticlesPlugin
+ SKIP_TYPE_REGISTRATION
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+)
+
+#### Keys ignored in scope 1:.:.:particles.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "QtQuick/Particles"
diff --git a/src/imports/qtqml/.prev_CMakeLists.txt b/src/imports/qtqml/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..4e17431218
--- /dev/null
+++ b/src/imports/qtqml/.prev_CMakeLists.txt
@@ -0,0 +1,41 @@
+# Generated from qtqml.pro.
+
+set(module_dynamic_qml_imports
+ QtQml.Models
+)
+
+if (QT_FEATURE_qml_worker_script)
+ list(APPEND module_dynamic_qml_imports
+ QtQml.WorkerScript
+ )
+endif()
+
+#####################################################################
+## qmlplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qmlplugin
+ URI "QtQml"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ DESIGNER_SUPPORTED
+ CLASSNAME QtQmlPlugin
+ SKIP_TYPE_REGISTRATION
+ IMPORTS ${module_dynamic_qml_imports}
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qtqml.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# DYNAMIC_QMLDIR = "module QtQml" "plugin qmlplugin" "classname QtQmlPlugin" "typeinfo plugins.qmltypes" "designersupported" "import QtQml.Models"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "QtQml"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:qtqml.pro:QT_FEATURE_qml_worker_script:
+# DYNAMIC_QMLDIR = "import QtQml.WorkerScript"
diff --git a/src/imports/qtqml/CMakeLists.txt b/src/imports/qtqml/CMakeLists.txt
new file mode 100644
index 0000000000..f50f2f69f5
--- /dev/null
+++ b/src/imports/qtqml/CMakeLists.txt
@@ -0,0 +1,42 @@
+# Generated from qtqml.pro.
+
+set(module_dynamic_qml_imports
+ QtQml.Models
+)
+
+if (QT_FEATURE_qml_worker_script)
+ list(APPEND module_dynamic_qml_imports
+ QtQml.WorkerScript
+ )
+endif()
+
+#####################################################################
+## qmlplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qmlplugin
+ URI "QtQml"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ DESIGNER_SUPPORTED
+ CLASSNAME QtQmlPlugin
+ SKIP_TYPE_REGISTRATION
+ IMPORTS ${module_dynamic_qml_imports}
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ Qt::CorePrivate # special case
+)
+
+#### Keys ignored in scope 1:.:.:qtqml.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# DYNAMIC_QMLDIR = "module QtQml" "plugin qmlplugin" "classname QtQmlPlugin" "typeinfo plugins.qmltypes" "designersupported" "import QtQml.Models"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "QtQml"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:qtqml.pro:QT_FEATURE_qml_worker_script:
+# DYNAMIC_QMLDIR = "import QtQml.WorkerScript"
diff --git a/src/imports/qtquick2/CMakeLists.txt b/src/imports/qtquick2/CMakeLists.txt
new file mode 100644
index 0000000000..e007c476f8
--- /dev/null
+++ b/src/imports/qtquick2/CMakeLists.txt
@@ -0,0 +1,36 @@
+# Generated from qtquick2.pro.
+
+#####################################################################
+## qtquick2plugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtquick2plugin
+ URI "QtQuick"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ DESIGNER_SUPPORTED
+ CLASSNAME QtQuick2Plugin
+ SKIP_TYPE_REGISTRATION
+ IMPORTS
+ QtQml
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qtquick2.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "QtQuick"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(qtquick2plugin CONDITION QT_FEATURE_qml_worker_script
+ PUBLIC_LIBRARIES
+ Qt::QmlWorkerScriptPrivate
+)
diff --git a/src/imports/settings/CMakeLists.txt b/src/imports/settings/CMakeLists.txt
new file mode 100644
index 0000000000..0243e2cf8f
--- /dev/null
+++ b/src/imports/settings/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from settings.pro.
+
+#####################################################################
+## qmlsettingsplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qmlsettingsplugin
+ URI "Qt.labs.settings"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QmlSettingsPlugin
+ SKIP_TYPE_REGISTRATION
+ GENERATE_QMLTYPES
+ SOURCES
+ plugin.cpp
+ qqmlsettings.cpp qqmlsettings_p.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Qml
+)
+
+#### Keys ignored in scope 1:.:.:settings.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "Qt/labs/settings"
diff --git a/src/imports/shapes/CMakeLists.txt b/src/imports/shapes/CMakeLists.txt
new file mode 100644
index 0000000000..92ad133fd8
--- /dev/null
+++ b/src/imports/shapes/CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from shapes.pro.
+
+#####################################################################
+## qmlshapesplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qmlshapesplugin
+ URI "QtQuick.Shapes"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QmlShapesPlugin
+ SKIP_TYPE_REGISTRATION
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QuickPrivate
+ Qt::QuickShapesPrivate
+)
+
+#### Keys ignored in scope 1:.:.:shapes.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "QtQuick/Shapes"
diff --git a/src/imports/sharedimage/CMakeLists.txt b/src/imports/sharedimage/CMakeLists.txt
new file mode 100644
index 0000000000..c840fda85f
--- /dev/null
+++ b/src/imports/sharedimage/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from sharedimage.pro.
+
+#####################################################################
+## sharedimageplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(sharedimageplugin
+ URI "Qt.labs.sharedimage"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QtQuickSharedImagePlugin
+ SKIP_TYPE_REGISTRATION
+ GENERATE_QMLTYPES
+ SOURCES
+ plugin.cpp
+ qsharedimageloader.cpp qsharedimageloader_p.h
+ sharedimageprovider.cpp sharedimageprovider.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QuickPrivate
+)
+
+#### Keys ignored in scope 1:.:.:sharedimage.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "Qt/labs/sharedimage"
diff --git a/src/imports/statemachine/CMakeLists.txt b/src/imports/statemachine/CMakeLists.txt
new file mode 100644
index 0000000000..232f3f28d5
--- /dev/null
+++ b/src/imports/statemachine/CMakeLists.txt
@@ -0,0 +1,30 @@
+# Generated from statemachine.pro.
+
+#####################################################################
+## qtqmlstatemachine Plugin:
+#####################################################################
+
+qt_add_qml_module(qtqmlstatemachine
+ URI "QtQml.StateMachine"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QtQmlStateMachinePlugin
+ SKIP_TYPE_REGISTRATION
+ GENERATE_QMLTYPES
+ SOURCES
+ childrenprivate.h
+ finalstate.cpp finalstate.h
+ plugin.cpp
+ signaltransition.cpp signaltransition.h
+ state.cpp state.h
+ statemachine.cpp statemachine.h
+ statemachineforeign.h
+ timeouttransition.cpp timeouttransition.h
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:statemachine.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "QtQml/StateMachine"
diff --git a/src/imports/testlib/.prev_CMakeLists.txt b/src/imports/testlib/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..b7a6ff468a
--- /dev/null
+++ b/src/imports/testlib/.prev_CMakeLists.txt
@@ -0,0 +1,52 @@
+# Generated from testlib.pro.
+
+#####################################################################
+## qmltestplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qmltestplugin
+ URI "QtTest"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QTestQmlModule
+ DEPENDENCIES
+ QtQuick.Window/2.0
+ GENERATE_QMLTYPES
+ SOURCES
+ main.cpp
+ quicktestevent.cpp quicktestevent_p.h
+ quicktestresultforeign_p.h
+ quicktestutil.cpp quicktestutil_p.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::Quick
+ Qt::QuickTestPrivate
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:testlib.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# OTHER_FILES = "testlib.json"
+# QML_FILES = "TestCase.qml" "SignalSpy.qml" "testlogger.js"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "QtTest"
+
+set(qml_files
+ "TestCase.qml"
+ "SignalSpy.qml"
+ "testlogger.js"
+)
+set_source_files_properties(TestCase.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "1.0"
+)
+set_source_files_properties(SignalSpy.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "1.0"
+)
+
+qt6_target_qml_files(qmltestplugin
+ FILES
+ ${qml_files}
+)
diff --git a/src/imports/testlib/CMakeLists.txt b/src/imports/testlib/CMakeLists.txt
new file mode 100644
index 0000000000..03801d76eb
--- /dev/null
+++ b/src/imports/testlib/CMakeLists.txt
@@ -0,0 +1,57 @@
+# Generated from testlib.pro.
+
+#####################################################################
+## qmltestplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qmltestplugin
+ URI "QtTest"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QTestQmlModule
+ DEPENDENCIES
+ QtQuick.Window/2.0
+ GENERATE_QMLTYPES
+ SOURCES
+ main.cpp
+ quicktestevent.cpp quicktestevent_p.h
+ quicktestresultforeign_p.h
+ quicktestutil.cpp quicktestutil_p.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::Quick
+ Qt::QuickTestPrivate
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:testlib.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# OTHER_FILES = "testlib.json"
+# QML_FILES = "TestCase.qml" "SignalSpy.qml" "testlogger.js"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "QtTest"
+
+set(qml_files
+ "TestCase.qml"
+ "SignalSpy.qml"
+ "testlogger.js"
+)
+set_source_files_properties(TestCase.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "1.0"
+)
+set_source_files_properties(SignalSpy.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "1.0"
+)
+# special case begin
+set_source_files_properties(testlogger.js PROPERTIES
+ QT_QML_SOURCE_INSTALL TRUE
+)
+# special case end
+
+qt6_target_qml_files(qmltestplugin
+ FILES
+ ${qml_files}
+)
diff --git a/src/imports/wavefrontmesh/CMakeLists.txt b/src/imports/wavefrontmesh/CMakeLists.txt
new file mode 100644
index 0000000000..3790b7d53e
--- /dev/null
+++ b/src/imports/wavefrontmesh/CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from wavefrontmesh.pro.
+
+#####################################################################
+## qmlwavefrontmeshplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qmlwavefrontmeshplugin
+ URI "Qt.labs.wavefrontmesh"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QmlWavefrontMeshPlugin
+ SKIP_TYPE_REGISTRATION
+ GENERATE_QMLTYPES
+ SOURCES
+ plugin.cpp
+ qwavefrontmesh.cpp qwavefrontmesh.h
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+#### Keys ignored in scope 1:.:.:wavefrontmesh.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "Qt/labs/wavefrontmesh"
diff --git a/src/imports/window/CMakeLists.txt b/src/imports/window/CMakeLists.txt
new file mode 100644
index 0000000000..99cedf333c
--- /dev/null
+++ b/src/imports/window/CMakeLists.txt
@@ -0,0 +1,26 @@
+# Generated from window.pro.
+
+#####################################################################
+## windowplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(windowplugin
+ URI "QtQuick.Window"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ DESIGNER_SUPPORTED
+ CLASSNAME QtQuick2WindowPlugin
+ SKIP_TYPE_REGISTRATION
+ GENERATE_QMLTYPES
+ SOURCES
+ plugin.cpp plugin.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+#### Keys ignored in scope 1:.:.:window.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "QtQuick/Window"
diff --git a/src/imports/workerscript/CMakeLists.txt b/src/imports/workerscript/CMakeLists.txt
new file mode 100644
index 0000000000..57b2739a10
--- /dev/null
+++ b/src/imports/workerscript/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from workerscript.pro.
+
+#####################################################################
+## workerscriptplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(workerscriptplugin
+ URI "QtQml.WorkerScript"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ DESIGNER_SUPPORTED
+ CLASSNAME QtQmlWorkerScriptPlugin
+ SKIP_TYPE_REGISTRATION
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::QmlPrivate
+ Qt::QmlWorkerScriptPrivate
+)
+
+#### Keys ignored in scope 1:.:.:workerscript.pro:<TRUE>:
+# CXX_MODULE = "qml"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "QtQml/WorkerScript"
diff --git a/src/particles/CMakeLists.txt b/src/particles/CMakeLists.txt
new file mode 100644
index 0000000000..f2da8b3e1c
--- /dev/null
+++ b/src/particles/CMakeLists.txt
@@ -0,0 +1,135 @@
+# Generated from particles.pro.
+
+#####################################################################
+## QuickParticles Module:
+#####################################################################
+
+qt_add_module(QuickParticles
+ INTERNAL_MODULE
+ GENERATE_METATYPES
+ SOURCES
+ qquickage.cpp qquickage_p.h
+ qquickangledirection.cpp qquickangledirection_p.h
+ qquickcumulativedirection.cpp qquickcumulativedirection_p.h
+ qquickcustomaffector.cpp qquickcustomaffector_p.h
+ qquickdirection.cpp qquickdirection_p.h
+ qquickellipseextruder.cpp qquickellipseextruder_p.h
+ qquickfriction.cpp qquickfriction_p.h
+ qquickgravity.cpp qquickgravity_p.h
+ qquickgroupgoal.cpp qquickgroupgoal_p.h
+ qquickimageparticle.cpp qquickimageparticle_p.h
+ qquickitemparticle.cpp qquickitemparticle_p.h
+ qquicklineextruder.cpp qquicklineextruder_p.h
+ qquickmaskextruder.cpp qquickmaskextruder_p.h
+ qquickparticleaffector.cpp qquickparticleaffector_p.h
+ qquickparticleemitter.cpp qquickparticleemitter_p.h
+ qquickparticleextruder.cpp qquickparticleextruder_p.h
+ qquickparticlegroup.cpp qquickparticlegroup_p.h
+ qquickparticlepainter.cpp qquickparticlepainter_p.h
+ qquickparticlesmodule.cpp qquickparticlesmodule_p.h
+ qquickparticlesystem.cpp qquickparticlesystem_p.h
+ qquickpointattractor.cpp qquickpointattractor_p.h
+ qquickpointdirection.cpp qquickpointdirection_p.h
+ qquickrectangleextruder.cpp qquickrectangleextruder_p.h
+ qquickspritegoal.cpp qquickspritegoal_p.h
+ qquicktargetdirection.cpp qquicktargetdirection_p.h
+ qquicktrailemitter.cpp qquicktrailemitter_p.h
+ qquickturbulence.cpp qquickturbulence_p.h
+ qquickv4particledata.cpp qquickv4particledata_p.h
+ qquickwander.cpp qquickwander_p.h
+ qtquickparticlesglobal_p.h
+ DEFINES
+ QT_NO_INTEGER_EVENT_COORDINATES
+ QT_NO_URL_CAST_FROM_STRING
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+# Resources:
+set(particles_resource_files
+ "particleresources/fuzzydot.png"
+ "particleresources/glowdot.png"
+ "particleresources/noise.png"
+ "particleresources/star.png"
+)
+
+qt_add_resource(QuickParticles "particles"
+ PREFIX
+ "/"
+ FILES
+ ${particles_resource_files}
+)
+set(particles1_resource_files
+ "shaders/customparticle.frag"
+ "shaders/customparticle.vert"
+ "shaders/customparticle_core.frag"
+ "shaders/customparticle_core.vert"
+ "shaders/customparticletemplate.vert"
+ "shaders/customparticletemplate_core.vert"
+ "shaders/imageparticle.frag"
+ "shaders/imageparticle.vert"
+ "shaders/imageparticle_core.frag"
+ "shaders/imageparticle_core.vert"
+ "shaders_ng/imageparticle_colored.frag.qsb"
+ "shaders_ng/imageparticle_colored.vert.qsb"
+ "shaders_ng/imageparticle_deformed.frag.qsb"
+ "shaders_ng/imageparticle_deformed.vert.qsb"
+ "shaders_ng/imageparticle_simple.frag.qsb"
+ "shaders_ng/imageparticle_simple.vert.qsb"
+ "shaders_ng/imageparticle_sprite.frag.qsb"
+ "shaders_ng/imageparticle_sprite.vert.qsb"
+ "shaders_ng/imageparticle_tabled.frag.qsb"
+ "shaders_ng/imageparticle_tabled.vert.qsb"
+)
+
+qt_add_resource(QuickParticles "particles1"
+ PREFIX
+ "/particles"
+ FILES
+ ${particles1_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:particles.pro:<TRUE>:
+# MODULE = "quickparticles"
+# QMLTYPES_FILENAME = "plugins.qmltypes"
+# QMLTYPES_INSTALL_DIR = "$$[QT_INSTALL_QML]/QtQuick/Particles"
+# QML_IMPORT_NAME = "QtQuick.Particles"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(QuickParticles CONDITION MSVC
+ DEFINES
+ _CRT_SECURE_NO_WARNINGS
+)
+
+#### Keys ignored in scope 3:.:.:particles.pro:solaris-cc_x_:
+# QMAKE_CXXFLAGS_RELEASE = "--O2"
+
+qt_extend_target(QuickParticles CONDITION EXISTS "qqml_enable_gcov"
+ LIBRARIES
+ gcov
+ COMPILE_OPTIONS
+ -fno-elide-constructors
+ -fprofile-arcs
+ -ftest-coverage
+)
+
+qt_extend_target(QuickParticles CONDITION QT_FEATURE_quick_shadereffect
+ SOURCES
+ qquickcustomparticle.cpp qquickcustomparticle_p.h
+)
+
+set_target_properties(QuickParticles PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION ${CMAKE_PROJECT_VERSION}
+ QT_QML_MODULE_URI QtQuick.Particles
+ QT_QML_MODULE_INSTALL_DIR "${INSTALL_QMLDIR}/QtQuick/Particles"
+)
+
+qt6_qml_type_registration(QuickParticles)
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt
new file mode 100644
index 0000000000..5e24a32791
--- /dev/null
+++ b/src/plugins/CMakeLists.txt
@@ -0,0 +1,8 @@
+# Generated from plugins.pro.
+
+if(QT_FEATURE_qml_debug AND QT_FEATURE_thread)
+ add_subdirectory(qmltooling)
+endif()
+if(TARGET Qt::Quick)
+ add_subdirectory(scenegraph)
+endif()
diff --git a/src/plugins/qmltooling/CMakeLists.txt b/src/plugins/qmltooling/CMakeLists.txt
new file mode 100644
index 0000000000..01cd40ffbb
--- /dev/null
+++ b/src/plugins/qmltooling/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from qmltooling.pro.
+
+add_subdirectory(packetprotocol)
+add_subdirectory(qmldbg_native)
+add_subdirectory(qmldbg_messages)
+add_subdirectory(qmldbg_profiler)
+add_subdirectory(qmldbg_debugger)
+add_subdirectory(qmldbg_nativedebugger)
+if(QT_FEATURE_thread)
+ add_subdirectory(qmldbg_server)
+endif()
+if(QT_FEATURE_qml_network)
+ add_subdirectory(qmldbg_tcp)
+endif()
+if(QT_FEATURE_localserver AND QT_FEATURE_qml_network)
+ add_subdirectory(qmldbg_local)
+endif()
+if(TARGET Qt::Quick)
+ add_subdirectory(qmldbg_inspector)
+ add_subdirectory(qmldbg_quickprofiler)
+endif()
+if(QT_FEATURE_qml_network AND QT_FEATURE_settings AND TARGET Qt::Quick)
+ add_subdirectory(qmldbg_preview)
+endif()
diff --git a/src/plugins/qmltooling/packetprotocol/CMakeLists.txt b/src/plugins/qmltooling/packetprotocol/CMakeLists.txt
new file mode 100644
index 0000000000..ddc2af6cfa
--- /dev/null
+++ b/src/plugins/qmltooling/packetprotocol/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from packetprotocol.pro.
+
+#####################################################################
+## PacketProtocol Module:
+#####################################################################
+
+qt_add_module(PacketProtocol
+ STATIC
+ INTERNAL_MODULE
+ SOURCES
+ qpacket.cpp qpacket_p.h
+ qpacketprotocol.cpp qpacketprotocol_p.h
+ qversionedpacket_p.h
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+)
diff --git a/src/plugins/qmltooling/qmldbg_debugger/CMakeLists.txt b/src/plugins/qmltooling/qmldbg_debugger/CMakeLists.txt
new file mode 100644
index 0000000000..7f42437e82
--- /dev/null
+++ b/src/plugins/qmltooling/qmldbg_debugger/CMakeLists.txt
@@ -0,0 +1,26 @@
+# Generated from qmldbg_debugger.pro.
+
+#####################################################################
+## QQmlDebuggerServiceFactory Plugin:
+#####################################################################
+
+qt_add_plugin(QQmlDebuggerServiceFactory
+ OUTPUT_NAME qmldbg_debugger
+ TYPE qmltooling
+ SOURCES
+ qqmldebuggerservicefactory.cpp qqmldebuggerservicefactory.h
+ qqmlenginedebugservice.cpp qqmlenginedebugservice.h
+ qqmlwatcher.cpp qqmlwatcher.h
+ qv4datacollector.cpp qv4datacollector.h
+ qv4debugger.cpp qv4debugger.h
+ qv4debuggeragent.cpp qv4debuggeragent.h
+ qv4debugjob.cpp qv4debugjob.h
+ qv4debugservice.cpp qv4debugservice.h
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::PacketProtocolPrivate
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmldbg_debugger.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/qqmldebuggerservice.json"
diff --git a/src/plugins/qmltooling/qmldbg_inspector/CMakeLists.txt b/src/plugins/qmltooling/qmldbg_inspector/CMakeLists.txt
new file mode 100644
index 0000000000..4e2b41c67b
--- /dev/null
+++ b/src/plugins/qmltooling/qmldbg_inspector/CMakeLists.txt
@@ -0,0 +1,28 @@
+# Generated from qmldbg_inspector.pro.
+
+#####################################################################
+## QQmlInspectorServiceFactory Plugin:
+#####################################################################
+
+qt_add_plugin(QQmlInspectorServiceFactory
+ OUTPUT_NAME qmldbg_inspector
+ TYPE qmltooling
+ SOURCES
+ globalinspector.cpp globalinspector.h
+ highlight.cpp highlight.h
+ inspecttool.cpp inspecttool.h
+ qqmlinspectorservice.cpp
+ qqmlinspectorservicefactory.h
+ qquickwindowinspector.cpp qquickwindowinspector.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::PacketProtocolPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmldbg_inspector.pro:<TRUE>:
+# OTHER_FILES = "qqmlinspectorservice.json"
diff --git a/src/plugins/qmltooling/qmldbg_local/CMakeLists.txt b/src/plugins/qmltooling/qmldbg_local/CMakeLists.txt
new file mode 100644
index 0000000000..32cb329cc2
--- /dev/null
+++ b/src/plugins/qmltooling/qmldbg_local/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from qmldbg_local.pro.
+
+#####################################################################
+## QLocalClientConnectionFactory Plugin:
+#####################################################################
+
+qt_add_plugin(QLocalClientConnectionFactory
+ OUTPUT_NAME qmldbg_local
+ TYPE qmltooling
+ SOURCES
+ qlocalclientconnection.cpp
+ qlocalclientconnectionfactory.h
+ PUBLIC_LIBRARIES
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmldbg_local.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/qlocalclientconnection.json"
diff --git a/src/plugins/qmltooling/qmldbg_messages/CMakeLists.txt b/src/plugins/qmltooling/qmldbg_messages/CMakeLists.txt
new file mode 100644
index 0000000000..83bfbe1c37
--- /dev/null
+++ b/src/plugins/qmltooling/qmldbg_messages/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qmldbg_messages.pro.
+
+#####################################################################
+## QDebugMessageServiceFactory Plugin:
+#####################################################################
+
+qt_add_plugin(QDebugMessageServiceFactory
+ OUTPUT_NAME qmldbg_messages
+ TYPE qmltooling
+ SOURCES
+ qdebugmessageservice.cpp qdebugmessageservice.h
+ qdebugmessageservicefactory.cpp qdebugmessageservicefactory.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::PacketProtocolPrivate
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmldbg_messages.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/qdebugmessageservice.json"
diff --git a/src/plugins/qmltooling/qmldbg_native/CMakeLists.txt b/src/plugins/qmltooling/qmldbg_native/CMakeLists.txt
new file mode 100644
index 0000000000..844c35ae4b
--- /dev/null
+++ b/src/plugins/qmltooling/qmldbg_native/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from qmldbg_native.pro.
+
+#####################################################################
+## QQmlNativeDebugConnectorFactory Plugin:
+#####################################################################
+
+qt_add_plugin(QQmlNativeDebugConnectorFactory
+ OUTPUT_NAME qmldbg_native
+ TYPE qmltooling
+ SOURCES
+ qqmlnativedebugconnector.cpp qqmlnativedebugconnector.h
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::PacketProtocolPrivate
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmldbg_native.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/qqmlnativedebugconnector.json"
diff --git a/src/plugins/qmltooling/qmldbg_nativedebugger/CMakeLists.txt b/src/plugins/qmltooling/qmldbg_nativedebugger/CMakeLists.txt
new file mode 100644
index 0000000000..62aa1399e0
--- /dev/null
+++ b/src/plugins/qmltooling/qmldbg_nativedebugger/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qmldbg_nativedebugger.pro.
+
+#####################################################################
+## QQmlNativeDebugServiceFactory Plugin:
+#####################################################################
+
+qt_add_plugin(QQmlNativeDebugServiceFactory
+ OUTPUT_NAME qmldbg_nativedebugger
+ TYPE qmltooling
+ SOURCES
+ qqmlnativedebugservice.cpp qqmlnativedebugservice.h
+ qqmlnativedebugservicefactory.cpp qqmlnativedebugservicefactory.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::PacketProtocolPrivate
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmldbg_nativedebugger.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/qqmlnativedebugservice.json"
diff --git a/src/plugins/qmltooling/qmldbg_preview/CMakeLists.txt b/src/plugins/qmltooling/qmldbg_preview/CMakeLists.txt
new file mode 100644
index 0000000000..908fd961fe
--- /dev/null
+++ b/src/plugins/qmltooling/qmldbg_preview/CMakeLists.txt
@@ -0,0 +1,31 @@
+# Generated from qmldbg_preview.pro.
+
+#####################################################################
+## QQmlPreviewServiceFactory Plugin:
+#####################################################################
+
+qt_add_plugin(QQmlPreviewServiceFactory
+ OUTPUT_NAME qmldbg_preview
+ TYPE qmltooling
+ SOURCES
+ qqmldebugtranslationservice.cpp qqmldebugtranslationservice.h
+ qqmlpreviewblacklist.cpp qqmlpreviewblacklist.h
+ qqmlpreviewfileengine.cpp qqmlpreviewfileengine.h
+ qqmlpreviewfileloader.cpp qqmlpreviewfileloader.h
+ qqmlpreviewhandler.cpp qqmlpreviewhandler.h
+ qqmlpreviewposition.cpp qqmlpreviewposition.h
+ qqmlpreviewservice.cpp qqmlpreviewservice.h
+ qqmlpreviewservicefactory.cpp qqmlpreviewservicefactory.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::PacketProtocolPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmldbg_preview.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/qqmlpreviewservice.json"
diff --git a/src/plugins/qmltooling/qmldbg_profiler/CMakeLists.txt b/src/plugins/qmltooling/qmldbg_profiler/CMakeLists.txt
new file mode 100644
index 0000000000..b1ff256a1a
--- /dev/null
+++ b/src/plugins/qmltooling/qmldbg_profiler/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from qmldbg_profiler.pro.
+
+#####################################################################
+## QQmlProfilerServiceFactory Plugin:
+#####################################################################
+
+qt_add_plugin(QQmlProfilerServiceFactory
+ OUTPUT_NAME qmldbg_profiler
+ TYPE qmltooling
+ SOURCES
+ qqmlenginecontrolservice.cpp qqmlenginecontrolservice.h
+ qqmlprofileradapter.cpp qqmlprofileradapter.h
+ qqmlprofilerservice.cpp qqmlprofilerservice.h
+ qqmlprofilerservicefactory.cpp qqmlprofilerservicefactory.h
+ qv4profileradapter.cpp qv4profileradapter.h
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::PacketProtocolPrivate
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmldbg_profiler.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/qqmlprofilerservice.json"
diff --git a/src/plugins/qmltooling/qmldbg_quickprofiler/CMakeLists.txt b/src/plugins/qmltooling/qmldbg_quickprofiler/CMakeLists.txt
new file mode 100644
index 0000000000..e67deee569
--- /dev/null
+++ b/src/plugins/qmltooling/qmldbg_quickprofiler/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from qmldbg_quickprofiler.pro.
+
+#####################################################################
+## QQuickProfilerAdapterFactory Plugin:
+#####################################################################
+
+qt_add_plugin(QQuickProfilerAdapterFactory
+ OUTPUT_NAME qmldbg_quickprofiler
+ TYPE qmltooling
+ SOURCES
+ qquickprofileradapter.cpp qquickprofileradapter.h
+ qquickprofileradapterfactory.cpp qquickprofileradapterfactory.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::PacketProtocolPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmldbg_quickprofiler.pro:<TRUE>:
+# OTHER_FILES = "qquickprofileradapter.json"
diff --git a/src/plugins/qmltooling/qmldbg_server/CMakeLists.txt b/src/plugins/qmltooling/qmldbg_server/CMakeLists.txt
new file mode 100644
index 0000000000..58a8b9506b
--- /dev/null
+++ b/src/plugins/qmltooling/qmldbg_server/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from qmldbg_server.pro.
+
+#####################################################################
+## QQmlDebugServerFactory Plugin:
+#####################################################################
+
+qt_add_plugin(QQmlDebugServerFactory
+ OUTPUT_NAME qmldbg_server
+ TYPE qmltooling
+ SOURCES
+ qqmldebugserver.cpp
+ qqmldebugserverfactory.h
+ PUBLIC_LIBRARIES
+ Qt::PacketProtocolPrivate
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmldbg_server.pro:<TRUE>:
+# OTHER_FILES = "qqmldebugserver.json"
diff --git a/src/plugins/qmltooling/qmldbg_tcp/CMakeLists.txt b/src/plugins/qmltooling/qmldbg_tcp/CMakeLists.txt
new file mode 100644
index 0000000000..0c9afa852f
--- /dev/null
+++ b/src/plugins/qmltooling/qmldbg_tcp/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from qmldbg_tcp.pro.
+
+#####################################################################
+## QTcpServerConnectionFactory Plugin:
+#####################################################################
+
+qt_add_plugin(QTcpServerConnectionFactory
+ OUTPUT_NAME qmldbg_tcp
+ TYPE qmltooling
+ SOURCES
+ qtcpserverconnection.cpp
+ qtcpserverconnectionfactory.h
+ PUBLIC_LIBRARIES
+ Qt::Network
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmldbg_tcp.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/qtcpserverconnection.json"
diff --git a/src/plugins/scenegraph/.prev_CMakeLists.txt b/src/plugins/scenegraph/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..0e65d182ee
--- /dev/null
+++ b/src/plugins/scenegraph/.prev_CMakeLists.txt
@@ -0,0 +1,5 @@
+# Generated from scenegraph.pro.
+
+if(QT_FEATURE_openvg)
+ add_subdirectory(openvg)
+endif()
diff --git a/src/plugins/scenegraph/CMakeLists.txt b/src/plugins/scenegraph/CMakeLists.txt
new file mode 100644
index 0000000000..0e65d182ee
--- /dev/null
+++ b/src/plugins/scenegraph/CMakeLists.txt
@@ -0,0 +1,5 @@
+# Generated from scenegraph.pro.
+
+if(QT_FEATURE_openvg)
+ add_subdirectory(openvg)
+endif()
diff --git a/src/plugins/scenegraph/openvg/CMakeLists.txt b/src/plugins/scenegraph/openvg/CMakeLists.txt
new file mode 100644
index 0000000000..3acfa066f4
--- /dev/null
+++ b/src/plugins/scenegraph/openvg/CMakeLists.txt
@@ -0,0 +1,65 @@
+# Generated from openvg.pro.
+
+#####################################################################
+## QSGOpenVGAdaptation Plugin:
+#####################################################################
+
+qt_add_plugin(QSGOpenVGAdaptation
+ OUTPUT_NAME qsgopenvgbackend
+ TYPE scenegraph
+ SOURCES
+ qopenvgcontext.cpp qopenvgcontext_p.h
+ qopenvgmatrix.cpp qopenvgmatrix.h
+ qopenvgoffscreensurface.cpp qopenvgoffscreensurface.h
+ qsgopenvgadaptation.cpp qsgopenvgadaptation_p.h
+ qsgopenvgcontext.cpp qsgopenvgcontext_p.h
+ qsgopenvgfontglyphcache.cpp qsgopenvgfontglyphcache.h
+ qsgopenvgglyphnode.cpp qsgopenvgglyphnode_p.h
+ qsgopenvghelpers.cpp qsgopenvghelpers.h
+ qsgopenvginternalimagenode.cpp qsgopenvginternalimagenode.h
+ qsgopenvginternalrectanglenode.cpp qsgopenvginternalrectanglenode.h
+ qsgopenvglayer.cpp qsgopenvglayer.h
+ qsgopenvgnodevisitor.cpp qsgopenvgnodevisitor.h
+ qsgopenvgpainternode.cpp qsgopenvgpainternode.h
+ qsgopenvgpublicnodes.cpp qsgopenvgpublicnodes.h
+ qsgopenvgrenderable.cpp qsgopenvgrenderable.h
+ qsgopenvgrenderer.cpp qsgopenvgrenderer_p.h
+ qsgopenvgrenderloop.cpp qsgopenvgrenderloop_p.h
+ qsgopenvgtexture.cpp qsgopenvgtexture.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ openvg
+)
+
+#### Keys ignored in scope 1:.:.:openvg.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/openvg.json"
+# QMAKE_TARGET_DESCRIPTION = "Quick OpenVG Renderer for Qt."
+# QMAKE_TARGET_PRODUCT = "Qt Quick OpenVG Renderer (Qt $$QT_VERSION)"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(QSGOpenVGAdaptation CONDITION CMAKE_BUILD_TYPE STREQUAL Debug AND debug_and_release
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_BINARY_DIR}/../../../quick/.tracegen/debug
+)
+
+qt_extend_target(QSGOpenVGAdaptation CONDITION debug_and_release AND NOT CMAKE_BUILD_TYPE STREQUAL Debug
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_BINARY_DIR}/../../../quick/.tracegen/release
+)
+
+qt_extend_target(QSGOpenVGAdaptation CONDITION NOT debug_and_release
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_BINARY_DIR}/../../../quick/.tracegen
+)
+
+qt_extend_target(QSGOpenVGAdaptation CONDITION QT_FEATURE_quick_sprite
+ SOURCES
+ qsgopenvgspritenode.cpp qsgopenvgspritenode.h
+)
diff --git a/src/qml/.prev_CMakeLists.txt b/src/qml/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..9528b3068a
--- /dev/null
+++ b/src/qml/.prev_CMakeLists.txt
@@ -0,0 +1,619 @@
+# Generated from qml.pro.
+
+#####################################################################
+## Qml Module:
+#####################################################################
+
+qt_add_module(Qml
+ GENERATE_METATYPES
+ PLUGIN_TYPES qmltooling
+ SOURCES
+ ../3rdparty/masm/assembler/*.h
+ ../3rdparty/masm/assembler/ARMv7Assembler.cpp
+ ../3rdparty/masm/assembler/LinkBuffer.cpp
+ ../3rdparty/masm/disassembler/ARM64/A64DOpcode.cpp ../3rdparty/masm/disassembler/ARM64/A64DOpcode.h
+ ../3rdparty/masm/disassembler/ARM64Disassembler.cpp
+ ../3rdparty/masm/disassembler/ARMv7/ARMv7DOpcode.cpp ../3rdparty/masm/disassembler/ARMv7/ARMv7DOpcode.h
+ ../3rdparty/masm/disassembler/ARMv7Disassembler.cpp
+ ../3rdparty/masm/disassembler/Disassembler.cpp
+ ../3rdparty/masm/disassembler/Mips32Disassembler.cpp
+ ../3rdparty/masm/disassembler/UDis86Disassembler.cpp
+ ../3rdparty/masm/disassembler/mips32/Mips32Opcode.cpp ../3rdparty/masm/disassembler/mips32/Mips32Opcode.h
+ ../3rdparty/masm/stubs/Options.cpp
+ ../3rdparty/masm/stubs/WTFStubs.cpp ../3rdparty/masm/stubs/WTFStubs.h
+ ../3rdparty/masm/stubs/wtf/FastAllocBase.h
+ ../3rdparty/masm/stubs/wtf/FastMalloc.h
+ ../3rdparty/masm/stubs/wtf/Noncopyable.h
+ ../3rdparty/masm/stubs/wtf/OwnPtr.h
+ ../3rdparty/masm/stubs/wtf/PassOwnPtr.h
+ ../3rdparty/masm/stubs/wtf/PassRefPtr.h
+ ../3rdparty/masm/stubs/wtf/RefCounted.h
+ ../3rdparty/masm/stubs/wtf/RefPtr.h
+ ../3rdparty/masm/stubs/wtf/TypeTraits.h
+ ../3rdparty/masm/stubs/wtf/UnusedParam.h
+ ../3rdparty/masm/stubs/wtf/Vector.h
+ ../3rdparty/masm/stubs/yarr/YarrUnicodeProperties.cpp
+ ../3rdparty/masm/wtf/*.h
+ ../3rdparty/masm/wtf/FilePrintStream.cpp ../3rdparty/masm/wtf/FilePrintStream.h
+ ../3rdparty/masm/wtf/OSAllocator.h
+ ../3rdparty/masm/wtf/PageAllocation.h
+ ../3rdparty/masm/wtf/PageAllocationAligned.cpp ../3rdparty/masm/wtf/PageAllocationAligned.h
+ ../3rdparty/masm/wtf/PageBlock.cpp ../3rdparty/masm/wtf/PageBlock.h
+ ../3rdparty/masm/wtf/PageReservation.h
+ ../3rdparty/masm/wtf/PrintStream.cpp ../3rdparty/masm/wtf/PrintStream.h
+ ../3rdparty/masm/wtf/RawPointer.h
+ ../3rdparty/masm/yarr/Yarr.h
+ ../3rdparty/masm/yarr/YarrCanonicalizeUCS2.cpp ../3rdparty/masm/yarr/YarrCanonicalizeUCS2.h
+ ../3rdparty/masm/yarr/YarrCanonicalizeUnicode.cpp
+ ../3rdparty/masm/yarr/YarrInterpreter.cpp ../3rdparty/masm/yarr/YarrInterpreter.h
+ ../3rdparty/masm/yarr/YarrJIT.cpp ../3rdparty/masm/yarr/YarrJIT.h
+ ../3rdparty/masm/yarr/YarrParser.h
+ ../3rdparty/masm/yarr/YarrPattern.cpp ../3rdparty/masm/yarr/YarrPattern.h
+ ../3rdparty/masm/yarr/YarrSyntaxChecker.cpp ../3rdparty/masm/yarr/YarrSyntaxChecker.h
+ ../3rdparty/masm/yarr/YarrUnicodeProperties.h
+ common/qqmlapiversion_p.h
+ common/qqmljsdiagnosticmessage_p.h
+ common/qqmljsfixedpoolarray_p.h
+ common/qqmljsmemorypool_p.h
+ common/qqmljssourcelocation_p.h
+ common/qv4alloca_p.h
+ common/qv4calldata_p.h
+ common/qv4compileddata_p.h
+ common/qv4staticvalue_p.h
+ common/qv4stringtoarrayindex_p.h
+ compiler/qqmlirbuilder.cpp compiler/qqmlirbuilder_p.h
+ compiler/qv4bytecodegenerator.cpp compiler/qv4bytecodegenerator_p.h
+ compiler/qv4bytecodehandler.cpp compiler/qv4bytecodehandler_p.h
+ compiler/qv4codegen.cpp compiler/qv4codegen_p.h
+ compiler/qv4compiler.cpp compiler/qv4compiler_p.h
+ compiler/qv4compilercontext.cpp compiler/qv4compilercontext_p.h
+ compiler/qv4compilercontrolflow_p.h
+ compiler/qv4compilerglobal_p.h
+ compiler/qv4compilerscanfunctions.cpp compiler/qv4compilerscanfunctions_p.h
+ compiler/qv4instr_moth.cpp compiler/qv4instr_moth_p.h
+ compiler/qv4util_p.h
+ debugger/qqmldebug.h
+ debugger/qqmldebugconnector_p.h
+ debugger/qqmldebugserviceinterfaces_p.h
+ debugger/qqmldebugstatesdelegate_p.h
+ debugger/qqmlprofiler_p.h
+ inlinecomponentutils_p.h
+ jsapi/qjsengine.cpp jsapi/qjsengine.h jsapi/qjsengine_p.h
+ jsapi/qjsvalue.cpp jsapi/qjsvalue.h jsapi/qjsvalue_p.h
+ jsapi/qjsvalueiterator.cpp jsapi/qjsvalueiterator.h jsapi/qjsvalueiterator_p.h
+ jsruntime/qv4argumentsobject.cpp jsruntime/qv4argumentsobject_p.h
+ jsruntime/qv4arraybuffer.cpp jsruntime/qv4arraybuffer_p.h
+ jsruntime/qv4arraydata.cpp jsruntime/qv4arraydata_p.h
+ jsruntime/qv4arrayiterator.cpp jsruntime/qv4arrayiterator_p.h
+ jsruntime/qv4arrayobject.cpp jsruntime/qv4arrayobject_p.h
+ jsruntime/qv4atomics.cpp jsruntime/qv4atomics_p.h
+ jsruntime/qv4booleanobject.cpp jsruntime/qv4booleanobject_p.h
+ jsruntime/qv4compilationunitmapper.cpp jsruntime/qv4compilationunitmapper_p.h
+ jsruntime/qv4context.cpp jsruntime/qv4context_p.h
+ jsruntime/qv4dataview.cpp jsruntime/qv4dataview_p.h
+ jsruntime/qv4dateobject.cpp jsruntime/qv4dateobject_p.h
+ jsruntime/qv4debugging_p.h
+ jsruntime/qv4engine.cpp jsruntime/qv4engine_p.h
+ jsruntime/qv4enginebase_p.h
+ jsruntime/qv4errorobject.cpp jsruntime/qv4errorobject_p.h
+ jsruntime/qv4estable.cpp jsruntime/qv4estable_p.h
+ jsruntime/qv4executableallocator.cpp jsruntime/qv4executableallocator_p.h
+ jsruntime/qv4executablecompilationunit.cpp jsruntime/qv4executablecompilationunit_p.h
+ jsruntime/qv4function.cpp jsruntime/qv4function_p.h
+ jsruntime/qv4functionobject.cpp jsruntime/qv4functionobject_p.h
+ jsruntime/qv4functiontable_p.h
+ jsruntime/qv4generatorobject.cpp jsruntime/qv4generatorobject_p.h
+ jsruntime/qv4global_p.h
+ jsruntime/qv4globalobject.cpp jsruntime/qv4globalobject_p.h
+ jsruntime/qv4identifier.cpp jsruntime/qv4identifier_p.h
+ jsruntime/qv4identifiertable.cpp jsruntime/qv4identifiertable_p.h
+ jsruntime/qv4include.cpp jsruntime/qv4include_p.h
+ jsruntime/qv4internalclass.cpp jsruntime/qv4internalclass_p.h
+ jsruntime/qv4iterator.cpp jsruntime/qv4iterator_p.h
+ jsruntime/qv4jscall_p.h
+ jsruntime/qv4jsonobject.cpp jsruntime/qv4jsonobject_p.h
+ jsruntime/qv4lookup.cpp jsruntime/qv4lookup_p.h
+ jsruntime/qv4managed.cpp jsruntime/qv4managed_p.h
+ jsruntime/qv4mapiterator.cpp jsruntime/qv4mapiterator_p.h
+ jsruntime/qv4mapobject.cpp jsruntime/qv4mapobject_p.h
+ jsruntime/qv4math_p.h
+ jsruntime/qv4mathobject.cpp jsruntime/qv4mathobject_p.h
+ jsruntime/qv4memberdata.cpp jsruntime/qv4memberdata_p.h
+ jsruntime/qv4module.cpp jsruntime/qv4module_p.h
+ jsruntime/qv4numberobject.cpp jsruntime/qv4numberobject_p.h
+ jsruntime/qv4object.cpp jsruntime/qv4object_p.h
+ jsruntime/qv4objectiterator.cpp jsruntime/qv4objectiterator_p.h
+ jsruntime/qv4objectproto.cpp jsruntime/qv4objectproto_p.h
+ jsruntime/qv4persistent.cpp jsruntime/qv4persistent_p.h
+ jsruntime/qv4profiling_p.h
+ jsruntime/qv4promiseobject.cpp jsruntime/qv4promiseobject_p.h
+ jsruntime/qv4property_p.h
+ jsruntime/qv4propertykey.cpp jsruntime/qv4propertykey_p.h
+ jsruntime/qv4proxy.cpp jsruntime/qv4proxy_p.h
+ jsruntime/qv4qmlcontext.cpp jsruntime/qv4qmlcontext_p.h
+ jsruntime/qv4qobjectwrapper.cpp jsruntime/qv4qobjectwrapper_p.h
+ jsruntime/qv4reflect.cpp jsruntime/qv4reflect_p.h
+ jsruntime/qv4regexp.cpp jsruntime/qv4regexp_p.h
+ jsruntime/qv4regexpobject.cpp jsruntime/qv4regexpobject_p.h
+ jsruntime/qv4runtime.cpp jsruntime/qv4runtime_p.h
+ jsruntime/qv4runtimeapi_p.h
+ jsruntime/qv4runtimecodegen.cpp jsruntime/qv4runtimecodegen_p.h
+ jsruntime/qv4scopedvalue_p.h
+ jsruntime/qv4script.cpp jsruntime/qv4script_p.h
+ jsruntime/qv4setiterator.cpp jsruntime/qv4setiterator_p.h
+ jsruntime/qv4setobject.cpp jsruntime/qv4setobject_p.h
+ jsruntime/qv4sparsearray.cpp jsruntime/qv4sparsearray_p.h
+ jsruntime/qv4stackframe.cpp jsruntime/qv4stackframe_p.h
+ jsruntime/qv4string.cpp jsruntime/qv4string_p.h
+ jsruntime/qv4stringiterator.cpp jsruntime/qv4stringiterator_p.h
+ jsruntime/qv4stringobject.cpp jsruntime/qv4stringobject_p.h
+ jsruntime/qv4symbol.cpp jsruntime/qv4symbol_p.h
+ jsruntime/qv4typedarray.cpp jsruntime/qv4typedarray_p.h
+ jsruntime/qv4value.cpp jsruntime/qv4value_p.h
+ jsruntime/qv4variantobject.cpp jsruntime/qv4variantobject_p.h
+ jsruntime/qv4vme_moth.cpp jsruntime/qv4vme_moth_p.h
+ jsruntime/qv4vtable_p.h
+ memory/qv4heap_p.h
+ memory/qv4mm.cpp memory/qv4mm_p.h
+ memory/qv4mmdefs_p.h
+ memory/qv4writebarrier_p.h
+ parser/qqmljsast.cpp parser/qqmljsast_p.h
+ parser/qqmljsastfwd_p.h
+ parser/qqmljsastvisitor.cpp parser/qqmljsastvisitor_p.h
+ parser/qqmljsengine_p.cpp parser/qqmljsengine_p.h
+ parser/qqmljsglobal_p.h
+ parser/qqmljskeywords_p.h
+ parser/qqmljslexer.cpp parser/qqmljslexer_p.h
+ qml/ftw/qbitfield_p.h
+ qml/ftw/qfieldlist_p.h
+ qml/ftw/qfinitestack_p.h
+ qml/ftw/qflagpointer_p.h
+ qml/ftw/qhashedstring.cpp qml/ftw/qhashedstring_p.h
+ qml/ftw/qintrusivelist.cpp qml/ftw/qintrusivelist_p.h
+ qml/ftw/qlazilyallocated_p.h
+ qml/ftw/qlinkedstringhash_p.h
+ qml/ftw/qpodvector_p.h
+ qml/ftw/qprimefornumbits_p.h
+ qml/ftw/qqmlnullablevalue_p.h
+ qml/ftw/qqmlrefcount_p.h
+ qml/ftw/qqmlthread.cpp qml/ftw/qqmlthread_p.h
+ qml/ftw/qrecursionwatcher_p.h
+ qml/ftw/qrecyclepool_p.h
+ qml/ftw/qstringhash_p.h
+ qml/qqml.cpp qml/qqml.h
+ qml/qqmlabstractbinding.cpp qml/qqmlabstractbinding_p.h
+ qml/qqmlabstracturlinterceptor.cpp qml/qqmlabstracturlinterceptor.h
+ qml/qqmlapplicationengine.cpp qml/qqmlapplicationengine.h qml/qqmlapplicationengine_p.h
+ qml/qqmlbinding.cpp qml/qqmlbinding_p.h
+ qml/qqmlboundsignal.cpp qml/qqmlboundsignal_p.h
+ qml/qqmlboundsignalexpressionpointer_p.h
+ qml/qqmlcleanup.cpp qml/qqmlcleanup_p.h
+ qml/qqmlcomponent.cpp qml/qqmlcomponent.h qml/qqmlcomponent_p.h
+ qml/qqmlcomponentattached_p.h
+ qml/qqmlcontext.cpp qml/qqmlcontext.h qml/qqmlcontext_p.h
+ qml/qqmlcustomparser.cpp qml/qqmlcustomparser_p.h
+ qml/qqmldata_p.h
+ qml/qqmldatablob.cpp qml/qqmldatablob_p.h
+ qml/qqmldelayedcallqueue.cpp qml/qqmldelayedcallqueue_p.h
+ qml/qqmldirdata.cpp qml/qqmldirdata_p.h
+ qml/qqmlengine.cpp qml/qqmlengine.h qml/qqmlengine_p.h
+ qml/qqmlenumdata_p.h
+ qml/qqmlenumvalue_p.h
+ qml/qqmlerror.cpp qml/qqmlerror.h
+ qml/qqmlexpression.cpp qml/qqmlexpression.h qml/qqmlexpression_p.h
+ qml/qqmlextensioninterface.h
+ qml/qqmlextensionplugin.cpp qml/qqmlextensionplugin.h qml/qqmlextensionplugin_p.h
+ qml/qqmlfile.cpp qml/qqmlfile.h
+ qml/qqmlfileselector.cpp qml/qqmlfileselector.h qml/qqmlfileselector_p.h
+ qml/qqmlglobal.cpp qml/qqmlglobal_p.h
+ qml/qqmlguard_p.h
+ qml/qqmlimport.cpp qml/qqmlimport_p.h
+ qml/qqmlincubator.cpp qml/qqmlincubator.h qml/qqmlincubator_p.h
+ qml/qqmlinfo.cpp qml/qqmlinfo.h
+ qml/qqmlirloader.cpp qml/qqmlirloader_p.h
+ qml/qqmljavascriptexpression.cpp qml/qqmljavascriptexpression_p.h
+ qml/qqmllist.cpp qml/qqmllist.h qml/qqmllist_p.h
+ qml/qqmllistwrapper.cpp qml/qqmllistwrapper_p.h
+ qml/qqmlloggingcategory.cpp qml/qqmlloggingcategory_p.h
+ qml/qqmlmetaobject.cpp qml/qqmlmetaobject_p.h
+ qml/qqmlmetatype.cpp qml/qqmlmetatype_p.h
+ qml/qqmlmetatypedata.cpp qml/qqmlmetatypedata_p.h
+ qml/qqmlmoduleregistration.cpp qml/qqmlmoduleregistration.h
+ qml/qqmlnetworkaccessmanagerfactory.cpp qml/qqmlnetworkaccessmanagerfactory.h
+ qml/qqmlnotifier.cpp qml/qqmlnotifier_p.h
+ qml/qqmlobjectcreator.cpp qml/qqmlobjectcreator_p.h
+ qml/qqmlobjectorgadget.cpp qml/qqmlobjectorgadget_p.h
+ qml/qqmlopenmetaobject.cpp qml/qqmlopenmetaobject_p.h
+ qml/qqmlparserstatus.cpp qml/qqmlparserstatus.h
+ qml/qqmlplatform.cpp qml/qqmlplatform_p.h
+ qml/qqmlprivate.h
+ qml/qqmlproperty.cpp qml/qqmlproperty.h qml/qqmlproperty_p.h
+ qml/qqmlpropertycache.cpp qml/qqmlpropertycache_p.h
+ qml/qqmlpropertycachecreator.cpp qml/qqmlpropertycachecreator_p.h
+ qml/qqmlpropertycachemethodarguments_p.h
+ qml/qqmlpropertycachevector_p.h
+ qml/qqmlpropertydata_p.h
+ qml/qqmlpropertyindex_p.h
+ qml/qqmlpropertyresolver.cpp qml/qqmlpropertyresolver_p.h
+ qml/qqmlpropertyvalidator.cpp qml/qqmlpropertyvalidator_p.h
+ qml/qqmlpropertyvalueinterceptor.cpp qml/qqmlpropertyvalueinterceptor_p.h
+ qml/qqmlpropertyvaluesource.cpp qml/qqmlpropertyvaluesource.h
+ qml/qqmlproxymetaobject.cpp qml/qqmlproxymetaobject_p.h
+ qml/qqmlscriptblob.cpp qml/qqmlscriptblob_p.h
+ qml/qqmlscriptdata.cpp qml/qqmlscriptdata_p.h
+ qml/qqmlscriptstring.cpp qml/qqmlscriptstring.h qml/qqmlscriptstring_p.h
+ qml/qqmlsourcecoordinate_p.h
+ qml/qqmlstaticmetaobject.cpp qml/qqmlstaticmetaobject_p.h
+ qml/qqmlstringconverters.cpp qml/qqmlstringconverters_p.h
+ qml/qqmltype.cpp qml/qqmltype_p.h
+ qml/qqmltype_p_p.h
+ qml/qqmltypecompiler.cpp qml/qqmltypecompiler_p.h
+ qml/qqmltypedata.cpp qml/qqmltypedata_p.h
+ qml/qqmltypeloader.cpp qml/qqmltypeloader_p.h
+ qml/qqmltypeloaderqmldircontent.cpp qml/qqmltypeloaderqmldircontent_p.h
+ qml/qqmltypeloaderthread.cpp qml/qqmltypeloaderthread_p.h
+ qml/qqmltypemodule.cpp qml/qqmltypemodule_p.h
+ qml/qqmltypemodule_p_p.h
+ qml/qqmltypemoduleversion.cpp qml/qqmltypemoduleversion_p.h
+ qml/qqmltypenamecache.cpp qml/qqmltypenamecache_p.h
+ qml/qqmltypenotavailable.cpp qml/qqmltypenotavailable_p.h
+ qml/qqmltypewrapper.cpp qml/qqmltypewrapper_p.h
+ qml/qqmlvaluetype.cpp qml/qqmlvaluetype_p.h
+ qml/qqmlvaluetypeproxybinding.cpp qml/qqmlvaluetypeproxybinding_p.h
+ qml/qqmlvaluetypewrapper.cpp
+ qml/qqmlvme.cpp qml/qqmlvme_p.h
+ qml/qqmlvmemetaobject.cpp qml/qqmlvmemetaobject_p.h
+ qml/v8/qqmlbuiltinfunctions.cpp qml/v8/qqmlbuiltinfunctions_p.h
+ qml/v8/qv4domerrors.cpp qml/v8/qv4domerrors_p.h
+ qml/v8/qv4sqlerrors.cpp qml/v8/qv4sqlerrors_p.h
+ qmldirparser/qqmldirparser.cpp qmldirparser/qqmldirparser_p.h
+ qtqmlcompilerglobal.h qtqmlcompilerglobal_p.h
+ qtqmlglobal.h qtqmlglobal_p.h
+ types/qqmlbind.cpp types/qqmlbind_p.h
+ types/qqmlconnections.cpp types/qqmlconnections_p.h
+ util/qqmlpropertymap.cpp util/qqmlpropertymap.h
+ DEFINES
+ BUILDING_QT__
+ ENABLE_ASSEMBLER_WX_EXCLUSIVE=1
+ ENABLE_DFG_JIT=0
+ ENABLE_DFG_JIT_UTILITY_METHODS=1
+ ENABLE_JIT_CONSTANT_BLINDING=0
+ ENABLE_LLINT=0
+ JS_EXPORT_PRIVATE=""
+ QT_NO_FOREACH
+ QT_NO_INTEGER_EVENT_COORDINATES
+ QT_NO_URL_CAST_FROM_STRING
+ WTFInvokeCrashHook=qmlWTFInvokeCrashHook
+ WTFReportAssertionFailure=qmlWTFReportAssertionFailure
+ WTFReportAssertionFailureWithMessage=qmlWTFReportAssertionFailureWithMessage
+ WTFReportBacktrace=qmlWTFReportBacktrace
+ WTF_EXPORT_PRIVATE=""
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_BINARY_DIR}/compiler
+ ${CMAKE_CURRENT_BINARY_DIR}/jsruntime
+ ${CMAKE_CURRENT_BINARY_DIR}/memory
+ ${CMAKE_CURRENT_BINARY_DIR}/qmldirparser
+ ../3rdparty/masm
+ ../3rdparty/masm/assembler
+ ../3rdparty/masm/disassembler
+ ../3rdparty/masm/disassembler/udis86
+ ../3rdparty/masm/jit
+ ../3rdparty/masm/runtime
+ ../3rdparty/masm/stubs
+ ../3rdparty/masm/stubs/runtime
+ ../3rdparty/masm/stubs/wtf
+ ../3rdparty/masm/wtf
+ .generated
+ compiler
+ debugger
+ jsruntime
+ memory
+ qmldirparser
+ LIBRARIES
+ Qt::CorePrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ PRIVATE_MODULE_INTERFACE
+ Qt::CorePrivate
+)
+
+# QLALR Grammars:
+qt_process_qlalr(
+ Qml
+ parser/qqmljs.g
+ ""
+)
+
+#### Keys ignored in scope 1:.:.:qml.pro:<TRUE>:
+# QMLTYPES_FILENAME = "plugins.qmltypes"
+# QMLTYPES_INSTALL_DIR = "$$[QT_INSTALL_QML]/QtQml"
+# QML_IMPORT_NAME = "QtQml"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(Qml CONDITION QT_FEATURE_qml_network
+ SOURCES
+ qml/qqmltypeloadernetworkreplyproxy.cpp qml/qqmltypeloadernetworkreplyproxy_p.h
+ PUBLIC_LIBRARIES
+ Qt::Network
+)
+
+qt_extend_target(Qml CONDITION MSVC AND (TEST_architecture_arch STREQUAL "i386")
+ LINK_OPTIONS
+ "/BASE:0x66000000"
+)
+
+qt_extend_target(Qml CONDITION MSVC
+ DEFINES
+ _CRT_SECURE_NO_WARNINGS
+)
+
+qt_extend_target(Qml CONDITION WIN32 AND NOT WINRT
+ SOURCES
+ ../3rdparty/masm/wtf/OSAllocatorWin.cpp
+ PUBLIC_LIBRARIES
+ shell32
+)
+
+#### Keys ignored in scope 6:.:.:qml.pro:solaris-cc_x_:
+# QMAKE_CXXFLAGS_RELEASE = "--O2"
+
+qt_extend_target(Qml CONDITION GCC AND (TEST_architecture_arch STREQUAL "mips")
+ COMPILE_OPTIONS
+ -fno-reorder-blocks
+)
+
+qt_extend_target(Qml CONDITION EXISTS "qqml_enable_gcov"
+ LIBRARIES
+ gcov
+ COMPILE_OPTIONS
+ -fno-elide-constructors
+ -fprofile-arcs
+ -ftest-coverage
+)
+
+qt_extend_target(Qml CONDITION release AND MSVC AND (QT_CL_MAJOR_VERSION EQUAL 19) AND (QT_CL_MINOR_VERSION EQUAL 00) AND (QT_CL_PATCH_VERSION GREATER 24212)
+ COMPILE_OPTIONS
+ -d2SSAOptimizer-
+)
+
+#### Keys ignored in scope 10:.:.:qml.pro:ICC:
+# WERROR = "-ww2415"
+
+#### Keys ignored in scope 11:.:.:qml.pro:(QT_CLANG_MAJOR_VERSION GREATER 3) OR (QT_CLANG_MINOR_VERSION GREATER 3) OR (QT_APPLE_CLANG_MAJOR_VERSION GREATER 5) OR ( (QT_APPLE_CLANG_MAJOR_VERSION EQUAL 5) AND (QT_APPLE_CLANG_MINOR_VERSION GREATER 0) ):
+# WERROR = "-Wno-error=unused-const-variable"
+
+qt_extend_target(Qml CONDITION QT_FEATURE_qml_jit
+ SOURCES
+ jit/qv4assemblercommon.cpp jit/qv4assemblercommon_p.h
+ jit/qv4baselineassembler.cpp jit/qv4baselineassembler_p.h
+ jit/qv4baselinejit.cpp jit/qv4baselinejit_p.h
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_BINARY_DIR}/jit
+ jit
+)
+
+qt_extend_target(Qml CONDITION QT_FEATURE_qml_animation
+ SOURCES
+ animations/qabstractanimationjob.cpp animations/qabstractanimationjob_p.h
+ animations/qanimationgroupjob.cpp animations/qanimationgroupjob_p.h
+ animations/qanimationjobutil_p.h
+ animations/qcontinuinganimationgroupjob.cpp animations/qcontinuinganimationgroupjob_p.h
+ animations/qparallelanimationgroupjob.cpp animations/qparallelanimationgroupjob_p.h
+ animations/qpauseanimationjob.cpp animations/qpauseanimationjob_p.h
+ animations/qsequentialanimationgroupjob.cpp animations/qsequentialanimationgroupjob_p.h
+ types/qqmltimer.cpp types/qqmltimer_p.h
+ INCLUDE_DIRECTORIES
+ animations
+)
+
+#### Keys ignored in scope 17:.:common:common/common.pri:NOT build_pass:
+# compile_hash_contents = "// Generated file, DO NOT EDIT" "$${LITERAL_HASH}define QML_COMPILE_HASH "$$QML_COMPILE_HASH"" "$${LITERAL_HASH}define QML_COMPILE_HASH_LENGTH $$str_size($$QML_COMPILE_HASH)"
+# tag = <EMPTY>
+# tagFile = "$$PWD/../../.tag"
+
+#### Keys ignored in scope 18:.:common:common/common.pri:EXISTS _ss_tagFile:
+# QMAKE_INTERNAL_INCLUDED_FILES = "$$tagFile"
+# tag = "$$cat($$tagFile, singleline)"
+
+#### Keys ignored in scope 19:.:common:common/common.pri:NOT tag___equals____ss_{LITERAL_DOLLAR}Format AND %H_ss_{LITERAL_DOLLAR}:
+# QML_COMPILE_HASH = "$$tag"
+
+#### Keys ignored in scope 21:.:common:common/common.pri:EXISTS _ss_PWD/../../.git:
+# QML_COMPILE_HASH = "$$commit"
+# commit = "$$system(git rev-parse HEAD)"
+
+qt_extend_target(Qml CONDITION GCC AND QT_COMPILER_VERSION_MAJOR STREQUAL 5
+ COMPILE_OPTIONS
+ -fno-strict-aliasing
+)
+
+qt_extend_target(Qml CONDITION QT_FEATURE_qml_debug
+ SOURCES
+ debugger/qqmlabstractprofileradapter.cpp debugger/qqmlabstractprofileradapter_p.h
+ debugger/qqmlconfigurabledebugservice_p.h
+ debugger/qqmldebug.cpp
+ debugger/qqmldebugconnector.cpp
+ debugger/qqmldebugpluginmanager_p.h
+ debugger/qqmldebugserver_p.h
+ debugger/qqmldebugserverconnection_p.h
+ debugger/qqmldebugservice.cpp debugger/qqmldebugservice_p.h
+ debugger/qqmldebugservicefactory_p.h
+ debugger/qqmldebugserviceinterfaces.cpp
+ debugger/qqmlprofiler.cpp
+ debugger/qqmlprofilerdefinitions_p.h
+ jsruntime/qv4profiling.cpp
+)
+
+qt_extend_target(Qml CONDITION QT_FEATURE_qml_sequence_object
+ SOURCES
+ jsruntime/qv4sequenceobject.cpp jsruntime/qv4sequenceobject_p.h
+)
+
+qt_extend_target(Qml CONDITION UNIX
+ SOURCES
+ jsruntime/qv4compilationunitmapper_unix.cpp
+ jsruntime/qv4functiontable_unix.cpp
+)
+
+qt_extend_target(Qml CONDITION WIN32
+ SOURCES
+ jsruntime/qv4compilationunitmapper_win.cpp
+ DEFINES
+ NOMINMAX
+)
+
+qt_extend_target(Qml CONDITION (TEST_architecture_arch STREQUAL "x86_64") AND WIN32 AND NOT WINRT
+ SOURCES
+ jsruntime/qv4functiontable_win64.cpp
+)
+
+qt_extend_target(Qml CONDITION WIN32 AND (WINRT OR NOT (TEST_architecture_arch STREQUAL "x86_64"))
+ SOURCES
+ jsruntime/qv4functiontable_noop.cpp
+)
+
+qt_extend_target(Qml CONDITION valgrind
+ DEFINES
+ V4_USE_VALGRIND
+)
+
+qt_extend_target(Qml CONDITION heaptrack
+ DEFINES
+ V4_USE_HEAPTRACK
+)
+
+qt_extend_target(Qml CONDITION QT_FEATURE_qml_xml_http_request
+ SOURCES
+ qml/qqmlxmlhttprequest.cpp qml/qqmlxmlhttprequest_p.h
+)
+
+qt_extend_target(Qml CONDITION QT_FEATURE_qml_locale
+ SOURCES
+ qml/qqmllocale.cpp qml/qqmllocale_p.h
+)
+
+qt_extend_target(Qml CONDITION ANDROID
+ DEFINES
+ LIBS_SUFFIX="_${CMAKE_SYSTEM_PROCESSOR}.so"
+)
+
+qt_extend_target(Qml CONDITION hpux-_x_ OR solaris-_x_ OR (QT_FEATURE_clock_gettime AND linux-_x_)
+ LIBRARIES
+ rt
+)
+
+qt_extend_target(Qml CONDITION QT_FEATURE_qml_itemmodel
+ SOURCES
+ types/qqmlmodelindexvaluetype.cpp types/qqmlmodelindexvaluetype_p.h
+)
+
+qt_extend_target(Qml CONDITION disassembler AND ((TEST_architecture_arch STREQUAL "i386") OR (TEST_architecture_arch STREQUAL "x86_64"))
+ DEFINES
+ WTF_USE_UDIS86=1
+)
+
+qt_extend_target(Qml CONDITION (TEST_architecture_arch STREQUAL "arm") AND disassembler
+ DEFINES
+ WTF_USE_ARMV7_DISASSEMBLER=1
+)
+
+qt_extend_target(Qml CONDITION (TEST_architecture_arch STREQUAL "arm64") AND disassembler
+ DEFINES
+ WTF_USE_ARM64_DISASSEMBLER=1
+)
+
+qt_extend_target(Qml CONDITION (TEST_architecture_arch STREQUAL "mips") AND disassembler
+ DEFINES
+ WTF_USE_MIPS32_DISASSEMBLER=1
+)
+
+qt_extend_target(Qml CONDITION NOT disassembler
+ DEFINES
+ WTF_USE_UDIS86=0
+)
+
+qt_extend_target(Qml CONDITION CMAKE_BUILD_TYPE STREQUAL Release
+ DEFINES
+ NDEBUG
+)
+
+qt_extend_target(Qml CONDITION GCC AND QT_COMPILER_VERSION_MAJOR STRGREATER 6 AND NOT CLANG AND NOT ICC
+ COMPILE_OPTIONS
+ -Wno-expansion-to-defined
+)
+
+#### Keys ignored in scope 65:.:../3rdparty/masm:../3rdparty/masm/masm-defs.pri:(QT_COMPILER_VERSION_MAJOR STRGREATER 6):
+# QMAKE_CXXFLAGS_WARN_ON = "-Wno-expansion-to-defined"
+
+qt_extend_target(Qml CONDITION WINRT
+ SOURCES
+ ../3rdparty/masm/wtf/OSAllocatorWinRT.cpp
+)
+
+qt_extend_target(Qml CONDITION INTEGRITY
+ SOURCES
+ ../3rdparty/masm/wtf/OSAllocatorIntegrity.cpp
+)
+
+qt_extend_target(Qml CONDITION UNIX AND NOT INTEGRITY AND NOT WINRT
+ SOURCES
+ ../3rdparty/masm/wtf/OSAllocatorPosix.cpp
+)
+
+qt_extend_target(Qml CONDITION DEFINES___contains___WTF_USE_UDIS86=1
+ SOURCES
+ ../3rdparty/masm/disassembler/udis86/udis86.c
+ ../3rdparty/masm/disassembler/udis86/udis86_decode.c
+ ../3rdparty/masm/disassembler/udis86/udis86_input.c
+ ../3rdparty/masm/disassembler/udis86/udis86_itab_holder.c
+ ../3rdparty/masm/disassembler/udis86/udis86_syn.c
+ ../3rdparty/masm/disassembler/udis86/udis86_syn-att.c
+ ../3rdparty/masm/disassembler/udis86/udis86_syn-intel.c
+)
+
+#### Keys ignored in scope 73:.:../3rdparty/masm:../3rdparty/masm/masm.pri:DEFINES___contains___WTF_USE_UDIS86=1:
+# ITAB = "$$PWD/disassembler/udis86/optable.xml"
+# QMAKE_EXTRA_COMPILERS = "udis86"
+# QMAKE_EXTRA_TARGETS = "udis86_tab_cfile"
+# udis86.CONFIG = "no_link"
+# udis86.commands = "python" "$$PWD/disassembler/udis86/itab.py" "${QMAKE_FILE_IN}"
+# udis86.input = "ITAB"
+# udis86.output = "udis86_itab.h"
+# udis86_tab_cfile.depends = "udis86_itab.h"
+# udis86_tab_cfile.target = "$$OUT_PWD/udis86_itab.c"
+
+#### Keys ignored in scope 75:.:../3rdparty/masm:../3rdparty/masm/masm.pri:(CMAKE_BUILD_TYPE STREQUAL Debug):
+# GENERATEDDIR = "$$GENERATEDDIR/debug"
+
+#### Keys ignored in scope 76:.:../3rdparty/masm:../3rdparty/masm/masm.pri:else:
+# GENERATEDDIR = "$$GENERATEDDIR/release"
+
+qt_extend_target(Qml CONDITION (NOT c++11 AND NOT ICC) AND (CLANG)
+ COMPILE_OPTIONS
+ -Wno-c++0x-extensions
+ -Wno-c++11-extensions
+)
+
+qt_extend_target(Qml CONDITION (((NOT c++11 AND NOT ICC) AND (NOT (CLANG))) AND (GCC)) AND ((QT_COMPILER_VERSION_MAJOR STRGREATER 4) OR (QT_COMPILER_VERSION_MINOR STRGREATER 5))
+ COMPILE_OPTIONS
+ -Wno-c++0x-compat
+)
+
+
+qt_create_tracepoints(Qml qtqml.tracepoints)
+qt_add_docs(Qml
+ doc/qtqml.qdocconf
+)
+
+
+set_target_properties(Qml PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION ${CMAKE_PROJECT_VERSION}
+ QT_QML_MODULE_URI QtQml
+ QT_QML_MODULE_INSTALL_DIR "${INSTALL_QMLDIR}/QtQml"
+)
+
+qt6_qml_type_registration(Qml)
diff --git a/src/qml/CMakeLists.txt b/src/qml/CMakeLists.txt
new file mode 100644
index 0000000000..3240e48092
--- /dev/null
+++ b/src/qml/CMakeLists.txt
@@ -0,0 +1,628 @@
+# Generated from qml.pro.
+
+#####################################################################
+## Qml Module:
+#####################################################################
+
+qt_add_module(Qml
+ GENERATE_METATYPES
+ PLUGIN_TYPES qmltooling
+ SOURCES
+ # ../3rdparty/masm/assembler/*.h special case remove
+ ../3rdparty/masm/assembler/ARMv7Assembler.cpp
+ ../3rdparty/masm/assembler/LinkBuffer.cpp
+ ../3rdparty/masm/disassembler/ARM64/A64DOpcode.cpp ../3rdparty/masm/disassembler/ARM64/A64DOpcode.h
+ ../3rdparty/masm/disassembler/ARM64Disassembler.cpp
+ ../3rdparty/masm/disassembler/ARMv7/ARMv7DOpcode.cpp ../3rdparty/masm/disassembler/ARMv7/ARMv7DOpcode.h
+ ../3rdparty/masm/disassembler/ARMv7Disassembler.cpp
+ ../3rdparty/masm/disassembler/Disassembler.cpp
+ ../3rdparty/masm/disassembler/Mips32Disassembler.cpp
+ ../3rdparty/masm/disassembler/UDis86Disassembler.cpp
+ ../3rdparty/masm/disassembler/mips32/Mips32Opcode.cpp ../3rdparty/masm/disassembler/mips32/Mips32Opcode.h
+ ../3rdparty/masm/stubs/Options.cpp
+ ../3rdparty/masm/stubs/WTFStubs.cpp ../3rdparty/masm/stubs/WTFStubs.h
+ ../3rdparty/masm/stubs/wtf/FastAllocBase.h
+ ../3rdparty/masm/stubs/wtf/FastMalloc.h
+ ../3rdparty/masm/stubs/wtf/Noncopyable.h
+ ../3rdparty/masm/stubs/wtf/OwnPtr.h
+ ../3rdparty/masm/stubs/wtf/PassOwnPtr.h
+ ../3rdparty/masm/stubs/wtf/PassRefPtr.h
+ ../3rdparty/masm/stubs/wtf/RefCounted.h
+ ../3rdparty/masm/stubs/wtf/RefPtr.h
+ ../3rdparty/masm/stubs/wtf/TypeTraits.h
+ ../3rdparty/masm/stubs/wtf/UnusedParam.h
+ ../3rdparty/masm/stubs/wtf/Vector.h
+ ../3rdparty/masm/stubs/yarr/YarrUnicodeProperties.cpp
+ # ../3rdparty/masm/wtf/*.h special case remove
+ ../3rdparty/masm/wtf/FilePrintStream.cpp ../3rdparty/masm/wtf/FilePrintStream.h
+ ../3rdparty/masm/wtf/OSAllocator.h
+ ../3rdparty/masm/wtf/PageAllocation.h
+ ../3rdparty/masm/wtf/PageAllocationAligned.cpp ../3rdparty/masm/wtf/PageAllocationAligned.h
+ ../3rdparty/masm/wtf/PageBlock.cpp ../3rdparty/masm/wtf/PageBlock.h
+ ../3rdparty/masm/wtf/PageReservation.h
+ ../3rdparty/masm/wtf/PrintStream.cpp ../3rdparty/masm/wtf/PrintStream.h
+ ../3rdparty/masm/wtf/RawPointer.h
+ ../3rdparty/masm/yarr/Yarr.h
+ ../3rdparty/masm/yarr/YarrCanonicalizeUCS2.cpp ../3rdparty/masm/yarr/YarrCanonicalizeUCS2.h
+ ../3rdparty/masm/yarr/YarrCanonicalizeUnicode.cpp
+ ../3rdparty/masm/yarr/YarrInterpreter.cpp ../3rdparty/masm/yarr/YarrInterpreter.h
+ ../3rdparty/masm/yarr/YarrJIT.cpp ../3rdparty/masm/yarr/YarrJIT.h
+ ../3rdparty/masm/yarr/YarrParser.h
+ ../3rdparty/masm/yarr/YarrPattern.cpp ../3rdparty/masm/yarr/YarrPattern.h
+ ../3rdparty/masm/yarr/YarrSyntaxChecker.cpp ../3rdparty/masm/yarr/YarrSyntaxChecker.h
+ ../3rdparty/masm/yarr/YarrUnicodeProperties.h
+ common/qqmlapiversion_p.h
+ common/qqmljsdiagnosticmessage_p.h
+ common/qqmljsfixedpoolarray_p.h
+ common/qqmljsmemorypool_p.h
+ common/qqmljssourcelocation_p.h
+ common/qv4alloca_p.h
+ common/qv4calldata_p.h
+ common/qv4compileddata_p.h
+ common/qv4staticvalue_p.h
+ common/qv4stringtoarrayindex_p.h
+ compiler/qqmlirbuilder.cpp compiler/qqmlirbuilder_p.h
+ compiler/qv4bytecodegenerator.cpp compiler/qv4bytecodegenerator_p.h
+ compiler/qv4bytecodehandler.cpp compiler/qv4bytecodehandler_p.h
+ compiler/qv4codegen.cpp compiler/qv4codegen_p.h
+ compiler/qv4compiler.cpp compiler/qv4compiler_p.h
+ compiler/qv4compilercontext.cpp compiler/qv4compilercontext_p.h
+ compiler/qv4compilercontrolflow_p.h
+ compiler/qv4compilerglobal_p.h
+ compiler/qv4compilerscanfunctions.cpp compiler/qv4compilerscanfunctions_p.h
+ compiler/qv4instr_moth.cpp compiler/qv4instr_moth_p.h
+ compiler/qv4util_p.h
+ debugger/qqmldebug.h
+ debugger/qqmldebugconnector_p.h
+ debugger/qqmldebugserviceinterfaces_p.h
+ debugger/qqmldebugstatesdelegate_p.h
+ debugger/qqmlprofiler_p.h
+ inlinecomponentutils_p.h
+ jsapi/qjsengine.cpp jsapi/qjsengine.h jsapi/qjsengine_p.h
+ jsapi/qjsvalue.cpp jsapi/qjsvalue.h jsapi/qjsvalue_p.h
+ jsapi/qjsvalueiterator.cpp jsapi/qjsvalueiterator.h jsapi/qjsvalueiterator_p.h
+ jsruntime/qv4argumentsobject.cpp jsruntime/qv4argumentsobject_p.h
+ jsruntime/qv4arraybuffer.cpp jsruntime/qv4arraybuffer_p.h
+ jsruntime/qv4arraydata.cpp jsruntime/qv4arraydata_p.h
+ jsruntime/qv4arrayiterator.cpp jsruntime/qv4arrayiterator_p.h
+ jsruntime/qv4arrayobject.cpp jsruntime/qv4arrayobject_p.h
+ jsruntime/qv4atomics.cpp jsruntime/qv4atomics_p.h
+ jsruntime/qv4booleanobject.cpp jsruntime/qv4booleanobject_p.h
+ jsruntime/qv4compilationunitmapper.cpp jsruntime/qv4compilationunitmapper_p.h
+ jsruntime/qv4context.cpp jsruntime/qv4context_p.h
+ jsruntime/qv4dataview.cpp jsruntime/qv4dataview_p.h
+ jsruntime/qv4dateobject.cpp jsruntime/qv4dateobject_p.h
+ jsruntime/qv4debugging_p.h
+ jsruntime/qv4engine.cpp jsruntime/qv4engine_p.h
+ jsruntime/qv4enginebase_p.h
+ jsruntime/qv4errorobject.cpp jsruntime/qv4errorobject_p.h
+ jsruntime/qv4estable.cpp jsruntime/qv4estable_p.h
+ jsruntime/qv4executableallocator.cpp jsruntime/qv4executableallocator_p.h
+ jsruntime/qv4executablecompilationunit.cpp jsruntime/qv4executablecompilationunit_p.h
+ jsruntime/qv4function.cpp jsruntime/qv4function_p.h
+ jsruntime/qv4functionobject.cpp jsruntime/qv4functionobject_p.h
+ jsruntime/qv4functiontable_p.h
+ jsruntime/qv4generatorobject.cpp jsruntime/qv4generatorobject_p.h
+ jsruntime/qv4global_p.h
+ jsruntime/qv4globalobject.cpp jsruntime/qv4globalobject_p.h
+ jsruntime/qv4identifier.cpp jsruntime/qv4identifier_p.h
+ jsruntime/qv4identifiertable.cpp jsruntime/qv4identifiertable_p.h
+ jsruntime/qv4include.cpp jsruntime/qv4include_p.h
+ jsruntime/qv4internalclass.cpp jsruntime/qv4internalclass_p.h
+ jsruntime/qv4iterator.cpp jsruntime/qv4iterator_p.h
+ jsruntime/qv4jscall_p.h
+ jsruntime/qv4jsonobject.cpp jsruntime/qv4jsonobject_p.h
+ jsruntime/qv4lookup.cpp jsruntime/qv4lookup_p.h
+ jsruntime/qv4managed.cpp jsruntime/qv4managed_p.h
+ jsruntime/qv4mapiterator.cpp jsruntime/qv4mapiterator_p.h
+ jsruntime/qv4mapobject.cpp jsruntime/qv4mapobject_p.h
+ jsruntime/qv4math_p.h
+ jsruntime/qv4mathobject.cpp jsruntime/qv4mathobject_p.h
+ jsruntime/qv4memberdata.cpp jsruntime/qv4memberdata_p.h
+ jsruntime/qv4module.cpp jsruntime/qv4module_p.h
+ jsruntime/qv4numberobject.cpp jsruntime/qv4numberobject_p.h
+ jsruntime/qv4object.cpp jsruntime/qv4object_p.h
+ jsruntime/qv4objectiterator.cpp jsruntime/qv4objectiterator_p.h
+ jsruntime/qv4objectproto.cpp jsruntime/qv4objectproto_p.h
+ jsruntime/qv4persistent.cpp jsruntime/qv4persistent_p.h
+ jsruntime/qv4profiling_p.h
+ jsruntime/qv4promiseobject.cpp jsruntime/qv4promiseobject_p.h
+ jsruntime/qv4property_p.h
+ jsruntime/qv4propertykey.cpp jsruntime/qv4propertykey_p.h
+ jsruntime/qv4proxy.cpp jsruntime/qv4proxy_p.h
+ jsruntime/qv4qmlcontext.cpp jsruntime/qv4qmlcontext_p.h
+ jsruntime/qv4qobjectwrapper.cpp jsruntime/qv4qobjectwrapper_p.h
+ jsruntime/qv4reflect.cpp jsruntime/qv4reflect_p.h
+ jsruntime/qv4regexp.cpp jsruntime/qv4regexp_p.h
+ jsruntime/qv4regexpobject.cpp jsruntime/qv4regexpobject_p.h
+ jsruntime/qv4runtime.cpp jsruntime/qv4runtime_p.h
+ jsruntime/qv4runtimeapi_p.h
+ jsruntime/qv4runtimecodegen.cpp jsruntime/qv4runtimecodegen_p.h
+ jsruntime/qv4scopedvalue_p.h
+ jsruntime/qv4script.cpp jsruntime/qv4script_p.h
+ jsruntime/qv4setiterator.cpp jsruntime/qv4setiterator_p.h
+ jsruntime/qv4setobject.cpp jsruntime/qv4setobject_p.h
+ jsruntime/qv4sparsearray.cpp jsruntime/qv4sparsearray_p.h
+ jsruntime/qv4stackframe.cpp jsruntime/qv4stackframe_p.h
+ jsruntime/qv4string.cpp jsruntime/qv4string_p.h
+ jsruntime/qv4stringiterator.cpp jsruntime/qv4stringiterator_p.h
+ jsruntime/qv4stringobject.cpp jsruntime/qv4stringobject_p.h
+ jsruntime/qv4symbol.cpp jsruntime/qv4symbol_p.h
+ jsruntime/qv4typedarray.cpp jsruntime/qv4typedarray_p.h
+ jsruntime/qv4value.cpp jsruntime/qv4value_p.h
+ jsruntime/qv4variantobject.cpp jsruntime/qv4variantobject_p.h
+ jsruntime/qv4vme_moth.cpp jsruntime/qv4vme_moth_p.h
+ jsruntime/qv4vtable_p.h
+ memory/qv4heap_p.h
+ memory/qv4mm.cpp memory/qv4mm_p.h
+ memory/qv4mmdefs_p.h
+ memory/qv4writebarrier_p.h
+ parser/qqmljsast.cpp parser/qqmljsast_p.h
+ parser/qqmljsastfwd_p.h
+ parser/qqmljsastvisitor.cpp parser/qqmljsastvisitor_p.h
+ parser/qqmljsengine_p.cpp parser/qqmljsengine_p.h
+ parser/qqmljsglobal_p.h
+ parser/qqmljskeywords_p.h
+ parser/qqmljslexer.cpp parser/qqmljslexer_p.h
+ qml/ftw/qbitfield_p.h
+ qml/ftw/qfieldlist_p.h
+ qml/ftw/qfinitestack_p.h
+ qml/ftw/qflagpointer_p.h
+ qml/ftw/qhashedstring.cpp qml/ftw/qhashedstring_p.h
+ qml/ftw/qintrusivelist.cpp qml/ftw/qintrusivelist_p.h
+ qml/ftw/qlazilyallocated_p.h
+ qml/ftw/qlinkedstringhash_p.h
+ qml/ftw/qpodvector_p.h
+ qml/ftw/qprimefornumbits_p.h
+ qml/ftw/qqmlnullablevalue_p.h
+ qml/ftw/qqmlrefcount_p.h
+ qml/ftw/qqmlthread.cpp qml/ftw/qqmlthread_p.h
+ qml/ftw/qrecursionwatcher_p.h
+ qml/ftw/qrecyclepool_p.h
+ qml/ftw/qstringhash_p.h
+ qml/qqml.cpp qml/qqml.h
+ qml/qqmlabstractbinding.cpp qml/qqmlabstractbinding_p.h
+ qml/qqmlabstracturlinterceptor.cpp qml/qqmlabstracturlinterceptor.h
+ qml/qqmlapplicationengine.cpp qml/qqmlapplicationengine.h qml/qqmlapplicationengine_p.h
+ qml/qqmlbinding.cpp qml/qqmlbinding_p.h
+ qml/qqmlboundsignal.cpp qml/qqmlboundsignal_p.h
+ qml/qqmlboundsignalexpressionpointer_p.h
+ qml/qqmlcleanup.cpp qml/qqmlcleanup_p.h
+ qml/qqmlcomponent.cpp qml/qqmlcomponent.h qml/qqmlcomponent_p.h
+ qml/qqmlcomponentattached_p.h
+ qml/qqmlcontext.cpp qml/qqmlcontext.h qml/qqmlcontext_p.h
+ qml/qqmlcustomparser.cpp qml/qqmlcustomparser_p.h
+ qml/qqmldata_p.h
+ qml/qqmldatablob.cpp qml/qqmldatablob_p.h
+ qml/qqmldelayedcallqueue.cpp qml/qqmldelayedcallqueue_p.h
+ qml/qqmldirdata.cpp qml/qqmldirdata_p.h
+ qml/qqmlengine.cpp qml/qqmlengine.h qml/qqmlengine_p.h
+ qml/qqmlenumdata_p.h
+ qml/qqmlenumvalue_p.h
+ qml/qqmlerror.cpp qml/qqmlerror.h
+ qml/qqmlexpression.cpp qml/qqmlexpression.h qml/qqmlexpression_p.h
+ qml/qqmlextensioninterface.h
+ qml/qqmlextensionplugin.cpp qml/qqmlextensionplugin.h qml/qqmlextensionplugin_p.h
+ qml/qqmlfile.cpp qml/qqmlfile.h
+ qml/qqmlfileselector.cpp qml/qqmlfileselector.h qml/qqmlfileselector_p.h
+ qml/qqmlglobal.cpp qml/qqmlglobal_p.h
+ qml/qqmlguard_p.h
+ qml/qqmlimport.cpp qml/qqmlimport_p.h
+ qml/qqmlincubator.cpp qml/qqmlincubator.h qml/qqmlincubator_p.h
+ qml/qqmlinfo.cpp qml/qqmlinfo.h
+ qml/qqmlirloader.cpp qml/qqmlirloader_p.h
+ qml/qqmljavascriptexpression.cpp qml/qqmljavascriptexpression_p.h
+ qml/qqmllist.cpp qml/qqmllist.h qml/qqmllist_p.h
+ qml/qqmllistwrapper.cpp qml/qqmllistwrapper_p.h
+ qml/qqmlloggingcategory.cpp qml/qqmlloggingcategory_p.h
+ qml/qqmlmetaobject.cpp qml/qqmlmetaobject_p.h
+ qml/qqmlmetatype.cpp qml/qqmlmetatype_p.h
+ qml/qqmlmetatypedata.cpp qml/qqmlmetatypedata_p.h
+ qml/qqmlmoduleregistration.cpp qml/qqmlmoduleregistration.h
+ qml/qqmlnetworkaccessmanagerfactory.cpp qml/qqmlnetworkaccessmanagerfactory.h
+ qml/qqmlnotifier.cpp qml/qqmlnotifier_p.h
+ qml/qqmlobjectcreator.cpp qml/qqmlobjectcreator_p.h
+ qml/qqmlobjectorgadget.cpp qml/qqmlobjectorgadget_p.h
+ qml/qqmlopenmetaobject.cpp qml/qqmlopenmetaobject_p.h
+ qml/qqmlparserstatus.cpp qml/qqmlparserstatus.h
+ qml/qqmlplatform.cpp qml/qqmlplatform_p.h
+ qml/qqmlprivate.h
+ qml/qqmlproperty.cpp qml/qqmlproperty.h qml/qqmlproperty_p.h
+ qml/qqmlpropertycache.cpp qml/qqmlpropertycache_p.h
+ qml/qqmlpropertycachecreator.cpp qml/qqmlpropertycachecreator_p.h
+ qml/qqmlpropertycachemethodarguments_p.h
+ qml/qqmlpropertycachevector_p.h
+ qml/qqmlpropertydata_p.h
+ qml/qqmlpropertyindex_p.h
+ qml/qqmlpropertyresolver.cpp qml/qqmlpropertyresolver_p.h
+ qml/qqmlpropertyvalidator.cpp qml/qqmlpropertyvalidator_p.h
+ qml/qqmlpropertyvalueinterceptor.cpp qml/qqmlpropertyvalueinterceptor_p.h
+ qml/qqmlpropertyvaluesource.cpp qml/qqmlpropertyvaluesource.h
+ qml/qqmlproxymetaobject.cpp qml/qqmlproxymetaobject_p.h
+ qml/qqmlscriptblob.cpp qml/qqmlscriptblob_p.h
+ qml/qqmlscriptdata.cpp qml/qqmlscriptdata_p.h
+ qml/qqmlscriptstring.cpp qml/qqmlscriptstring.h qml/qqmlscriptstring_p.h
+ qml/qqmlsourcecoordinate_p.h
+ qml/qqmlstaticmetaobject.cpp qml/qqmlstaticmetaobject_p.h
+ qml/qqmlstringconverters.cpp qml/qqmlstringconverters_p.h
+ qml/qqmltype.cpp qml/qqmltype_p.h
+ qml/qqmltype_p_p.h
+ qml/qqmltypecompiler.cpp qml/qqmltypecompiler_p.h
+ qml/qqmltypedata.cpp qml/qqmltypedata_p.h
+ qml/qqmltypeloader.cpp qml/qqmltypeloader_p.h
+ qml/qqmltypeloaderqmldircontent.cpp qml/qqmltypeloaderqmldircontent_p.h
+ qml/qqmltypeloaderthread.cpp qml/qqmltypeloaderthread_p.h
+ qml/qqmltypemodule.cpp qml/qqmltypemodule_p.h
+ qml/qqmltypemodule_p_p.h
+ qml/qqmltypemoduleversion.cpp qml/qqmltypemoduleversion_p.h
+ qml/qqmltypenamecache.cpp qml/qqmltypenamecache_p.h
+ qml/qqmltypenotavailable.cpp qml/qqmltypenotavailable_p.h
+ qml/qqmltypewrapper.cpp qml/qqmltypewrapper_p.h
+ qml/qqmlvaluetype.cpp qml/qqmlvaluetype_p.h
+ qml/qqmlvaluetypeproxybinding.cpp qml/qqmlvaluetypeproxybinding_p.h
+ qml/qqmlvaluetypewrapper.cpp
+ qml/qqmlvme.cpp qml/qqmlvme_p.h
+ qml/qqmlvmemetaobject.cpp qml/qqmlvmemetaobject_p.h
+ qml/v8/qqmlbuiltinfunctions.cpp qml/v8/qqmlbuiltinfunctions_p.h
+ qml/v8/qv4domerrors.cpp qml/v8/qv4domerrors_p.h
+ qml/v8/qv4sqlerrors.cpp qml/v8/qv4sqlerrors_p.h
+ qmldirparser/qqmldirparser.cpp qmldirparser/qqmldirparser_p.h
+ qtqmlcompilerglobal.h qtqmlcompilerglobal_p.h
+ qtqmlglobal.h qtqmlglobal_p.h
+ types/qqmlbind.cpp types/qqmlbind_p.h
+ types/qqmlconnections.cpp types/qqmlconnections_p.h
+ util/qqmlpropertymap.cpp util/qqmlpropertymap.h
+ DEFINES
+ BUILDING_QT__
+ ENABLE_ASSEMBLER_WX_EXCLUSIVE=1
+ ENABLE_DFG_JIT=0
+ ENABLE_DFG_JIT_UTILITY_METHODS=1
+ ENABLE_JIT_CONSTANT_BLINDING=0
+ ENABLE_LLINT=0
+ JS_EXPORT_PRIVATE= # special case
+ QT_NO_FOREACH
+ QT_NO_INTEGER_EVENT_COORDINATES
+ QT_NO_URL_CAST_FROM_STRING
+ WTFInvokeCrashHook=qmlWTFInvokeCrashHook
+ WTFReportAssertionFailure=qmlWTFReportAssertionFailure
+ WTFReportAssertionFailureWithMessage=qmlWTFReportAssertionFailureWithMessage
+ WTFReportBacktrace=qmlWTFReportBacktrace
+ WTF_EXPORT_PRIVATE= # special case
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_BINARY_DIR}/compiler
+ ${CMAKE_CURRENT_BINARY_DIR}/jsruntime
+ ${CMAKE_CURRENT_BINARY_DIR}/memory
+ ${CMAKE_CURRENT_BINARY_DIR}/qmldirparser
+ ../3rdparty/masm
+ ../3rdparty/masm/assembler
+ ../3rdparty/masm/disassembler
+ ../3rdparty/masm/disassembler/udis86
+ ../3rdparty/masm/jit
+ ../3rdparty/masm/runtime
+ ../3rdparty/masm/stubs
+ ../3rdparty/masm/stubs/runtime
+ ../3rdparty/masm/stubs/wtf
+ ../3rdparty/masm/wtf
+ .generated
+ compiler
+ debugger
+ jsruntime
+ memory
+ qmldirparser
+ LIBRARIES
+ Qt::CorePrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ PRIVATE_MODULE_INTERFACE
+ Qt::CorePrivate
+)
+
+# special case begin remove the block, handled manually
+# QLALR Grammars:
+#qt_process_qlalr(
+# Qml
+# parser/qqmljs.g
+# ""
+#)
+
+qt_declarative_write_tag_header(Qml)
+set(_qt_qlalr_flags "--no-debug" "--qt")
+qt_process_qlalr(Qml "${CMAKE_CURRENT_SOURCE_DIR}/parser/qqmljs.g" "${_qt_qlalr_flags}")
+qt_declarative_generate_reg_exp_jit_tables(Qml)
+# special case end
+
+#### Keys ignored in scope 1:.:.:qml.pro:<TRUE>:
+# QMLTYPES_FILENAME = "plugins.qmltypes"
+# QMLTYPES_INSTALL_DIR = "$$[QT_INSTALL_QML]/QtQml"
+# QML_IMPORT_NAME = "QtQml"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(Qml CONDITION QT_FEATURE_qml_network
+ SOURCES
+ qml/qqmltypeloadernetworkreplyproxy.cpp qml/qqmltypeloadernetworkreplyproxy_p.h
+ PUBLIC_LIBRARIES
+ Qt::Network
+)
+
+qt_extend_target(Qml CONDITION MSVC AND (TEST_architecture_arch STREQUAL "i386")
+ LINK_OPTIONS
+ "/BASE:0x66000000"
+)
+
+qt_extend_target(Qml CONDITION MSVC
+ DEFINES
+ _CRT_SECURE_NO_WARNINGS
+)
+
+qt_extend_target(Qml CONDITION WIN32 AND NOT WINRT
+ SOURCES
+ ../3rdparty/masm/wtf/OSAllocatorWin.cpp
+ PUBLIC_LIBRARIES
+ shell32
+)
+
+#### Keys ignored in scope 6:.:.:qml.pro:solaris-cc_x_:
+# QMAKE_CXXFLAGS_RELEASE = "--O2"
+
+qt_extend_target(Qml CONDITION GCC AND (TEST_architecture_arch STREQUAL "mips")
+ COMPILE_OPTIONS
+ -fno-reorder-blocks
+)
+
+qt_extend_target(Qml CONDITION EXISTS "qqml_enable_gcov"
+ LIBRARIES
+ gcov
+ COMPILE_OPTIONS
+ -fno-elide-constructors
+ -fprofile-arcs
+ -ftest-coverage
+)
+
+qt_extend_target(Qml CONDITION release AND MSVC AND (QT_CL_MAJOR_VERSION EQUAL 19) AND (QT_CL_MINOR_VERSION EQUAL 00) AND (QT_CL_PATCH_VERSION GREATER 24212)
+ COMPILE_OPTIONS
+ -d2SSAOptimizer-
+)
+
+#### Keys ignored in scope 10:.:.:qml.pro:ICC:
+# WERROR = "-ww2415"
+
+#### Keys ignored in scope 11:.:.:qml.pro:(QT_CLANG_MAJOR_VERSION GREATER 3) OR (QT_CLANG_MINOR_VERSION GREATER 3) OR (QT_APPLE_CLANG_MAJOR_VERSION GREATER 5) OR ( (QT_APPLE_CLANG_MAJOR_VERSION EQUAL 5) AND (QT_APPLE_CLANG_MINOR_VERSION GREATER 0) ):
+# WERROR = "-Wno-error=unused-const-variable"
+
+qt_extend_target(Qml CONDITION QT_FEATURE_qml_jit
+ SOURCES
+ jit/qv4assemblercommon.cpp jit/qv4assemblercommon_p.h
+ jit/qv4baselineassembler.cpp jit/qv4baselineassembler_p.h
+ jit/qv4baselinejit.cpp jit/qv4baselinejit_p.h
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_BINARY_DIR}/jit
+ jit
+)
+
+qt_extend_target(Qml CONDITION QT_FEATURE_qml_animation
+ SOURCES
+ animations/qabstractanimationjob.cpp animations/qabstractanimationjob_p.h
+ animations/qanimationgroupjob.cpp animations/qanimationgroupjob_p.h
+ animations/qanimationjobutil_p.h
+ animations/qcontinuinganimationgroupjob.cpp animations/qcontinuinganimationgroupjob_p.h
+ animations/qparallelanimationgroupjob.cpp animations/qparallelanimationgroupjob_p.h
+ animations/qpauseanimationjob.cpp animations/qpauseanimationjob_p.h
+ animations/qsequentialanimationgroupjob.cpp animations/qsequentialanimationgroupjob_p.h
+ types/qqmltimer.cpp types/qqmltimer_p.h
+ INCLUDE_DIRECTORIES
+ animations
+)
+
+#### Keys ignored in scope 17:.:common:common/common.pri:NOT build_pass:
+# compile_hash_contents = "// Generated file, DO NOT EDIT" "$${LITERAL_HASH}define QML_COMPILE_HASH "$$QML_COMPILE_HASH"" "$${LITERAL_HASH}define QML_COMPILE_HASH_LENGTH $$str_size($$QML_COMPILE_HASH)"
+# tag = <EMPTY>
+# tagFile = "$$PWD/../../.tag"
+
+#### Keys ignored in scope 18:.:common:common/common.pri:EXISTS _ss_tagFile:
+# QMAKE_INTERNAL_INCLUDED_FILES = "$$tagFile"
+# tag = "$$cat($$tagFile, singleline)"
+
+#### Keys ignored in scope 19:.:common:common/common.pri:NOT tag___equals____ss_{LITERAL_DOLLAR}Format AND %H_ss_{LITERAL_DOLLAR}:
+# QML_COMPILE_HASH = "$$tag"
+
+#### Keys ignored in scope 21:.:common:common/common.pri:EXISTS _ss_PWD/../../.git:
+# QML_COMPILE_HASH = "$$commit"
+# commit = "$$system(git rev-parse HEAD)"
+
+qt_extend_target(Qml CONDITION GCC AND QT_COMPILER_VERSION_MAJOR STREQUAL 5
+ COMPILE_OPTIONS
+ -fno-strict-aliasing
+)
+
+qt_extend_target(Qml CONDITION QT_FEATURE_qml_debug
+ SOURCES
+ debugger/qqmlabstractprofileradapter.cpp debugger/qqmlabstractprofileradapter_p.h
+ debugger/qqmlconfigurabledebugservice_p.h
+ debugger/qqmldebug.cpp
+ debugger/qqmldebugconnector.cpp
+ debugger/qqmldebugpluginmanager_p.h
+ debugger/qqmldebugserver_p.h
+ debugger/qqmldebugserverconnection_p.h
+ debugger/qqmldebugservice.cpp debugger/qqmldebugservice_p.h
+ debugger/qqmldebugservicefactory_p.h
+ debugger/qqmldebugserviceinterfaces.cpp
+ debugger/qqmlprofiler.cpp
+ debugger/qqmlprofilerdefinitions_p.h
+ jsruntime/qv4profiling.cpp
+)
+
+qt_extend_target(Qml CONDITION QT_FEATURE_qml_sequence_object
+ SOURCES
+ jsruntime/qv4sequenceobject.cpp jsruntime/qv4sequenceobject_p.h
+)
+
+qt_extend_target(Qml CONDITION UNIX
+ SOURCES
+ jsruntime/qv4compilationunitmapper_unix.cpp
+ jsruntime/qv4functiontable_unix.cpp
+)
+
+qt_extend_target(Qml CONDITION WIN32
+ SOURCES
+ jsruntime/qv4compilationunitmapper_win.cpp
+ DEFINES
+ NOMINMAX
+)
+
+qt_extend_target(Qml CONDITION (TEST_architecture_arch STREQUAL "x86_64") AND WIN32 AND NOT WINRT
+ SOURCES
+ jsruntime/qv4functiontable_win64.cpp
+)
+
+qt_extend_target(Qml CONDITION WIN32 AND (WINRT OR NOT (TEST_architecture_arch STREQUAL "x86_64"))
+ SOURCES
+ jsruntime/qv4functiontable_noop.cpp
+)
+
+qt_extend_target(Qml CONDITION valgrind
+ DEFINES
+ V4_USE_VALGRIND
+)
+
+qt_extend_target(Qml CONDITION heaptrack
+ DEFINES
+ V4_USE_HEAPTRACK
+)
+
+qt_extend_target(Qml CONDITION QT_FEATURE_qml_xml_http_request
+ SOURCES
+ qml/qqmlxmlhttprequest.cpp qml/qqmlxmlhttprequest_p.h
+)
+
+qt_extend_target(Qml CONDITION QT_FEATURE_qml_locale
+ SOURCES
+ qml/qqmllocale.cpp qml/qqmllocale_p.h
+)
+
+qt_extend_target(Qml CONDITION ANDROID
+ DEFINES
+ LIBS_SUFFIX="_${CMAKE_SYSTEM_PROCESSOR}.so"
+)
+
+qt_extend_target(Qml CONDITION hpux-_x_ OR solaris-_x_ OR (QT_FEATURE_clock_gettime AND linux-_x_)
+ LIBRARIES
+ rt
+)
+
+qt_extend_target(Qml CONDITION QT_FEATURE_qml_itemmodel
+ SOURCES
+ types/qqmlmodelindexvaluetype.cpp types/qqmlmodelindexvaluetype_p.h
+)
+
+qt_extend_target(Qml CONDITION disassembler AND ((TEST_architecture_arch STREQUAL "i386") OR (TEST_architecture_arch STREQUAL "x86_64"))
+ DEFINES
+ WTF_USE_UDIS86=1
+)
+
+qt_extend_target(Qml CONDITION (TEST_architecture_arch STREQUAL "arm") AND disassembler
+ DEFINES
+ WTF_USE_ARMV7_DISASSEMBLER=1
+)
+
+qt_extend_target(Qml CONDITION (TEST_architecture_arch STREQUAL "arm64") AND disassembler
+ DEFINES
+ WTF_USE_ARM64_DISASSEMBLER=1
+)
+
+qt_extend_target(Qml CONDITION (TEST_architecture_arch STREQUAL "mips") AND disassembler
+ DEFINES
+ WTF_USE_MIPS32_DISASSEMBLER=1
+)
+
+qt_extend_target(Qml CONDITION NOT disassembler
+ DEFINES
+ WTF_USE_UDIS86=0
+)
+
+qt_extend_target(Qml CONDITION CMAKE_BUILD_TYPE STREQUAL Release
+ DEFINES
+ NDEBUG
+)
+
+qt_extend_target(Qml CONDITION GCC AND QT_COMPILER_VERSION_MAJOR STRGREATER 6 AND NOT CLANG AND NOT ICC
+ COMPILE_OPTIONS
+ -Wno-expansion-to-defined
+)
+
+#### Keys ignored in scope 65:.:../3rdparty/masm:../3rdparty/masm/masm-defs.pri:(QT_COMPILER_VERSION_MAJOR STRGREATER 6):
+# QMAKE_CXXFLAGS_WARN_ON = "-Wno-expansion-to-defined"
+
+qt_extend_target(Qml CONDITION WINRT
+ SOURCES
+ ../3rdparty/masm/wtf/OSAllocatorWinRT.cpp
+)
+
+qt_extend_target(Qml CONDITION INTEGRITY
+ SOURCES
+ ../3rdparty/masm/wtf/OSAllocatorIntegrity.cpp
+)
+
+qt_extend_target(Qml CONDITION UNIX AND NOT INTEGRITY AND NOT WINRT
+ SOURCES
+ ../3rdparty/masm/wtf/OSAllocatorPosix.cpp
+)
+
+qt_extend_target(Qml CONDITION DEFINES___contains___WTF_USE_UDIS86=1
+ SOURCES
+ ../3rdparty/masm/disassembler/udis86/udis86.c
+ ../3rdparty/masm/disassembler/udis86/udis86_decode.c
+ ../3rdparty/masm/disassembler/udis86/udis86_input.c
+ ../3rdparty/masm/disassembler/udis86/udis86_itab_holder.c
+ ../3rdparty/masm/disassembler/udis86/udis86_syn.c
+ ../3rdparty/masm/disassembler/udis86/udis86_syn-att.c
+ ../3rdparty/masm/disassembler/udis86/udis86_syn-intel.c
+)
+
+#### Keys ignored in scope 73:.:../3rdparty/masm:../3rdparty/masm/masm.pri:DEFINES___contains___WTF_USE_UDIS86=1:
+# ITAB = "$$PWD/disassembler/udis86/optable.xml"
+# QMAKE_EXTRA_COMPILERS = "udis86"
+# QMAKE_EXTRA_TARGETS = "udis86_tab_cfile"
+# udis86.CONFIG = "no_link"
+# udis86.commands = "python" "$$PWD/disassembler/udis86/itab.py" "${QMAKE_FILE_IN}"
+# udis86.input = "ITAB"
+# udis86.output = "udis86_itab.h"
+# udis86_tab_cfile.depends = "udis86_itab.h"
+# udis86_tab_cfile.target = "$$OUT_PWD/udis86_itab.c"
+
+#### Keys ignored in scope 75:.:../3rdparty/masm:../3rdparty/masm/masm.pri:(CMAKE_BUILD_TYPE STREQUAL Debug):
+# GENERATEDDIR = "$$GENERATEDDIR/debug"
+
+#### Keys ignored in scope 76:.:../3rdparty/masm:../3rdparty/masm/masm.pri:else:
+# GENERATEDDIR = "$$GENERATEDDIR/release"
+
+qt_extend_target(Qml CONDITION (NOT c++11 AND NOT ICC) AND (CLANG)
+ COMPILE_OPTIONS
+ -Wno-c++0x-extensions
+ -Wno-c++11-extensions
+)
+
+qt_extend_target(Qml CONDITION (((NOT c++11 AND NOT ICC) AND (NOT (CLANG))) AND (GCC)) AND ((QT_COMPILER_VERSION_MAJOR STRGREATER 4) OR (QT_COMPILER_VERSION_MINOR STRGREATER 5))
+ COMPILE_OPTIONS
+ -Wno-c++0x-compat
+)
+
+
+qt_create_tracepoints(Qml qtqml.tracepoints)
+qt_add_docs(Qml
+ doc/qtqml.qdocconf
+)
+
+
+set_target_properties(Qml PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION ${CMAKE_PROJECT_VERSION}
+ QT_QML_MODULE_URI QtQml
+ QT_QML_MODULE_INSTALL_DIR "${INSTALL_QMLDIR}/QtQml"
+)
+
+qt6_qml_type_registration(Qml)
+
+include(Qt6QmlBuildInternals.cmake) # special case
diff --git a/src/qml/Qt6QmlBuildInternals.cmake b/src/qml/Qt6QmlBuildInternals.cmake
new file mode 100644
index 0000000000..a17cae8bf8
--- /dev/null
+++ b/src/qml/Qt6QmlBuildInternals.cmake
@@ -0,0 +1,174 @@
+#
+# QtDeclarative Specific extensions
+#
+
+include_guard(GLOBAL)
+
+# This function creates a CMake target for qml modules. It will also make
+# sure that if no C++ source are present, that qml files show up in the project
+# in an IDE. Finally, it will also create a custom ${target}_qmltypes which
+# can be used to generate the respective plugin.qmltypes file.
+#
+# CPP_PLUGIN: Whether this qml module has any c++ source files.
+# URI: Module's uri.
+# TARGET_PATH: Expected installation path for the Qml Module. Equivalent
+# to the module's URI where '.' is replaced with '/'. Use this to override the
+# default substitution pattern.
+# VERSION: Version of the qml module
+# QML_PLUGINDUMP_DEPENDENCIES: Path to a dependencies.json file to be consumed
+# with the ${target}_qmltypes target (optional)
+# SKIP_TYPE_REGISTRATION: All qml files are expected to be registered by the
+# c++ plugin code.
+#
+function(qt_add_qml_module target)
+
+ set(qml_module_optional_args
+ GENERATE_QMLTYPES
+ DESIGNER_SUPPORTED
+ DO_NOT_INSTALL
+ SKIP_TYPE_REGISTRATION
+ )
+
+ set(qml_module_single_args
+ URI
+ TARGET_PATH
+ VERSION
+ QML_PLUGINDUMP_DEPENDENCIES
+ CLASSNAME
+ )
+
+ set(qml_module_multi_args
+ IMPORTS
+ TYPEINFO
+ DEPENDENCIES
+ )
+
+ qt_parse_all_arguments(arg "qt_add_qml_module"
+ "${__qt_add_plugin_optional_args};${qml_module_optional_args}"
+ "${__qt_add_plugin_single_args};${qml_module_single_args}"
+ "${__qt_add_plugin_multi_args};${qml_module_multi_args}" ${ARGN})
+
+ if (NOT arg_URI)
+ message(FATAL_ERROR "qt_add_qml_module called without specifying the module's uri. Please specify one using the URI parameter.")
+ endif()
+
+ set(target_path ${arg_TARGET_PATH})
+
+ if (NOT arg_VERSION)
+ message(FATAL_ERROR "qt_add_qml_module called without specifying the module's import version. Please specify one using the VERSION parameter.")
+ endif()
+
+ if (NOT arg_TARGET_PATH)
+ string(REPLACE "." "/" arg_TARGET_PATH ${arg_URI})
+ endif()
+
+ qt_remove_args(plugin_args
+ ARGS_TO_REMOVE
+ ${target}
+ ${qml_module_multi_args}
+ ${qml_module_single_args}
+ ALL_ARGS
+ ${__qt_add_plugin_optional_args}
+ ${__qt_add_plugin_single_args}
+ ${qml_module_single_args}
+ ${__qt_add_plugin_multi_args}
+ ${qml_module_multi_args}
+ ARGS
+ ${ARGV}
+ )
+
+ # If we have no sources, but qml files, create a custom target so the
+ # qml file will be visibile in an IDE.
+ if (arg_SOURCES)
+ qt_add_plugin(${target}
+ TYPE
+ qml_plugin
+ QML_TARGET_PATH
+ "${arg_TARGET_PATH}"
+ ${plugin_args}
+ )
+ endif()
+
+
+ if (arg_CPP_PLUGIN)
+ set(no_create_option DO_NOT_CREATE_TARGET)
+ endif()
+
+ if (arg_CLASSNAME)
+ set(classname_arg CLASSNAME ${arg_CLASSNAME})
+ endif()
+
+ if (arg_DESIGNER_SUPPORTED)
+ set(designer_supported_arg DESIGNER_SUPPORTED)
+ endif()
+
+ if (arg_SKIP_TYPE_REGISTRATION)
+ set(skip_registration_arg SKIP_TYPE_REGISTRATION)
+ endif()
+
+ if (arg_GENERATE_QMLTYPES)
+ set(generate_qmltypes_arg GENERATE_QMLTYPES)
+ endif()
+
+ qt_path_join(qml_module_install_dir ${QT_INSTALL_DIR} "${INSTALL_QMLDIR}/${arg_TARGET_PATH}")
+
+ qt6_add_qml_module(${target}
+ ${designer_supported_arg}
+ ${no_create_option}
+ ${skip_registration_arg}
+ ${classname_arg}
+ ${generate_qmltypes_arg}
+ RESOURCE_PREFIX "/qt-project.org/imports"
+ TARGET_PATH ${arg_TARGET_PATH}
+ URI ${arg_URI}
+ VERSION ${arg_VERSION}
+ QML_FILES ${arg_QML_FILES}
+ IMPORTS "${arg_IMPORTS}"
+ TYPEINFO "${arg_TYPEINFO}"
+ DO_NOT_INSTALL_METADATA
+ DO_NOT_CREATE_TARGET
+ INSTALL_QML_FILES
+ INSTALL_LOCATION "${qml_module_install_dir}"
+ DEPENDENCIES ${arg_DEPENDENCIES}
+ RESOURCE_EXPORT "${INSTALL_CMAKE_NAMESPACE}${target}Targets"
+ )
+
+ get_target_property(qmldir_file ${target} QT_QML_MODULE_QMLDIR_FILE)
+ get_target_property(plugin_types ${target} QT_QML_MODULE_PLUGIN_TYPES_FILE)
+ set(files_to_install)
+ if (EXISTS ${plugin_types})
+ list(APPEND files_to_install ${plugin_types})
+ qt_copy_or_install(FILES ${plugin_types}
+ DESTINATION "${qml_module_install_dir}"
+ )
+
+ if(QT_WILL_INSTALL)
+ # plugin.qmltypes when present should also be copied to the
+ # cmake binary dir when doing prefix builds
+ file(COPY ${plugin_types}
+ DESTINATION "${QT_BUILD_DIR}/${INSTALL_QMLDIR}/${arg_TARGET_PATH}"
+ )
+ endif()
+ endif()
+
+ list(APPEND files_to_install ${qmldir_file})
+ if (QT_WILL_INSTALL)
+ install(FILES ${files_to_install} DESTINATION ${qml_module_install_dir})
+ endif()
+
+ set(copy_destination "${QT_BUILD_DIR}/${INSTALL_QMLDIR}/${arg_TARGET_PATH}")
+ foreach(file IN LISTS files_to_install)
+ get_filename_component(file_name "${file}" NAME)
+ add_custom_command(TARGET ${target} POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy_if_different
+ "${file}"
+ "${copy_destination}/${file_name}"
+ COMMENT "Copying ${file} to ${copy_destination}"
+ )
+ endforeach()
+endfunction()
+
+function(add_qml_module)
+ qt_add_qml_module(${ARGV})
+endfunction()
+
diff --git a/src/qml/Qt6QmlMacros.cmake b/src/qml/Qt6QmlMacros.cmake
new file mode 100644
index 0000000000..869b8c507b
--- /dev/null
+++ b/src/qml/Qt6QmlMacros.cmake
@@ -0,0 +1,583 @@
+#
+# Q6QmlMacros
+#
+
+#
+# Create a Qml Module. Arguments:
+#
+# URI: Declares the module identifier of the module. The module identifier is
+# the (dotted URI notation) identifier for the module, which must match the
+# module's install path. (REQUIRED)
+#
+# VERSION: The module's version. (REQUIRED)
+#
+# TARGET_PATH: Overwrite the generated target path. By default the target path
+# is generated from the URI by replacing the '.' with a '/'. However, under
+# certain circumstance this may not be enough. Use this argument to provide
+# a replacement. (OPTIONAL)
+#
+# RESOURCE_PREFIX: Resource Prefix to be used when generating a static library.
+# When building a static library, the qmldir file is embedded into the library
+# using rcc. It is is also used by the Qt Quick Compiler to embed compiled
+# Qml files into a shared or static library. If none is supplied we will
+# generate the following prefix: /org.qt-project/imports/${target_path}.
+# (OPTIONAL)
+#
+# OUTPUT_DIRECTORY: If the module is not to be build under
+# ${CMAKE_CURRENT_BINARY_DIR}. This ensures the qmldir file is copied to the
+# right location. (OPTIONAL)
+#
+# INSTALL_LOCATION: Intended installation directory for this module. If no
+# value is supplied, the default installation path will be ${INSTALL_QMLDIR}.
+# (OPTIONAL).
+#
+# DO_NOT_INSTALL_METADATA: When present, will not install the supporting files.
+#
+# INSTALL_QML_FILES: When present, will install the qml files along side the
+# plugin.
+#
+# SOURCES: List of C++ sources. (OPTIONAL)
+#
+# DEPENDENCIES: List of QML Module dependencies and their versions. The module
+# and its version must be separated via a slash(/). E.g. QtQuick/2.0
+#
+# QML_FILES: List of Qml files. See qt6_target_qml_files for more information
+# on how to specify additional properties on qml files. (OPTIONAL)
+#
+# CLASSNAME: Provides the class name of the C++ plugin used by the module. This
+# information is required for all the QML modules that depend on a C++ plugin
+# for additional functionality. Qt Quick applications built with static
+# linking cannot resolve the module imports without this information.
+# (REQUIRED for static targets)
+#
+# DESIGNER_SUPPORTED: Specify this argument if the plugin is supported by Qt
+# Quick Designer. By default, the plugin will not be supported. (OPTIONAL)
+#
+# TYPEINFO: Path to a file which declares a type description file for the module
+# that can be read by QML tools such as Qt Creator to access information about
+# the types defined by the module's plugins. (OPTIONAL)
+#
+# IMPORTS: List of other Qml Modules that this module imports. (OPTIONAL)
+#
+# RESOURCE_EXPORT: In static builds, when Qml files are processed via the Qt
+# Quick Compiler generate a separate static library that will be linked in
+# as an Interface. Supply an output variable to perform any custom actions
+# on these extra generated targets.
+#
+# SKIP_TYPE_REGISTRATION: When present will cause the generated qmldir file
+# to not list any qml types. These are expected to be registered by the
+# c++ plugin code instead.
+#
+
+function(qt6_add_qml_module target)
+
+ set(args_optional
+ GENERATE_QMLTYPES
+ DESIGNER_SUPPORTED
+ DO_NOT_INSTALL_METADATA
+ SKIP_TYPE_REGISTRATION
+ INSTALL_QML_FILES
+ )
+
+ if (QT_BUILDING_QT)
+ list(APPEND args_optional DO_NOT_CREATE_TARGET)
+ endif()
+
+ set(args_single
+ RESOURCE_PREFIX
+ URI
+ TARGET_PATH
+ VERSION
+ OUTPUT_DIRECTORY
+ INSTALL_LOCATION
+ CLASSNAME
+ TYPEINFO
+ RESOURCE_EXPORT
+ )
+
+ set(args_multi
+ SOURCES
+ QML_FILES
+ IMPORTS
+ DEPENDENCIES
+ )
+
+ cmake_parse_arguments(arg
+ "${args_optional}"
+ "${args_single}"
+ "${args_multi}"
+ ${ARGN}
+ )
+
+ if (NOT arg_URI)
+ message(FATAL_ERROR "qt6_add_qml_module called without a module URI. Please specify one using the URI argument.")
+ endif()
+
+ if (NOT arg_VERSION)
+ message(FATAL_ERROR "qt6_add_qml_module called without a module version. Please specify one using the VERSION argument.")
+ endif()
+
+ if (NOT "${arg_VERSION}" MATCHES "[0-9]+\\.[0-9]+")
+ message(FATAL_ERROR "qt6_add_qml_module called with an invalid version argument: '${arg_VERSION}'. Expected version style: VersionMajor.VersionMinor.")
+ endif()
+
+ if (NOT BUILD_SHARED_LIBS AND NOT arg_CLASSNAME)
+ message(FATAL_ERROR "qt6_add_qml_module Static builds of Qml modules require a class name, none was provided. Please specify one using the CLASSNAME argument.")
+ endif()
+
+ if (arg_DO_NOT_CREATE_TARGET AND NOT TARGET ${target})
+ message(FATAL_ERROR "qt6_add_qml_module called with DO_NOT_CREATE_TARGET, but the given target '${target}' is not a cmake target")
+ endif()
+
+ if (arg_DO_NOT_CREATE_TARGET)
+ get_target_property(target_type ${target} TYPE)
+ if (target_type STREQUAL "STATIC_LIBRARY")
+ set(is_static TRUE)
+ elseif(target_type STREQUAL "MODULE_LIBRARY")
+ set(is_static FALSE)
+ else()
+ message(FATAL_ERROR "qt6_add_qml_module called with DO_NOT_CREATE_TARGET, but target '${target}' is neither a static or a module library.")
+ endif()
+ else()
+ if(NOT BUILD_SHARED_LIBS)
+ add_library(${target} STATIC)
+ set(is_static TRUE)
+ else()
+ add_library(${target} MODULE)
+ set(is_static FALSE)
+ endif()
+ endif()
+
+ if (NOT arg_TARGET_PATH)
+ string(REPLACE "." "/" arg_TARGET_PATH ${arg_URI})
+ endif()
+
+ if (NOT arg_RESOURCE_PREFIX)
+ set(arg_RESOURCE_PREFIX "/org.qt-project/imports")
+ endif()
+
+ if (NOT arg_INSTALL_LOCATION)
+ set(arg_INSTALL_LOCATION "${INSTALL_QMLDIR}/${arg_TARGET_PATH}")
+ endif()
+
+ set_target_properties(${target}
+ PROPERTIES
+ QT_QML_MODULE_TARGET_PATH ${arg_TARGET_PATH}
+ QT_QML_MODULE_URI ${arg_URI}
+ QT_RESOURCE_PREFIX ${arg_RESOURCE_PREFIX}/${arg_TARGET_PATH}
+ QT_QML_MODULE_VERSION ${arg_VERSION}
+ QT_QML_MODULE_INSTALL_DIR ${arg_INSTALL_LOCATION}
+ QT_QML_MODULE_RESOURCE_EXPORT "${arg_RESOURCE_EXPORT}"
+ )
+
+ if (arg_OUTPUT_DIRECTORY AND NOT DO_NOT_CREATE_TARGET)
+ set_target_properties(${target}
+ PROPERTIES
+ LIBRARY_OUTPUT_DIRECTORY ${arg_OUTPUT_DIRECTORY}
+ ARCHIVE_OUTPUT_DIRECTORY ${arg_OUTPUT_DIRECTORY}
+ )
+ endif()
+ if (arg_OUTPUT_DIRECTORY)
+ set(target_output_dir ${arg_OUTPUT_DIRECTORY})
+ else()
+ if(is_static)
+ get_target_property(target_output_dir ${target} ARCHIVE_OUTPUT_DIRECTORY)
+ else()
+ get_target_property(target_output_dir ${target} LIBRARY_OUTPUT_DIRECTORY)
+ endif()
+ endif()
+
+ if (arg_INSTALL_QML_FILES)
+ set_target_properties(${target} PROPERTIES QT_QML_MODULE_INSTALL_QML_FILES TRUE)
+ endif()
+
+ if (arg_SKIP_TYPE_REGISTRATION)
+ set_target_properties(${target} PROPERTIES QT_QML_MODULE_SKIP_TYPE_REGISTRATION TRUE)
+ endif()
+
+ if (arg_SOURCES)
+ target_sources(${target} PRIVATE ${arg_SOURCES})
+ endif()
+
+ # Tracker so we can generate unique resource names for multiple
+ # target_qml_files() calls.
+ set_target_properties(${target} PROPERTIES QT6_QML_MODULE_ADD_QML_FILES_COUNT 1)
+
+ # Generate qmldir file
+ set(qmldir_file "${CMAKE_CURRENT_BINARY_DIR}/qmldir")
+ set_target_properties(${target} PROPERTIES QT_QML_MODULE_QMLDIR_FILE ${qmldir_file})
+ set(qmldir_file_contents "module ${arg_URI}\n")
+ string(APPEND qmldir_file_contents "plugin ${target}\n")
+ if (arg_CLASSNAME)
+ string(APPEND qmldir_file_contents "classname ${arg_CLASSNAME}\n")
+ endif()
+ if (arg_DESIGNER_SUPPORTED)
+ string(APPEND qmldir_file_contents "designersupported\n")
+ endif()
+ if (arg_TYPEINFO)
+ string(APPEND qmldir_file_contents "typeinfo ${arg_TYPEINFO}\n")
+ else()
+ # This always need to be written out since at the moment we have cases
+ # where qmltyperegistrar is not run with the plugin but on a module
+ # e.g: src/qml generates the qmltypes for src/imports/qtqml.
+ # When this has been fixed/standardized we should move this to
+ # qt6_qml_type_registration() so that it is written out when the
+ # plugins.qmltypes is actually generated.
+ string(APPEND qmldir_file_contents "typeinfo plugins.qmltypes\n")
+ endif()
+ foreach(import IN LISTS arg_IMPORTS)
+ string(APPEND qmldir_file_contents "import ${import}\n")
+ endforeach()
+
+ foreach(dependency IN LISTS arg_DEPENDENCIES)
+ string(FIND ${dependency} "/" slash_position REVERSE)
+ if (slash_position EQUAL -1)
+ message(FATAL_ERROR "Dependencies should follow the format 'ModuleName/VersionMajor.VersionMinor'")
+ endif()
+ string(SUBSTRING ${dependency} 0 ${slash_position} dep_module)
+ math(EXPR slash_position "${slash_position} + 1")
+ string(SUBSTRING ${dependency} ${slash_position} -1 dep_version)
+ if (NOT dep_version MATCHES "[0-9]+\\.[0-9]+")
+ message(FATAL_ERROR "Invalid module dependency version number. Expected VersionMajor.VersionMinor.")
+ endif()
+ string(APPEND qmldir_file_contents "depends ${dep_module} ${dep_version}\n")
+ endforeach()
+
+ file(WRITE ${qmldir_file} ${qmldir_file_contents})
+
+ # Process qml files
+ if (arg_QML_FILES)
+ qt6_target_qml_files(${target} FILES ${arg_QML_FILES})
+ endif()
+
+ # Embed qmldir in static builds
+ if (is_static)
+ string(REPLACE "/" "_" qmldir_resource_name ${arg_TARGET_PATH})
+ string(APPEND qmldir_resource_name "_qmldir")
+
+ set_source_files_properties("${qmldir_file}"
+ PROPERTIES QT_RESOURCE_ALIAS "qmldir"
+ )
+
+ set(resource_target "Foo")
+ QT6_ADD_RESOURCES(${target} ${qmldir_resource_name}
+ PREFIX ${target_resource_prefix}
+ FILES "${qmldir_file}"
+ OUTPUT_TARGETS resource_targets
+ )
+
+ if (resource_targets AND arg_RESOURCE_EXPORT)
+ install(TARGETS ${resource_targets}
+ EXPORT "${arg_RESOURCE_EXPORT}"
+ DESTINATION ${arg_INSTALL_LOCATION}
+ )
+ endif()
+ else()
+ # Copy QMLDIR file to build directory
+ add_custom_command(TARGET ${target} POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ ${qmldir_file}
+ ${target_output_dir}
+ )
+
+ # Install QMLDIR file
+ if (NOT DO_NOT_INSTALL_METADATA)
+ install(FILES ${qmldir_file}
+ DESTINATION ${arg_INSTALL_LOCATION}
+ )
+ endif()
+ endif()
+
+ # Install and Copy plugin.qmltypes if exists
+ set(target_plugin_qmltypes "${CMAKE_CURRENT_SOURCE_DIR}/plugins.qmltypes")
+ if (EXISTS ${target_plugin_qmltypes})
+ set_target_properties(${target}
+ PROPERTIES QT_QML_MODULE_PLUGIN_TYPES_FILE "${target_plugin_qmltypes}"
+ )
+ file(APPEND ${qmldir_file} "typeinfo plugins.qmltypes\n")
+ if (NOT arg_DO_NOT_INSTALL_METADATA)
+ install(FILES ${target_plugin_qmltypes}
+ DESTINATION ${arg_INSTALL_LOCATION}
+ )
+ endif()
+
+ add_custom_command(TARGET ${target} POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ ${target_plugin_qmltypes}
+ ${target_output_dir}
+ )
+ endif()
+
+ # Copy/Install type info file
+ if (EXISTS ${arg_TYPEINFO})
+ if (NOT arg_DO_NOT_INSTALL_METADATA)
+ install(FILES ${arg_TYPEINFO}
+ DESTINATION ${arg_INSTALL_LOCATION}
+ )
+ endif()
+
+ add_custom_command(TARGET ${target} POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ ${arg_TYPEINFO}
+ ${target_output_dir}
+ )
+ endif()
+
+ # Generate meta types data
+ if (arg_GENERATE_QMLTYPES)
+ qt6_qml_type_registration(${target})
+ endif()
+endfunction()
+
+
+#
+# Add Qml files (.qml,.js,.mjs) to a Qml module. This will also append the
+# qml files to the qmldir file of the module. Two source file properties can
+# be used to control the generated qmldir entry.
+#
+# QT_QML_SOURCE_VERSION: Version for this qml file. If not present the module
+# version will be used.
+# QT_QML_SOURCE_TYPENAME: Override the file's type name. If not present the
+# type name will be deduced using the file's basename.
+# QT_QML_SINGLETON_TYPE: Set to true if this qml file contains a singleton
+# type.
+# QT_QML_INTERNAL_TYPE: When set to true, the type specified by
+# QT_QML_SOURCE_TYPENAME will not be available to users of this module.
+#
+# e.g.:
+# set_source_files_properties(my_qml_file.qml
+# PROPERTIES
+# QT_QML_SOURCE_VERSION 2.0
+# QT_QML_SOURCE_TYPENAME MyQmlFile
+#
+# qt6_target_qml_files(my_qml_module
+# FILES
+# my_qml_file.qml
+# )
+#
+# Will produce the following entry in the qmldir file
+#
+# MyQmlFile 2.0 my_qml_file.qml
+#
+#
+function(qt6_target_qml_files target)
+
+ cmake_parse_arguments(arg "" "" "FILES" ${ARGN})
+ get_target_property(resource_count ${target} QT6_QML_MODULE_ADD_QML_FILES_COUNT)
+ get_target_property(qmldir_file ${target} QT_QML_MODULE_QMLDIR_FILE)
+ get_target_property(install_qml_files ${target} QT_QML_MODULE_INSTALL_QML_FILES)
+ if (NOT qmldir_file)
+ message(FATAL_ERROR "qt6_target_qml_file: ${target} is not a Qml module")
+ endif()
+
+ if (NOT arg_FILES)
+ return()
+ endif()
+ math(EXPR new_count "${resource_count} + 1")
+ set_target_properties(${target} PROPERTIES QT6_QML_MODULE_ADD_QML_FILES_COUNT ${new_count})
+
+ qt6_add_resources(${target} "qml_files${new_count}"
+ FILES ${arg_FILES}
+ OUTPUT_TARGETS resource_targets
+ )
+ get_target_property(skip_type_registration ${target} QT_QML_MODULE_SKIP_TYPE_REGISTRATION)
+ get_target_property(target_resource_export ${target} QT_QML_MODULE_RESOURCE_EXPORT)
+ get_target_property(qml_module_install_dir ${target} QT_QML_MODULE_INSTALL_DIR)
+ if (resource_targets)
+ install(TARGETS ${resource_targets}
+ EXPORT "${target_resource_export}"
+ DESTINATION ${qm_module_install_dir}
+ )
+ endif()
+
+ set(file_contents "")
+ foreach(qml_file IN LISTS arg_FILES)
+ if (install_qml_files)
+ if (NOT QT_WILL_INSTALL)
+ file(COPY "${qml_file}" DESTINATION "${qml_module_install_dir}")
+ else()
+ install(FILES "${qml_file}" DESTINATION "${qml_module_install_dir}")
+ endif()
+ endif()
+
+ if (skip_type_registration AND qml_file MATCHES "\\.qml$")
+ continue()
+ endif()
+ get_source_file_property(qml_file_version ${qml_file} QT_QML_SOURCE_VERSION)
+ get_source_file_property(qml_file_typename ${qml_file} QT_QML_SOURCE_TYPENAME)
+ get_source_file_property(qml_file_singleton ${qml_file} QT_QML_SINGLETON_TYPE)
+ get_source_file_property(qml_file_internal ${qml_file} QT_QML_INTERNAL_TYPE)
+ get_target_property(qml_module_version ${target} QT_QML_MODULE_VERSION)
+
+ if (NOT qml_file_version)
+ set(qml_file_version ${qml_module_version})
+ endif()
+
+ if (NOT qml_file_typename)
+ get_filename_component(qml_file_typename ${qml_file} NAME_WLE)
+ endif()
+
+ if (qml_file_singleton)
+ string(APPEND file_contents "[singleton] ")
+ endif()
+
+ string(APPEND file_contents "${qml_file_typename} ${qml_file_version} ${qml_file}\n")
+
+ if (qml_file_internal)
+ string(APPEND file_contents "internal ${qml_file_typename} ${qml_file}\n")
+ endif()
+
+ endforeach()
+ file(APPEND ${qmldir_file} ${file_contents})
+endfunction()
+
+function(qt6_qml_type_registration target)
+
+ get_target_property(import_name ${target} QT_QML_MODULE_URI)
+ if (NOT import_name)
+ message(FATAL_ERROR "Target ${target} is not a QML module")
+ endif()
+
+ cmake_parse_arguments(args "COPY_OVER_INSTALL" "INSTALL_DIR" "" ${ARGN})
+
+ set(meta_types_args)
+ if (QT_BUILDING_QT AND NOT QT_WILL_INSTALL)
+ set(arg_COPY_OVER_INSTALL TRUE)
+ endif()
+ if (arg_INSTALL_DIR)
+ list(APPEND meta_types_args INSTALL_DIR "${arg_INSTALL_DIR}")
+ endif()
+ if (arg_COPY_OVER_INSTALL)
+ list(APPEND meta_types_args COPY_OVER_INSTALL)
+ endif()
+
+ qt6_generate_meta_types_json_file(${target} ${meta_types_args})
+
+ get_target_property(import_version ${target} QT_QML_MODULE_VERSION)
+ get_target_property(target_source_dir ${target} SOURCE_DIR)
+ get_target_property(target_binary_dir ${target} BINARY_DIR)
+ get_target_property(target_metatypes_file ${target} INTERFACE_QT_META_TYPES_BUILD_FILE)
+ if (NOT target_metatypes_file)
+ message(FATAL_ERROR "Target ${target} does not have a meta types file")
+ endif()
+
+ # Extract major and minor version
+ if (NOT import_version MATCHES "[0-9]+\\.[0-9]+")
+ message(FATAL_ERROR "Invalid module dependency version number. Expected VersionMajor.VersionMinor.")
+ endif()
+ string(FIND "${import_version}" "." dot_location)
+ string(SUBSTRING ${import_version} 0 ${dot_location} major_version)
+ math(EXPR dot_location "${dot_location}+1")
+ string(SUBSTRING ${import_version} ${dot_location} -1 minor_version)
+
+ # check if plugins.qmltypes is already defined
+ get_target_property(target_plugin_qmltypes ${target} QT_QML_MODULE_PLUGIN_TYPES_FILE)
+ if (target_plugin_qmltypes)
+ message(FATAL_ERROR "Target ${target} already has a plugins.qmltypes set.")
+ endif()
+
+ set(cmd_args)
+ set(plugin_types_file ${target_binary_dir}/plugins.qmltypes)
+ set_target_properties(${target} PROPERTIES
+ QT_QML_MODULE_PLUGIN_TYPES_FILE ${plugin_types_file}
+ )
+ list(APPEND cmd_args
+ --generate-qmltypes=${plugin_types_file}
+ --import-name=${import_name}
+ --major-version=${major_version}
+ --minor-version=${minor_version}
+ )
+
+ # Run a script to recursively evaluate all the metatypes.json files in order
+ # to collect all foreign types.
+ string(TOLOWER "${target}_qmltyperegistrations.cpp" type_registration_cpp_file_name)
+ set(foreign_types_file "${target_binary_dir}/qmltypes/foreign_types.txt")
+ set(type_registration_cpp_file "${target_binary_dir}/${type_registration_cpp_file_name}")
+
+ set(dependency_file_cpp "${target_binary_dir}/qmltypes/${type_registration_cpp_file_name}.d")
+ file(RELATIVE_PATH cpp_file_name "${${CMAKE_PROJECT_NAME}_BINARY_DIR}" "${type_registration_cpp_file}")
+
+ set (use_dep_files FALSE)
+ if (CMAKE_GENERATOR STREQUAL "Ninja" OR CMAKE_GENERATOR STREQUAL "Ninja Multi-Config")
+ set(use_dep_files TRUE)
+ endif()
+
+ # Enable evaluation of metatypes.json source interfaces
+ set_target_properties(${target} PROPERTIES QT_CONSUMES_METATYPES TRUE)
+ set(genex_list "$<REMOVE_DUPLICATES:$<FILTER:$<TARGET_PROPERTY:${target},SOURCES>,INCLUDE,metatypes.json$>>")
+ set(genex_main "$<JOIN:${genex_list},$<COMMA>>")
+ file(GENERATE OUTPUT "${foreign_types_file}"
+ CONTENT "$<IF:$<BOOL:${genex_list}>,--foreign-types=${genex_main},\n>"
+ )
+
+ list(APPEND cmd_args
+ "@${foreign_types_file}"
+ )
+
+ set(dependencies_json_file "${target_source_dir}/dependencies.json")
+ if (EXISTS ${dependencies_json_file})
+ list(APPEND cmd_args --dependencies=${dependencies_json_file})
+ endif()
+
+ if (TARGET ${target}Private)
+ list(APPEND cmd_args --private-includes)
+ endif()
+
+ get_target_property(target_metatypes_json_file ${target} INTERFACE_QT_META_TYPES_BUILD_FILE)
+ if (NOT target_metatypes_json_file)
+ message(FATAL_ERROR "Need target metatypes.json file")
+ endif()
+
+ set(registration_cpp_file_dep_args)
+ if (use_dep_files)
+ set(registration_cpp_file_dep_args DEPFILE ${dependency_file_cpp})
+ file(GENERATE OUTPUT "${dependency_file_cpp}"
+ CONTENT "${cpp_file_name}: $<IF:$<BOOL:${genex_list}>,\\\n$<JOIN:${genex_list}, \\\n>, \\\n>"
+ )
+ endif()
+
+ set(extra_env_command)
+ if (WIN32)
+ file(TO_NATIVE_PATH "${${PROJECT_NAME}_BINARY_DIR}/bin$<SEMICOLON>${CMAKE_INSTALL_PREFIX}/${INSTALL_BINDIR}$<SEMICOLON>%PATH%" env_path_native)
+ set(extra_env_command COMMAND set PATH=${env_path_native})
+ endif()
+ add_custom_command(OUTPUT ${type_registration_cpp_file}
+ DEPENDS
+ ${foreign_types_file}
+ ${target_metatypes_json_file}
+ ${QT_CMAKE_EXPORT_NAMESPACE}::qmltyperegistrar
+ ${extra_env_command}
+ COMMAND
+ $<TARGET_FILE:${QT_CMAKE_EXPORT_NAMESPACE}::qmltyperegistrar>
+ ${cmd_args}
+ -o ${type_registration_cpp_file}
+ ${target_metatypes_json_file}
+ ${registration_cpp_file_dep_args}
+ COMMENT "Automatic QML type registration for target ${target}"
+ )
+
+ target_sources(${target} PRIVATE ${type_registration_cpp_file})
+ set_source_files_properties(${type_registration_cpp_file} PROPERTIES
+ SKIP_AUTOGEN ON
+ )
+
+ # Only install qml types if necessary
+ get_target_property(install_qmltypes ${target} QT_QML_MODULE_INSTALL_QMLTYPES)
+ if (install_qmltypes)
+ get_target_property(qml_install_dir ${target} QT_QML_MODULE_INSTALL_DIR)
+ if(NOT arg_COPY_OVER_INSTALL)
+ install(FILES ${plugin_types_file} DESTINATION ${qml_install_dir})
+ else()
+ add_custom_command(TARGET ${target} POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy_if_different
+ "${plugin_types_file}"
+ "${qml_install_dir}/plugins.qmltypes"
+ COMMENT "Copying ${plugin_types_file} to ${qml_install_dir}"
+ )
+ endif()
+ endif()
+
+ target_include_directories(${target} PRIVATE
+ $<TARGET_PROPERTY:Qt::QmlPrivate,INTERFACE_INCLUDE_DIRECTORIES>
+ )
+endfunction()
diff --git a/src/qml/configure.cmake b/src/qml/configure.cmake
new file mode 100644
index 0000000000..7a337b2714
--- /dev/null
+++ b/src/qml/configure.cmake
@@ -0,0 +1,189 @@
+
+
+#### Inputs
+
+
+
+#### Libraries
+
+
+
+#### Tests
+
+# cxx14_make_unique
+qt_config_compile_test(cxx14_make_unique
+ LABEL "C++14 make_unique()"
+ CODE
+"
+#include <memory>
+
+int main(int argc, char **argv)
+{
+ (void)argc; (void)argv;
+ /* BEGIN TEST: */
+std::unique_ptr<int> ptr = std::make_unique<int>();
+ /* END TEST: */
+ return 0;
+}
+")
+
+# pointer_32bit
+qt_config_compile_test(pointer_32bit
+ LABEL "32bit pointers"
+ CODE
+"
+
+
+int main(int argc, char **argv)
+{
+ (void)argc; (void)argv;
+ /* BEGIN TEST: */
+static_assert(sizeof(void *) == 4, \"fail\");
+ /* END TEST: */
+ return 0;
+}
+")
+
+# pointer_64bit
+qt_config_compile_test(pointer_64bit
+ LABEL "64bit pointers"
+ CODE
+"
+
+
+int main(int argc, char **argv)
+{
+ (void)argc; (void)argv;
+ /* BEGIN TEST: */
+static_assert(sizeof(void *) == 8, \"fail\");
+ /* END TEST: */
+ return 0;
+}
+")
+
+# arm_thumb
+qt_config_compile_test(arm_thumb
+ LABEL "THUMB mode on ARM"
+ CODE
+"
+
+
+int main(int argc, char **argv)
+{
+ (void)argc; (void)argv;
+ /* BEGIN TEST: */
+#if defined(thumb2) || defined(__thumb2__)
+# define THUMB_OK
+#elif (defined(__thumb) || defined(__thumb__)) && __TARGET_ARCH_THUMB-0 == 4
+# define THUMB_OK
+#elif defined(__ARM_ARCH_ISA_THUMB) && __ARM_ARCH_ISA_THUMB == 2
+// clang 3.5 and later will set this if the core supports the Thumb-2 ISA.
+# define THUMB_OK
+#else
+# error \"fail\"
+#endif
+ /* END TEST: */
+ return 0;
+}
+")
+
+# arm_fp
+qt_config_compile_test(arm_fp
+ LABEL "Sufficiently recent FPU on ARM"
+ CODE
+"
+
+
+int main(int argc, char **argv)
+{
+ (void)argc; (void)argv;
+ /* BEGIN TEST: */
+// if !defined(__ARM_FP) we might be on MSVC or we might have a device
+// without an FPU.
+// TODO: The latter case is not supported, but the test still succeeds.
+#if defined(__ARM_FP) && (__ARM_FP <= 0x04)
+# error \"fail\"
+#endif
+ /* END TEST: */
+ return 0;
+}
+")
+
+
+
+#### Features
+
+qt_feature("cxx14_make_unique" PRIVATE
+ LABEL "C++14 make_unique"
+ CONDITION QT_FEATURE_cxx14 OR TEST_cxx14_make_unique
+)
+qt_feature("qml-network" PUBLIC
+ SECTION "QML"
+ LABEL "QML network support"
+ PURPOSE "Provides network transparency."
+ CONDITION QT_FEATURE_network
+)
+# On arm and arm64 we need a specialization of cacheFlush() for each OS to be enabeled. Therefore the config white list. Also Mind that e.g. x86_32 has arch.x86_64 but 32bit pointers. Therefore the checks for architecture and pointer size. Finally, ios and tvos can technically use the JIT but Apple does not allow it. Therefore, it's disabled by default.
+qt_feature("qml-jit" PRIVATE
+ SECTION "QML"
+ LABEL "QML just-in-time compiler"
+ PURPOSE "Provides a JIT for QML and JavaScript"
+ AUTODETECT NOT APPLE_IOS AND NOT APPLE_TVOS
+ CONDITION ( ( ( TEST_architecture_arch STREQUAL i386 ) AND TEST_pointer_32bit AND QT_FEATURE_sse2 ) OR ( ( TEST_architecture_arch STREQUAL x86_64 ) AND TEST_pointer_64bit AND QT_FEATURE_sse2 ) OR ( ( TEST_architecture_arch STREQUAL arm ) AND TEST_pointer_32bit AND TEST_arm_fp AND TEST_arm_thumb AND ( LINUX OR APPLE_IOS OR APPLE_TVOS OR QNX ) ) OR ( ( TEST_architecture_arch STREQUAL arm64 ) AND TEST_pointer_64bit AND TEST_arm_fp AND ( LINUX OR APPLE_IOS OR APPLE_TVOS OR QNX OR INTEGRITY ) ) )
+)
+qt_feature("qml-debug" PUBLIC
+ SECTION "QML"
+ LABEL "QML debugging and profiling support"
+ PURPOSE "Provides infrastructure and plugins for debugging and profiling."
+)
+qt_feature("qml-profiler" PRIVATE
+ SECTION "QML"
+ LABEL "Command line QML Profiler"
+ PURPOSE "Supports retrieving QML tracing data from an application."
+ CONDITION ( QT_FEATURE_commandlineparser ) AND ( QT_FEATURE_qml_debug ) AND ( QT_FEATURE_qml_network AND QT_FEATURE_localserver ) AND ( QT_FEATURE_xmlstreamwriter )
+)
+qt_feature("qml-preview" PRIVATE
+ SECTION "QML"
+ LABEL "Command line QML Preview tool"
+ PURPOSE "Updates QML documents in your application live as you change them on disk"
+ CONDITION ( QT_FEATURE_commandlineparser ) AND ( QT_FEATURE_filesystemwatcher ) AND ( QT_FEATURE_qml_network AND QT_FEATURE_localserver ) AND ( QT_FEATURE_process ) AND ( QT_FEATURE_qml_debug )
+)
+qt_feature("qml-devtools" PRIVATE
+ SECTION "QML"
+ LABEL "QML Development Tools"
+ PURPOSE "Provides the QmlDevtools library and various utilities."
+)
+qt_feature("qml-sequence-object" PRIVATE
+ SECTION "QML"
+ LABEL "QML sequence object"
+ PURPOSE "Supports mapping sequence types into QML."
+)
+qt_feature("qml-xml-http-request" PRIVATE
+ SECTION "QML"
+ LABEL "QML XML http request"
+ PURPOSE "Provides support for sending XML http requests."
+ CONDITION ( QT_FEATURE_xmlstreamreader ) AND ( QT_FEATURE_qml_network )
+)
+qt_feature("qml-locale" PRIVATE
+ SECTION "QML"
+ LABEL "QML Locale"
+ PURPOSE "Provides support for locales in QML."
+)
+qt_feature("qml-animation" PRIVATE
+ SECTION "QML"
+ LABEL "QML Animations"
+ PURPOSE "Provides support for animations and timers in QML."
+ CONDITION QT_FEATURE_animation
+)
+qt_feature("qml-worker-script" PRIVATE
+ SECTION "QML"
+ LABEL "QML WorkerScript"
+ PURPOSE "Enables the use of threads in QML."
+ CONDITION QT_FEATURE_thread
+)
+qt_feature("qml-itemmodel" PRIVATE
+ SECTION "QML"
+ LABEL "QML Item Model"
+ PURPOSE "Provides the item model for item views in QML"
+ CONDITION QT_FEATURE_itemmodel
+)
diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp
index b8b7545ed8..725d2e7c7a 100644
--- a/src/qml/qml/qqmlengine.cpp
+++ b/src/qml/qml/qqmlengine.cpp
@@ -1330,7 +1330,7 @@ void QQmlEngine::setOutputWarningsToStandardError(bool enabled)
QObject* example:
\code
class MySingleton : public QObject {
- Q_OBJECT
+ \Q_OBJECT
// Register as default constructed singleton.
QML_ELEMENT
diff --git a/src/qml/qml/qqmlparserstatus.cpp b/src/qml/qml/qqmlparserstatus.cpp
index b8f4bb8c19..cd45e6668b 100644
--- a/src/qml/qml/qqmlparserstatus.cpp
+++ b/src/qml/qml/qqmlparserstatus.cpp
@@ -71,7 +71,7 @@ QT_BEGIN_NAMESPACE
\code
class MyObject : public QObject, public QQmlParserStatus
{
- Q_OBJECT
+ \Q_OBJECT
Q_INTERFACES(QQmlParserStatus)
public:
diff --git a/src/qmldebug/CMakeLists.txt b/src/qmldebug/CMakeLists.txt
new file mode 100644
index 0000000000..da27e1da49
--- /dev/null
+++ b/src/qmldebug/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qmldebug.pro.
+
+#####################################################################
+## QmlDebug Module:
+#####################################################################
+
+qt_add_module(QmlDebug
+ STATIC
+ INTERNAL_MODULE
+ SOURCES
+ qqmldebugclient.cpp qqmldebugclient_p.h
+ qqmldebugclient_p_p.h
+ qqmldebugconnection.cpp qqmldebugconnection_p.h
+ qqmldebugmessageclient.cpp qqmldebugmessageclient_p.h
+ qqmldebugtranslationclient.cpp qqmldebugtranslationclient_p.h
+ qqmlenginecontrolclient.cpp qqmlenginecontrolclient_p.h
+ qqmlenginecontrolclient_p_p.h
+ qqmlenginedebugclient.cpp qqmlenginedebugclient_p.h
+ qqmlenginedebugclient_p_p.h
+ qqmlinspectorclient.cpp qqmlinspectorclient_p.h
+ qqmlinspectorclient_p_p.h
+ qqmlpreviewclient.cpp qqmlpreviewclient_p.h
+ qqmlpreviewclient_p_p.h
+ qqmlprofilerclient.cpp qqmlprofilerclient_p.h
+ qqmlprofilerclient_p_p.h
+ qqmlprofilerclientdefinitions_p.h
+ qqmlprofilerevent.cpp qqmlprofilerevent_p.h
+ qqmlprofilereventlocation.cpp qqmlprofilereventlocation_p.h
+ qqmlprofilereventreceiver_p.h
+ qqmlprofilereventtype.cpp qqmlprofilereventtype_p.h
+ qqmlprofilertypedevent.cpp qqmlprofilertypedevent_p.h
+ qv4debugclient.cpp qv4debugclient_p.h
+ qv4debugclient_p_p.h
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Network
+ Qt::PacketProtocolPrivate
+ Qt::QmlPrivate
+)
diff --git a/src/qmldevtools/.prev_CMakeLists.txt b/src/qmldevtools/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..a1f121d6d0
--- /dev/null
+++ b/src/qmldevtools/.prev_CMakeLists.txt
@@ -0,0 +1,90 @@
+# Generated from qmldevtools.pro.
+
+#####################################################################
+## QmlDevTools Module:
+#####################################################################
+
+qt_add_module(QmlDevTools
+ STATIC
+ INTERNAL_MODULE
+ NO_SYNC_QT
+ SOURCES
+ ../qml/common/qqmlapiversion_p.h
+ ../qml/common/qqmljsdiagnosticmessage_p.h
+ ../qml/common/qqmljsfixedpoolarray_p.h
+ ../qml/common/qqmljsmemorypool_p.h
+ ../qml/common/qqmljssourcelocation_p.h
+ ../qml/common/qv4alloca_p.h
+ ../qml/common/qv4calldata_p.h
+ ../qml/common/qv4compileddata_p.h
+ ../qml/common/qv4staticvalue_p.h
+ ../qml/common/qv4stringtoarrayindex_p.h
+ ../qml/compiler/qqmlirbuilder.cpp ../qml/compiler/qqmlirbuilder_p.h
+ ../qml/compiler/qv4bytecodegenerator.cpp ../qml/compiler/qv4bytecodegenerator_p.h
+ ../qml/compiler/qv4bytecodehandler.cpp ../qml/compiler/qv4bytecodehandler_p.h
+ ../qml/compiler/qv4codegen.cpp ../qml/compiler/qv4codegen_p.h
+ ../qml/compiler/qv4compiler.cpp ../qml/compiler/qv4compiler_p.h
+ ../qml/compiler/qv4compilercontext.cpp ../qml/compiler/qv4compilercontext_p.h
+ ../qml/compiler/qv4compilercontrolflow_p.h
+ ../qml/compiler/qv4compilerglobal_p.h
+ ../qml/compiler/qv4compilerscanfunctions.cpp ../qml/compiler/qv4compilerscanfunctions_p.h
+ ../qml/compiler/qv4instr_moth.cpp ../qml/compiler/qv4instr_moth_p.h
+ ../qml/compiler/qv4util_p.h
+ ../qml/parser/qqmljsast.cpp ../qml/parser/qqmljsast_p.h
+ ../qml/parser/qqmljsastfwd_p.h
+ ../qml/parser/qqmljsastvisitor.cpp ../qml/parser/qqmljsastvisitor_p.h
+ ../qml/parser/qqmljsengine_p.cpp ../qml/parser/qqmljsengine_p.h
+ ../qml/parser/qqmljsglobal_p.h
+ ../qml/parser/qqmljskeywords_p.h
+ ../qml/parser/qqmljslexer.cpp ../qml/parser/qqmljslexer_p.h
+ ../qml/qmldirparser/qqmldirparser.cpp ../qml/qmldirparser/qqmldirparser_p.h
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_BINARY_DIR}/../qml
+ ${CMAKE_CURRENT_BINARY_DIR}/../qml/compiler
+ ${CMAKE_CURRENT_BINARY_DIR}/../qml/qmldirparser
+ ../qml/compiler
+ ../qml/qmldirparser
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+)
+
+# QLALR Grammars:
+qt_process_qlalr(
+ QmlDevTools
+ ../qml/parser/qqmljs.g
+ ""
+)
+
+#### Keys ignored in scope 1:.:.:qmldevtools.pro:<TRUE>:
+# MODULE_INCNAME = "QtQml"
+# _OPTION = "host_build"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:qmldevtools.pro:ICC:
+# WERROR = "-ww2415"
+
+#### Keys ignored in scope 3:.:.:qmldevtools.pro:CLANG AND ( (QT_CLANG_MAJOR_VERSION GREATER 3) OR (QT_CLANG_MINOR_VERSION GREATER 3) ):
+# WERROR = "-Wno-error=unused-const-variable"
+
+#### Keys ignored in scope 5:.:../qml/common:../qml/common/common.pri:NOT build_pass:
+# compile_hash_contents = "// Generated file, DO NOT EDIT" "$${LITERAL_HASH}define QML_COMPILE_HASH "$$QML_COMPILE_HASH"" "$${LITERAL_HASH}define QML_COMPILE_HASH_LENGTH $$str_size($$QML_COMPILE_HASH)"
+# tag = <EMPTY>
+# tagFile = "$$PWD/../../.tag"
+
+#### Keys ignored in scope 6:.:../qml/common:../qml/common/common.pri:EXISTS _ss_tagFile:
+# QMAKE_INTERNAL_INCLUDED_FILES = "$$tagFile"
+# tag = "$$cat($$tagFile, singleline)"
+
+#### Keys ignored in scope 7:.:../qml/common:../qml/common/common.pri:NOT tag___equals____ss_{LITERAL_DOLLAR}Format AND %H_ss_{LITERAL_DOLLAR}:
+# QML_COMPILE_HASH = "$$tag"
+
+#### Keys ignored in scope 9:.:../qml/common:../qml/common/common.pri:EXISTS _ss_PWD/../../.git:
+# QML_COMPILE_HASH = "$$commit"
+# commit = "$$system(git rev-parse HEAD)"
+
+qt_extend_target(QmlDevTools CONDITION GCC AND QT_COMPILER_VERSION_MAJOR STREQUAL 5
+ COMPILE_OPTIONS
+ -fno-strict-aliasing
+)
diff --git a/src/qmldevtools/CMakeLists.txt b/src/qmldevtools/CMakeLists.txt
new file mode 100644
index 0000000000..b0dba5c396
--- /dev/null
+++ b/src/qmldevtools/CMakeLists.txt
@@ -0,0 +1,137 @@
+# Generated from qmldevtools.pro.
+
+#####################################################################
+## QmlDevTools Module:
+#####################################################################
+
+qt_add_module(QmlDevTools
+ STATIC
+ INTERNAL_MODULE
+ NO_SYNC_QT
+ SOURCES
+ ../qml/common/qqmlapiversion_p.h
+ ../qml/common/qqmljsdiagnosticmessage_p.h
+ ../qml/common/qqmljsfixedpoolarray_p.h
+ ../qml/common/qqmljsmemorypool_p.h
+ ../qml/common/qqmljssourcelocation_p.h
+ ../qml/common/qv4alloca_p.h
+ ../qml/common/qv4calldata_p.h
+ ../qml/common/qv4compileddata_p.h
+ ../qml/common/qv4staticvalue_p.h
+ ../qml/common/qv4stringtoarrayindex_p.h
+ ../qml/compiler/qqmlirbuilder.cpp ../qml/compiler/qqmlirbuilder_p.h
+ ../qml/compiler/qv4bytecodegenerator.cpp ../qml/compiler/qv4bytecodegenerator_p.h
+ ../qml/compiler/qv4bytecodehandler.cpp ../qml/compiler/qv4bytecodehandler_p.h
+ ../qml/compiler/qv4codegen.cpp ../qml/compiler/qv4codegen_p.h
+ ../qml/compiler/qv4compiler.cpp ../qml/compiler/qv4compiler_p.h
+ ../qml/compiler/qv4compilercontext.cpp ../qml/compiler/qv4compilercontext_p.h
+ ../qml/compiler/qv4compilercontrolflow_p.h
+ ../qml/compiler/qv4compilerglobal_p.h
+ ../qml/compiler/qv4compilerscanfunctions.cpp ../qml/compiler/qv4compilerscanfunctions_p.h
+ ../qml/compiler/qv4instr_moth.cpp ../qml/compiler/qv4instr_moth_p.h
+ ../qml/compiler/qv4util_p.h
+ ../qml/parser/qqmljsast.cpp ../qml/parser/qqmljsast_p.h
+ ../qml/parser/qqmljsastfwd_p.h
+ ../qml/parser/qqmljsastvisitor.cpp ../qml/parser/qqmljsastvisitor_p.h
+ ../qml/parser/qqmljsengine_p.cpp ../qml/parser/qqmljsengine_p.h
+ ../qml/parser/qqmljsglobal_p.h
+ ../qml/parser/qqmljskeywords_p.h
+ ../qml/parser/qqmljslexer.cpp ../qml/parser/qqmljslexer_p.h
+ ../qml/qmldirparser/qqmldirparser.cpp ../qml/qmldirparser/qqmldirparser_p.h
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_BINARY_DIR}/../qml
+ ${CMAKE_CURRENT_BINARY_DIR}/../qml/compiler
+ ${CMAKE_CURRENT_BINARY_DIR}/../qml/qmldirparser
+ ../qml/compiler
+ ../qml/qmldirparser
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+)
+
+# special case begin
+# Need to generate the parser files as in Qml module.
+set(_qt_qlalr_flags "--no-debug" "--qt")
+qt_process_qlalr(QmlDevTools "${CMAKE_CURRENT_SOURCE_DIR}/../qml/parser/qqmljs.g" "${_qt_qlalr_flags}")
+
+# Need to propagate some of the include directories from Qml via QmlDevToolsPrivate
+# for other tools, and also for the main QmlDevTools module,
+# until we fix the script to handle internal_module to create only one single Private module.
+qt_internal_module_info(qml_module "Qml")
+if(QT_FEATURE_framework)
+ get_target_property(_qml_fw_headers_dir Qt::Qml LIBRARY_OUTPUT_DIRECTORY)
+ string(APPEND _qml_fw_headers_dir /${qml_module}.framework/Versions/${PROJECT_VERSION_MAJOR}/Headers)
+ set(_qml_dev_tools_private_includes
+ $<BUILD_INTERFACE:${_qml_fw_headers_dir}>
+ $<BUILD_INTERFACE:${_qml_fw_headers_dir}/${PROJECT_VERSION}>
+ $<BUILD_INTERFACE:${_qml_fw_headers_dir}/${PROJECT_VERSION}/${qml_module}>
+ )
+else()
+ set(_qml_dev_tools_private_includes
+ $<BUILD_INTERFACE:${qml_module_include_dir}>
+ $<BUILD_INTERFACE:${qml_module_repo_include_dir}>
+ $<BUILD_INTERFACE:${qml_module_include_dir}/${PROJECT_VERSION}>
+ $<BUILD_INTERFACE:${qml_module_include_dir}/${PROJECT_VERSION}/${qml_module}>
+ )
+endif()
+target_include_directories(QmlDevTools PRIVATE ${_qml_dev_tools_private_includes})
+target_include_directories(QmlDevToolsPrivate INTERFACE ${_qml_dev_tools_private_includes})
+if(QT_FEATURE_framework)
+ set(_qml_fw_headers_dir lib/${qml_module}.framework/Headers)
+ set(_qml_dev_tools_public_includes
+ $<INSTALL_INTERFACE:${_qml_fw_headers_dir}>
+ $<INSTALL_INTERFACE:${_qml_fw_headers_dir}/${PROJECT_VERSION}>
+ $<INSTALL_INTERFACE:${_qml_fw_headers_dir}/${PROJECT_VERSION}/${qml_module}>
+ )
+else()
+ set(_qml_dev_tools_public_includes
+ $<INSTALL_INTERFACE:include/${qml_module}>
+ $<INSTALL_INTERFACE:include/${qml_module}/${PROJECT_VERSION}>
+ $<INSTALL_INTERFACE:include/${qml_module}/${PROJECT_VERSION}/${qml_module}>
+ )
+endif()
+target_include_directories(QmlDevTools PRIVATE ${_qml_dev_tools_public_includes})
+target_include_directories(QmlDevToolsPrivate INTERFACE ${_qml_dev_tools_public_includes})
+
+# We build the qlalr sources into qmldevtools, so there's no link-time
+# dependency to QtQml. However we also include files in QmlDevTools such
+# as qqmlirbuilder.cpp that include <private/qqmljsgrammar_p.h> that
+# originate from QtQml. That particular header was created at cmake time
+# via syncqt, but it's just a forwarding header that in turn includes
+# the generated file. That generated file is created when building
+# QtQml, so we must depend on it:
+add_dependencies(QmlDevTools Qml)
+# special case end
+
+#### Keys ignored in scope 1:.:.:qmldevtools.pro:<TRUE>:
+# MODULE_INCNAME = "QtQml"
+# _OPTION = "host_build"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:qmldevtools.pro:ICC:
+# WERROR = "-ww2415"
+
+#### Keys ignored in scope 3:.:.:qmldevtools.pro:CLANG AND ( (QT_CLANG_MAJOR_VERSION GREATER 3) OR (QT_CLANG_MINOR_VERSION GREATER 3) ):
+# WERROR = "-Wno-error=unused-const-variable"
+
+#### Keys ignored in scope 5:.:../qml/common:../qml/common/common.pri:NOT build_pass:
+# compile_hash_contents = "// Generated file, DO NOT EDIT" "$${LITERAL_HASH}define QML_COMPILE_HASH "$$QML_COMPILE_HASH"" "$${LITERAL_HASH}define QML_COMPILE_HASH_LENGTH $$str_size($$QML_COMPILE_HASH)"
+# tag = <EMPTY>
+# tagFile = "$$PWD/../../.tag"
+
+#### Keys ignored in scope 6:.:../qml/common:../qml/common/common.pri:EXISTS _ss_tagFile:
+# QMAKE_INTERNAL_INCLUDED_FILES = "$$tagFile"
+# tag = "$$cat($$tagFile, singleline)"
+
+#### Keys ignored in scope 7:.:../qml/common:../qml/common/common.pri:NOT tag___equals____ss_{LITERAL_DOLLAR}Format AND %H_ss_{LITERAL_DOLLAR}:
+# QML_COMPILE_HASH = "$$tag"
+
+#### Keys ignored in scope 9:.:../qml/common:../qml/common/common.pri:EXISTS _ss_PWD/../../.git:
+# QML_COMPILE_HASH = "$$commit"
+# commit = "$$system(git rev-parse HEAD)"
+
+qt_extend_target(QmlDevTools CONDITION GCC AND QT_COMPILER_VERSION_MAJOR STREQUAL 5
+ COMPILE_OPTIONS
+ -fno-strict-aliasing
+)
diff --git a/src/qmlmodels/CMakeLists.txt b/src/qmlmodels/CMakeLists.txt
new file mode 100644
index 0000000000..069ea4a01e
--- /dev/null
+++ b/src/qmlmodels/CMakeLists.txt
@@ -0,0 +1,78 @@
+# Generated from qmlmodels.pro.
+
+#####################################################################
+## QmlModels Module:
+#####################################################################
+
+qt_add_module(QmlModels
+ GENERATE_METATYPES
+ SOURCES
+ qqmlchangeset.cpp qqmlchangeset_p.h
+ qqmlmodelsmodule_p.h
+ qtqmlmodelsglobal.h qtqmlmodelsglobal_p.h
+ DEFINES
+ QT_NO_FOREACH
+ QT_NO_INTEGER_EVENT_COORDINATES
+ QT_NO_URL_CAST_FROM_STRING
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Qml
+ PRIVATE_MODULE_INTERFACE
+ Qt::CorePrivate
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmlmodels.pro:<TRUE>:
+# QMLTYPES_FILENAME = "plugins.qmltypes"
+# QMLTYPES_INSTALL_DIR = "$$[QT_INSTALL_QML]/QtQml/Models"
+# QML_IMPORT_NAME = "QtQml.Models"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(QmlModels CONDITION QT_FEATURE_qml_object_model
+ SOURCES
+ qqmlinstantiator.cpp qqmlinstantiator_p.h
+ qqmlinstantiator_p_p.h
+ qqmlobjectmodel.cpp qqmlobjectmodel_p.h
+)
+
+qt_extend_target(QmlModels CONDITION QT_FEATURE_qml_table_model
+ SOURCES
+ qqmltableinstancemodel.cpp qqmltableinstancemodel_p.h
+)
+
+qt_extend_target(QmlModels CONDITION QT_FEATURE_qml_list_model
+ SOURCES
+ qqmllistmodel.cpp qqmllistmodel_p.h
+ qqmllistmodel_p_p.h
+ qqmllistmodelworkeragent.cpp qqmllistmodelworkeragent_p.h
+)
+
+qt_extend_target(QmlModels CONDITION QT_FEATURE_qml_delegate_model
+ SOURCES
+ qqmlabstractdelegatecomponent.cpp qqmlabstractdelegatecomponent_p.h
+ qqmladaptormodel.cpp qqmladaptormodel_p.h
+ qqmldelegatemodel.cpp qqmldelegatemodel_p.h
+ qqmldelegatemodel_p_p.h
+ qqmllistaccessor.cpp qqmllistaccessor_p.h
+ qqmllistcompositor.cpp qqmllistcompositor_p.h
+ qquickpackage.cpp qquickpackage_p.h
+)
+qt_add_docs(QmlModels
+ doc/qtqmlmodels.qdocconf
+)
+
+
+set_target_properties(QmlModels PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION ${CMAKE_PROJECT_VERSION}
+ QT_QML_MODULE_URI QtQml.Models
+ QT_QML_MODULE_INSTALL_DIR "${INSTALL_QMLDIR}/QtQml/Models"
+)
+
+qt6_qml_type_registration(QmlModels)
diff --git a/src/qmlmodels/configure.cmake b/src/qmlmodels/configure.cmake
new file mode 100644
index 0000000000..44643c88a6
--- /dev/null
+++ b/src/qmlmodels/configure.cmake
@@ -0,0 +1,39 @@
+
+
+#### Inputs
+
+
+
+#### Libraries
+
+
+
+#### Tests
+
+
+
+#### Features
+
+qt_feature("qml-object-model" PRIVATE
+ SECTION "QML"
+ LABEL "QML object model"
+ PURPOSE "Provides the ObjectModel and Instantiator QML types."
+)
+qt_feature("qml-list-model" PRIVATE
+ SECTION "QML"
+ LABEL "QML list model"
+ PURPOSE "Provides the ListModel QML type."
+ CONDITION QT_FEATURE_qml_itemmodel
+)
+qt_feature("qml-delegate-model" PRIVATE
+ SECTION "QML"
+ LABEL "QML delegate model"
+ PURPOSE "Provides the DelegateModel QML type."
+ CONDITION QT_FEATURE_qml_object_model AND QT_FEATURE_qml_itemmodel
+)
+qt_feature("qml-table-model" PRIVATE
+ SECTION "QML"
+ LABEL "QML table model"
+ PURPOSE "Provides the TableModel QML type."
+ CONDITION QT_FEATURE_qml_itemmodel AND QT_FEATURE_qml_delegate_model
+)
diff --git a/src/qmltest/.prev_CMakeLists.txt b/src/qmltest/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..db3f568a7b
--- /dev/null
+++ b/src/qmltest/.prev_CMakeLists.txt
@@ -0,0 +1,52 @@
+# Generated from qmltest.pro.
+
+#####################################################################
+## QuickTest Module:
+#####################################################################
+
+qt_add_module(QuickTest
+ GENERATE_METATYPES
+ QMAKE_MODULE_CONFIG $${QT.testlib.CONFIG}
+ SOURCES
+ qtestoptions_p.h
+ quicktest.cpp quicktest.h
+ quicktestglobal.h
+ quicktestresult.cpp quicktestresult_p.h
+ DEFINES
+ QT_NO_FOREACH
+ QT_NO_URL_CAST_FROM_STRING
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::QmlPrivate
+ Qt::Quick
+ Qt::QuickPrivate
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Test
+ PRIVATE_MODULE_INTERFACE
+ Qt::TestPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmltest.pro:<TRUE>:
+# MODULE_CONFIG = "$${QT.testlib.CONFIG}"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(QuickTest CONDITION TARGET Qt::Widgets
+ DEFINES
+ QT_QMLTEST_WITH_WIDGETS
+ PUBLIC_LIBRARIES
+ Qt::Widgets
+)
+
+qt_extend_target(QuickTest CONDITION QT_FEATURE_qml_debug
+ DEFINES
+ QT_QML_DEBUG_NO_WARNING
+)
+qt_add_docs(QuickTest
+ doc/qtqmltest.qdocconf
+)
+
diff --git a/src/qmltest/CMakeLists.txt b/src/qmltest/CMakeLists.txt
new file mode 100644
index 0000000000..4ad0d84928
--- /dev/null
+++ b/src/qmltest/CMakeLists.txt
@@ -0,0 +1,53 @@
+# Generated from qmltest.pro.
+
+#####################################################################
+## QuickTest Module:
+#####################################################################
+
+qt_add_module(QuickTest
+ GENERATE_METATYPES
+ QMAKE_MODULE_CONFIG $${QT.testlib.CONFIG}
+ SOURCES
+ qtestoptions_p.h
+ quicktest.cpp quicktest.h
+ quicktestglobal.h
+ quicktestresult.cpp quicktestresult_p.h
+ DEFINES
+ QT_NO_FOREACH
+ QT_NO_URL_CAST_FROM_STRING
+ QT_BUILD_QMLTEST_LIB # special case
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::QmlPrivate
+ Qt::Quick
+ Qt::QuickPrivate
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Test
+ PRIVATE_MODULE_INTERFACE
+ Qt::TestPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmltest.pro:<TRUE>:
+# MODULE_CONFIG = "$${QT.testlib.CONFIG}"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(QuickTest CONDITION TARGET Qt::Widgets
+ DEFINES
+ QT_QMLTEST_WITH_WIDGETS
+ PUBLIC_LIBRARIES
+ Qt::Widgets
+)
+
+qt_extend_target(QuickTest CONDITION QT_FEATURE_qml_debug
+ DEFINES
+ QT_QML_DEBUG_NO_WARNING
+)
+qt_add_docs(QuickTest
+ doc/qtqmltest.qdocconf
+)
+
diff --git a/src/qmltyperegistrar/.prev_CMakeLists.txt b/src/qmltyperegistrar/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..1d376d161f
--- /dev/null
+++ b/src/qmltyperegistrar/.prev_CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qmltyperegistrar.pro.
+
+#####################################################################
+## qmltyperegistrar Tool:
+#####################################################################
+
+qt_add_tool(qmltyperegistrar
+ SOURCES
+ ../../tools/shared/qmlstreamwriter.cpp ../../tools/shared/qmlstreamwriter.h
+ ../../tools/shared/resourcefilemapper.cpp ../../tools/shared/resourcefilemapper.h
+ qmltyperegistrar.cpp
+ qmltypesclassdescription.cpp qmltypesclassdescription.h
+ qmltypescreator.cpp qmltypescreator.h
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ INCLUDE_DIRECTORIES
+ ../../tools/shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmltyperegistrar.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "Types" "Registrar"
+# _OPTION = "host_build"
+# build_integration.files = "qmltypes.prf"
+# build_integration.path = "$$[QT_HOST_DATA]/mkspecs/features"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:qmltyperegistrar.pro:prefix_build:
+# COPIES = "qmltypes_to_builddir"
+# INSTALLS = "build_integration"
+# qmltypes_to_builddir.files = "qmltypes.prf"
+# qmltypes_to_builddir.path = "$$MODULE_BASE_OUTDIR/mkspecs/features"
+
+#### Keys ignored in scope 3:.:.:qmltyperegistrar.pro:else:
+# COPIES = "build_integration"
diff --git a/src/qmltyperegistrar/CMakeLists.txt b/src/qmltyperegistrar/CMakeLists.txt
new file mode 100644
index 0000000000..be3c28dc22
--- /dev/null
+++ b/src/qmltyperegistrar/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qmltyperegistrar.pro.
+
+#####################################################################
+## qmltyperegistrar Tool:
+#####################################################################
+
+qt_add_tool(qmltyperegistrar
+ TOOLS_TARGET Qml # special case
+ SOURCES
+ ../../tools/shared/qmlstreamwriter.cpp ../../tools/shared/qmlstreamwriter.h
+ ../../tools/shared/resourcefilemapper.cpp ../../tools/shared/resourcefilemapper.h
+ qmltyperegistrar.cpp
+ qmltypesclassdescription.cpp qmltypesclassdescription.h
+ qmltypescreator.cpp qmltypescreator.h
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ INCLUDE_DIRECTORIES
+ ../../tools/shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmltyperegistrar.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "Types" "Registrar"
+# _OPTION = "host_build"
+# build_integration.files = "qmltypes.prf"
+# build_integration.path = "$$[QT_HOST_DATA]/mkspecs/features"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:qmltyperegistrar.pro:prefix_build:
+# COPIES = "qmltypes_to_builddir"
+# INSTALLS = "build_integration"
+# qmltypes_to_builddir.files = "qmltypes.prf"
+# qmltypes_to_builddir.path = "$$MODULE_BASE_OUTDIR/mkspecs/features"
+
+#### Keys ignored in scope 3:.:.:qmltyperegistrar.pro:else:
+# COPIES = "build_integration"
diff --git a/src/qmltyperegistrar/qmltyperegistrar.cpp b/src/qmltyperegistrar/qmltyperegistrar.cpp
index ec75289cd6..33f1ebbbd5 100644
--- a/src/qmltyperegistrar/qmltyperegistrar.cpp
+++ b/src/qmltyperegistrar/qmltyperegistrar.cpp
@@ -75,6 +75,35 @@ static RegistrationMode qmlTypeRegistrationMode(const QJsonObject &classDef)
return NoRegistration;
}
+static bool argumentsFromCommandLineAndFile(QStringList &allArguments, const QStringList &arguments)
+{
+ allArguments.reserve(arguments.size());
+ for (const QString &argument : arguments) {
+ // "@file" doesn't start with a '-' so we can't use QCommandLineParser for it
+ if (argument.startsWith(QLatin1Char('@'))) {
+ QString optionsFile = argument;
+ optionsFile.remove(0, 1);
+ if (optionsFile.isEmpty()) {
+ fprintf(stderr, "The @ option requires an input file");
+ return false;
+ }
+ QFile f(optionsFile);
+ if (!f.open(QIODevice::ReadOnly | QIODevice::Text)) {
+ fprintf(stderr, "Cannot open options file specified with @");
+ return false;
+ }
+ while (!f.atEnd()) {
+ QString line = QString::fromLocal8Bit(f.readLine().trimmed());
+ if (!line.isEmpty())
+ allArguments << line;
+ }
+ } else {
+ allArguments << argument;
+ }
+ }
+ return true;
+}
+
static QVector<QJsonObject> foreignRelatedTypes(const QVector<QJsonObject> &types,
const QVector<QJsonObject> &foreignTypes)
{
@@ -247,7 +276,11 @@ int main(int argc, char **argv)
parser.addPositionalArgument(QStringLiteral("[MOC generated json file]"),
QStringLiteral("MOC generated json output."));
- parser.process(app);
+ QStringList arguments;
+ if (!argumentsFromCommandLineAndFile(arguments, app.arguments()))
+ return EXIT_FAILURE;
+
+ parser.process(arguments);
FILE *output = stdout;
QScopedPointer<FILE, ScopedPointerFileCloser> outputFile;
diff --git a/src/qmlworkerscript/.prev_CMakeLists.txt b/src/qmlworkerscript/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..ad1a578f14
--- /dev/null
+++ b/src/qmlworkerscript/.prev_CMakeLists.txt
@@ -0,0 +1,114 @@
+# Generated from qmlworkerscript.pro.
+
+#####################################################################
+## QmlWorkerScript Module:
+#####################################################################
+
+qt_add_module(QmlWorkerScript
+ GENERATE_METATYPES
+ SOURCES
+ qquickworkerscript.cpp qquickworkerscript_p.h
+ qtqmlworkerscriptglobal.h qtqmlworkerscriptglobal_p.h
+ qv4serialize.cpp qv4serialize_p.h
+ DEFINES
+ BUILDING_QT__
+ ENABLE_ASSEMBLER_WX_EXCLUSIVE=1
+ ENABLE_DFG_JIT=0
+ ENABLE_DFG_JIT_UTILITY_METHODS=1
+ ENABLE_JIT_CONSTANT_BLINDING=0
+ ENABLE_LLINT=0
+ JS_EXPORT_PRIVATE=""
+ QT_NO_FOREACH
+ QT_NO_INTEGER_EVENT_COORDINATES
+ QT_NO_URL_CAST_FROM_STRING
+ WTFInvokeCrashHook=qmlWTFInvokeCrashHook
+ WTFReportAssertionFailure=qmlWTFReportAssertionFailure
+ WTFReportAssertionFailureWithMessage=qmlWTFReportAssertionFailureWithMessage
+ WTFReportBacktrace=qmlWTFReportBacktrace
+ WTF_EXPORT_PRIVATE=""
+ INCLUDE_DIRECTORIES
+ ../3rdparty/masm
+ ../3rdparty/masm/assembler
+ ../3rdparty/masm/disassembler
+ ../3rdparty/masm/disassembler/udis86
+ ../3rdparty/masm/jit
+ ../3rdparty/masm/runtime
+ ../3rdparty/masm/stubs
+ ../3rdparty/masm/stubs/runtime
+ ../3rdparty/masm/stubs/wtf
+ ../3rdparty/masm/wtf
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Qml
+ PRIVATE_MODULE_INTERFACE
+ Qt::CorePrivate
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmlworkerscript.pro:<TRUE>:
+# QMLTYPES_FILENAME = "plugins.qmltypes"
+# QMLTYPES_INSTALL_DIR = "$$[QT_INSTALL_QML]/QtQml/WorkerScript"
+# QML_IMPORT_NAME = "QtQml.WorkerScript"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(QmlWorkerScript CONDITION WIN32
+ DEFINES
+ NOMINMAX
+)
+
+qt_extend_target(QmlWorkerScript CONDITION disassembler AND ((TEST_architecture_arch STREQUAL "i386") OR (TEST_architecture_arch STREQUAL "x86_64"))
+ DEFINES
+ WTF_USE_UDIS86=1
+)
+
+qt_extend_target(QmlWorkerScript CONDITION (TEST_architecture_arch STREQUAL "arm") AND disassembler
+ DEFINES
+ WTF_USE_ARMV7_DISASSEMBLER=1
+)
+
+qt_extend_target(QmlWorkerScript CONDITION (TEST_architecture_arch STREQUAL "arm64") AND disassembler
+ DEFINES
+ WTF_USE_ARM64_DISASSEMBLER=1
+)
+
+qt_extend_target(QmlWorkerScript CONDITION (TEST_architecture_arch STREQUAL "mips") AND disassembler
+ DEFINES
+ WTF_USE_MIPS32_DISASSEMBLER=1
+)
+
+qt_extend_target(QmlWorkerScript CONDITION NOT disassembler
+ DEFINES
+ WTF_USE_UDIS86=0
+)
+
+qt_extend_target(QmlWorkerScript CONDITION CMAKE_BUILD_TYPE STREQUAL Release
+ DEFINES
+ NDEBUG
+)
+
+qt_extend_target(QmlWorkerScript CONDITION GCC AND QT_COMPILER_VERSION_MAJOR STRGREATER 6 AND NOT CLANG AND NOT ICC
+ COMPILE_OPTIONS
+ -Wno-expansion-to-defined
+)
+
+#### Keys ignored in scope 12:.:../3rdparty/masm:../3rdparty/masm/masm-defs.pri:(QT_COMPILER_VERSION_MAJOR STRGREATER 6):
+# QMAKE_CXXFLAGS_WARN_ON = "-Wno-expansion-to-defined"
+qt_add_docs(QmlWorkerScript
+ doc/qtqmlworkerscript.qdocconf
+)
+
+
+set_target_properties(QmlWorkerScript PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION ${CMAKE_PROJECT_VERSION}
+ QT_QML_MODULE_URI QtQml.WorkerScript
+ QT_QML_MODULE_INSTALL_DIR "${INSTALL_QMLDIR}/QtQml/WorkerScript"
+)
+
+qt6_qml_type_registration(QmlWorkerScript)
diff --git a/src/qmlworkerscript/CMakeLists.txt b/src/qmlworkerscript/CMakeLists.txt
new file mode 100644
index 0000000000..e85d1174e1
--- /dev/null
+++ b/src/qmlworkerscript/CMakeLists.txt
@@ -0,0 +1,114 @@
+# Generated from qmlworkerscript.pro.
+
+#####################################################################
+## QmlWorkerScript Module:
+#####################################################################
+
+qt_add_module(QmlWorkerScript
+ GENERATE_METATYPES
+ SOURCES
+ qquickworkerscript.cpp qquickworkerscript_p.h
+ qtqmlworkerscriptglobal.h qtqmlworkerscriptglobal_p.h
+ qv4serialize.cpp qv4serialize_p.h
+ DEFINES
+ BUILDING_QT__
+ ENABLE_ASSEMBLER_WX_EXCLUSIVE=1
+ ENABLE_DFG_JIT=0
+ ENABLE_DFG_JIT_UTILITY_METHODS=1
+ ENABLE_JIT_CONSTANT_BLINDING=0
+ ENABLE_LLINT=0
+ JS_EXPORT_PRIVATE= # special case
+ QT_NO_FOREACH
+ QT_NO_INTEGER_EVENT_COORDINATES
+ QT_NO_URL_CAST_FROM_STRING
+ WTFInvokeCrashHook=qmlWTFInvokeCrashHook
+ WTFReportAssertionFailure=qmlWTFReportAssertionFailure
+ WTFReportAssertionFailureWithMessage=qmlWTFReportAssertionFailureWithMessage
+ WTFReportBacktrace=qmlWTFReportBacktrace
+ WTF_EXPORT_PRIVATE= # special case
+ INCLUDE_DIRECTORIES
+ ../3rdparty/masm
+ ../3rdparty/masm/assembler
+ ../3rdparty/masm/disassembler
+ ../3rdparty/masm/disassembler/udis86
+ ../3rdparty/masm/jit
+ ../3rdparty/masm/runtime
+ ../3rdparty/masm/stubs
+ ../3rdparty/masm/stubs/runtime
+ ../3rdparty/masm/stubs/wtf
+ ../3rdparty/masm/wtf
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Qml
+ PRIVATE_MODULE_INTERFACE
+ Qt::CorePrivate
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmlworkerscript.pro:<TRUE>:
+# QMLTYPES_FILENAME = "plugins.qmltypes"
+# QMLTYPES_INSTALL_DIR = "$$[QT_INSTALL_QML]/QtQml/WorkerScript"
+# QML_IMPORT_NAME = "QtQml.WorkerScript"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(QmlWorkerScript CONDITION WIN32
+ DEFINES
+ NOMINMAX
+)
+
+qt_extend_target(QmlWorkerScript CONDITION disassembler AND ((TEST_architecture_arch STREQUAL "i386") OR (TEST_architecture_arch STREQUAL "x86_64"))
+ DEFINES
+ WTF_USE_UDIS86=1
+)
+
+qt_extend_target(QmlWorkerScript CONDITION (TEST_architecture_arch STREQUAL "arm") AND disassembler
+ DEFINES
+ WTF_USE_ARMV7_DISASSEMBLER=1
+)
+
+qt_extend_target(QmlWorkerScript CONDITION (TEST_architecture_arch STREQUAL "arm64") AND disassembler
+ DEFINES
+ WTF_USE_ARM64_DISASSEMBLER=1
+)
+
+qt_extend_target(QmlWorkerScript CONDITION (TEST_architecture_arch STREQUAL "mips") AND disassembler
+ DEFINES
+ WTF_USE_MIPS32_DISASSEMBLER=1
+)
+
+qt_extend_target(QmlWorkerScript CONDITION NOT disassembler
+ DEFINES
+ WTF_USE_UDIS86=0
+)
+
+qt_extend_target(QmlWorkerScript CONDITION CMAKE_BUILD_TYPE STREQUAL Release
+ DEFINES
+ NDEBUG
+)
+
+qt_extend_target(QmlWorkerScript CONDITION GCC AND QT_COMPILER_VERSION_MAJOR STRGREATER 6 AND NOT CLANG AND NOT ICC
+ COMPILE_OPTIONS
+ -Wno-expansion-to-defined
+)
+
+#### Keys ignored in scope 12:.:../3rdparty/masm:../3rdparty/masm/masm-defs.pri:(QT_COMPILER_VERSION_MAJOR STRGREATER 6):
+# QMAKE_CXXFLAGS_WARN_ON = "-Wno-expansion-to-defined"
+qt_add_docs(QmlWorkerScript
+ doc/qtqmlworkerscript.qdocconf
+)
+
+
+set_target_properties(QmlWorkerScript PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION ${CMAKE_PROJECT_VERSION}
+ QT_QML_MODULE_URI QtQml.WorkerScript
+ QT_QML_MODULE_INSTALL_DIR "${INSTALL_QMLDIR}/QtQml/WorkerScript"
+)
+
+qt6_qml_type_registration(QmlWorkerScript)
diff --git a/src/quick/CMakeLists.txt b/src/quick/CMakeLists.txt
new file mode 100644
index 0000000000..bffe111828
--- /dev/null
+++ b/src/quick/CMakeLists.txt
@@ -0,0 +1,616 @@
+# Generated from quick.pro.
+
+#####################################################################
+## Quick Module:
+#####################################################################
+
+qt_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/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/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/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/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/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
+ qtquick2.cpp qtquick2_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/coreapi/qsgabstractrenderer.cpp scenegraph/coreapi/qsgabstractrenderer.h scenegraph/coreapi/qsgabstractrenderer_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/qsgmaterialrhishader.cpp scenegraph/coreapi/qsgmaterialrhishader.h scenegraph/coreapi/qsgmaterialrhishader_p.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/qsgtexture.cpp scenegraph/coreapi/qsgtexture.h scenegraph/coreapi/qsgtexture_p.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/qsgrenderloop.cpp scenegraph/qsgrenderloop_p.h
+ scenegraph/qsgrhisupport.cpp scenegraph/qsgrhisupport_p.h
+ scenegraph/util/qsgareaallocator.cpp scenegraph/util/qsgareaallocator_p.h
+ scenegraph/util/qsgengine.cpp scenegraph/util/qsgengine.h scenegraph/util/qsgengine_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/qsgsimplematerial.cpp scenegraph/util/qsgsimplematerial.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/24bittextmask.frag"
+ "shaders/24bittextmask_core.frag"
+ "shaders/32bitcolortext.frag"
+ "shaders/32bitcolortext_core.frag"
+ "shaders/8bittextmask.frag"
+ "shaders/8bittextmask_core.frag"
+ "shaders/distancefieldoutlinetext.frag"
+ "shaders/distancefieldoutlinetext_core.frag"
+ "shaders/distancefieldshiftedtext.frag"
+ "shaders/distancefieldshiftedtext.vert"
+ "shaders/distancefieldshiftedtext_core.frag"
+ "shaders/distancefieldshiftedtext_core.vert"
+ "shaders/distancefieldtext.frag"
+ "shaders/distancefieldtext.vert"
+ "shaders/distancefieldtext_core.frag"
+ "shaders/distancefieldtext_core.vert"
+ "shaders/flatcolor.frag"
+ "shaders/flatcolor.vert"
+ "shaders/flatcolor_core.frag"
+ "shaders/flatcolor_core.vert"
+ "shaders/hiqsubpixeldistancefieldtext.frag"
+ "shaders/hiqsubpixeldistancefieldtext.vert"
+ "shaders/hiqsubpixeldistancefieldtext_core.frag"
+ "shaders/hiqsubpixeldistancefieldtext_core.vert"
+ "shaders/loqsubpixeldistancefieldtext.frag"
+ "shaders/loqsubpixeldistancefieldtext.vert"
+ "shaders/loqsubpixeldistancefieldtext_core.frag"
+ "shaders/loqsubpixeldistancefieldtext_core.vert"
+ "shaders/opaquetexture.frag"
+ "shaders/opaquetexture.vert"
+ "shaders/opaquetexture_core.frag"
+ "shaders/opaquetexture_core.vert"
+ "shaders/outlinedtext.frag"
+ "shaders/outlinedtext.vert"
+ "shaders/outlinedtext_core.frag"
+ "shaders/outlinedtext_core.vert"
+ "shaders/rendernode.frag"
+ "shaders/rendernode.vert"
+ "shaders/rendernode_core.frag"
+ "shaders/rendernode_core.vert"
+ "shaders/smoothcolor.frag"
+ "shaders/smoothcolor.vert"
+ "shaders/smoothcolor_core.frag"
+ "shaders/smoothcolor_core.vert"
+ "shaders/smoothtexture.frag"
+ "shaders/smoothtexture.vert"
+ "shaders/smoothtexture_core.frag"
+ "shaders/smoothtexture_core.vert"
+ "shaders/sprite.frag"
+ "shaders/sprite.vert"
+ "shaders/sprite_core.frag"
+ "shaders/sprite_core.vert"
+ "shaders/stencilclip.frag"
+ "shaders/stencilclip.vert"
+ "shaders/stencilclip_core.frag"
+ "shaders/stencilclip_core.vert"
+ "shaders/styledtext.frag"
+ "shaders/styledtext.vert"
+ "shaders/styledtext_core.frag"
+ "shaders/styledtext_core.vert"
+ "shaders/textmask.frag"
+ "shaders/textmask.vert"
+ "shaders/textmask_core.frag"
+ "shaders/textmask_core.vert"
+ "shaders/texture.frag"
+ "shaders/texture_core.frag"
+ "shaders/vertexcolor.frag"
+ "shaders/vertexcolor.vert"
+ "shaders/vertexcolor_core.frag"
+ "shaders/vertexcolor_core.vert"
+ "shaders/visualization.frag"
+ "shaders/visualization.vert"
+ "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/distancefieldshiftedtext.frag.qsb"
+ "shaders_ng/distancefieldshiftedtext.vert.qsb"
+ "shaders_ng/distancefieldshiftedtext_a.frag.qsb"
+ "shaders_ng/distancefieldtext.frag.qsb"
+ "shaders_ng/distancefieldtext.vert.qsb"
+ "shaders_ng/distancefieldtext_a.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_add_resource(Quick "scenegraph"
+ PREFIX
+ "/qt-project.org/scenegraph"
+ BASE
+ "scenegraph"
+ FILES
+ ${scenegraph_resource_files}
+)
+set(items_resource_files
+ "shaders/shadereffect.frag"
+ "shaders/shadereffect.vert"
+ "shaders/shadereffect_core.frag"
+ "shaders/shadereffect_core.vert"
+ "shaders/shadereffectfallback.frag"
+ "shaders/shadereffectfallback.vert"
+ "shaders/shadereffectfallback_core.frag"
+ "shaders/shadereffectfallback_core.vert"
+)
+
+qt_add_resource(Quick "items"
+ PREFIX
+ "/qt-project.org/items"
+ BASE
+ "items"
+ FILES
+ ${items_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"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(Quick CONDITION QT_FEATURE_qml_network
+ LIBRARIES
+ Qt::Network
+)
+
+qt_extend_target(Quick CONDITION QT_FEATURE_opengl
+ LIBRARIES
+ Qt::OpenGLPrivate
+ PUBLIC_LIBRARIES
+ Qt::OpenGL
+)
+
+qt_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_extend_target(Quick CONDITION WIN32 AND NOT WINRT
+ PUBLIC_LIBRARIES
+ user32
+)
+
+qt_extend_target(Quick CONDITION EXISTS "qqml_enable_gcov"
+ LIBRARIES
+ gcov
+ COMPILE_OPTIONS
+ -fno-elide-constructors
+ -fprofile-arcs
+ -ftest-coverage
+)
+
+qt_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_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
+)
+
+qt_extend_target(Quick CONDITION QT_FEATURE_qml_debug
+ SOURCES
+ util/qquickprofiler.cpp
+)
+
+qt_extend_target(Quick CONDITION QT_FEATURE_shortcut
+ SOURCES
+ util/qquickshortcut.cpp util/qquickshortcut_p.h
+)
+
+qt_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_extend_target(Quick CONDITION QT_FEATURE_opengl OR QT_FEATURE_opengles2 OR QT_FEATURE_opengles3
+ SOURCES
+ items/qquickframebufferobject.cpp items/qquickframebufferobject.h
+ items/qquickopenglinfo.cpp items/qquickopenglinfo_p.h
+ scenegraph/compressedtexture/qsgcompressedatlastexture.cpp scenegraph/compressedtexture/qsgcompressedatlastexture_p.h
+ scenegraph/compressedtexture/qsgcompressedtexture.cpp scenegraph/compressedtexture/qsgcompressedtexture_p.h
+ scenegraph/coreapi/qsgbatchrenderer.cpp scenegraph/coreapi/qsgbatchrenderer_p.h
+ scenegraph/coreapi/qsgopenglvisualizer.cpp scenegraph/coreapi/qsgopenglvisualizer_p.h
+ scenegraph/coreapi/qsgrhivisualizer.cpp scenegraph/coreapi/qsgrhivisualizer_p.h
+ scenegraph/coreapi/qsgshaderrewriter.cpp
+ 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/qsgopengldistancefieldglyphcache.cpp scenegraph/qsgopengldistancefieldglyphcache_p.h
+ scenegraph/qsgopengllayer.cpp scenegraph/qsgopengllayer_p.h
+ scenegraph/qsgrhidistancefieldglyphcache.cpp scenegraph/qsgrhidistancefieldglyphcache_p.h
+ scenegraph/qsgrhilayer.cpp scenegraph/qsgrhilayer_p.h
+ scenegraph/qsgrhishadereffectnode.cpp scenegraph/qsgrhishadereffectnode_p.h
+ scenegraph/qsgrhitextureglyphcache.cpp scenegraph/qsgrhitextureglyphcache_p.h
+ scenegraph/qsgwindowsrenderloop.cpp scenegraph/qsgwindowsrenderloop_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/qsgdepthstencilbuffer.cpp scenegraph/util/qsgdepthstencilbuffer_p.h
+ scenegraph/util/qsgopenglatlastexture.cpp scenegraph/util/qsgopenglatlastexture_p.h
+ scenegraph/util/qsgrhiatlastexture.cpp scenegraph/util/qsgrhiatlastexture_p.h
+ scenegraph/util/qsgshadersourcebuilder.cpp scenegraph/util/qsgshadersourcebuilder_p.h
+)
+
+qt_extend_target(Quick CONDITION QT_FEATURE_thread AND (QT_FEATURE_opengl OR QT_FEATURE_opengles2 OR QT_FEATURE_opengles3)
+ SOURCES
+ scenegraph/qsgthreadedrenderloop.cpp scenegraph/qsgthreadedrenderloop_p.h
+)
+
+qt_extend_target(Quick CONDITION QT_FEATURE_quick_sprite AND (QT_FEATURE_opengl OR QT_FEATURE_opengles2 OR QT_FEATURE_opengles3)
+ SOURCES
+ scenegraph/qsgdefaultspritenode.cpp scenegraph/qsgdefaultspritenode_p.h
+)
+
+qt_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
+)
+
+qt_extend_target(Quick CONDITION QT_FEATURE_thread
+ SOURCES
+ scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop_p.h
+)
+
+qt_extend_target(Quick CONDITION QT_FEATURE_quick_draganddrop
+ SOURCES
+ items/qquickdrag.cpp items/qquickdrag_p.h
+ items/qquickdroparea.cpp items/qquickdroparea_p.h
+)
+
+qt_extend_target(Quick CONDITION QT_FEATURE_quick_animatedimage
+ SOURCES
+ items/qquickanimatedimage.cpp items/qquickanimatedimage_p.h
+ items/qquickanimatedimage_p_p.h
+)
+
+qt_extend_target(Quick CONDITION QT_FEATURE_quick_gridview
+ SOURCES
+ items/qquickgridview.cpp items/qquickgridview_p.h
+)
+
+qt_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_extend_target(Quick CONDITION QT_FEATURE_quick_viewtransitions
+ SOURCES
+ items/qquickitemviewtransition.cpp items/qquickitemviewtransition_p.h
+)
+
+qt_extend_target(Quick CONDITION QT_FEATURE_quick_listview
+ SOURCES
+ items/qquicklistview.cpp items/qquicklistview_p.h
+)
+
+qt_extend_target(Quick CONDITION QT_FEATURE_quick_tableview
+ SOURCES
+ items/qquicktableview.cpp items/qquicktableview_p.h
+ items/qquicktableview_p_p.h
+)
+
+qt_extend_target(Quick CONDITION QT_FEATURE_quick_pathview
+ SOURCES
+ items/qquickpathview.cpp items/qquickpathview_p.h
+ items/qquickpathview_p_p.h
+)
+
+qt_extend_target(Quick CONDITION QT_FEATURE_quick_positioners
+ SOURCES
+ items/qquickpositioners.cpp items/qquickpositioners_p.h
+ items/qquickpositioners_p_p.h
+)
+
+qt_extend_target(Quick CONDITION QT_FEATURE_quick_flipable
+ SOURCES
+ items/qquickflipable.cpp items/qquickflipable_p.h
+)
+
+qt_extend_target(Quick CONDITION QT_FEATURE_quick_repeater
+ SOURCES
+ items/qquickrepeater.cpp items/qquickrepeater_p.h
+ items/qquickrepeater_p_p.h
+)
+
+qt_extend_target(Quick CONDITION QT_FEATURE_quick_shadereffect
+ SOURCES
+ items/qquickgenericshadereffect.cpp items/qquickgenericshadereffect_p.h
+ items/qquickshadereffect.cpp items/qquickshadereffect_p.h
+ items/qquickshadereffectmesh.cpp items/qquickshadereffectmesh_p.h
+ items/qquickshadereffectsource.cpp items/qquickshadereffectsource_p.h
+)
+
+qt_extend_target(Quick CONDITION QT_FEATURE_opengl AND QT_FEATURE_quick_shadereffect
+ SOURCES
+ items/qquickopenglshadereffect.cpp items/qquickopenglshadereffect_p.h
+ items/qquickopenglshadereffectnode.cpp items/qquickopenglshadereffectnode_p.h
+)
+
+#### Keys ignored in scope 41:.:items:items/items.pri:QT_FEATURE_opengl:
+# OTHER_FILES = "$$PWD/shaders/shadereffect.vert" "$$PWD/shaders/shadereffect.frag" "$$PWD/shaders/shadereffectfallback.vert" "$$PWD/shaders/shadereffectfallback.frag" "$$PWD/shaders/shadereffect_core.vert" "$$PWD/shaders/shadereffect_core.frag" "$$PWD/shaders/shadereffectfallback_core.vert" "$$PWD/shaders/shadereffectfallback_core.frag"
+
+qt_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_extend_target(Quick CONDITION QT_FEATURE_wheelevent
+ SOURCES
+ handlers/qquickwheelhandler.cpp handlers/qquickwheelhandler_p.h
+ handlers/qquickwheelhandler_p_p.h
+)
+
+
+qt_create_tracepoints(Quick qtquick.tracepoints)
+qt_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_QML_MODULE_INSTALL_DIR "${INSTALL_QMLDIR}/QtQuick"
+)
+
+qt6_qml_type_registration(Quick)
diff --git a/src/quick/configure.cmake b/src/quick/configure.cmake
new file mode 100644
index 0000000000..1685ca63ef
--- /dev/null
+++ b/src/quick/configure.cmake
@@ -0,0 +1,109 @@
+
+
+#### Inputs
+
+
+
+#### Libraries
+
+
+
+#### Tests
+
+
+
+#### Features
+
+qt_feature("quick-animatedimage" PRIVATE
+ SECTION "Qt Quick"
+ LABEL "AnimatedImage item"
+ PURPOSE "Provides the AnimatedImage item."
+ CONDITION TARGET Qt::Gui AND QT_FEATURE_movie
+)
+qt_feature("quick-canvas" PRIVATE
+ SECTION "Qt Quick"
+ LABEL "Canvas item"
+ PURPOSE "Provides the Canvas item."
+ CONDITION QT_FEATURE_quick_path
+)
+qt_feature("quick-designer" PRIVATE
+ SECTION "Qt Quick"
+ LABEL "Support for Qt Quick Designer"
+ PURPOSE "Provides support for the Qt Quick Designer in Qt Creator."
+)
+qt_feature("quick-flipable" PRIVATE
+ SECTION "Qt Quick"
+ LABEL "Flipable item"
+ PURPOSE "Provides the Flipable item."
+)
+qt_feature("quick-gridview" PRIVATE
+ SECTION "Qt Quick"
+ LABEL "GridView item"
+ PURPOSE "Provides the GridView item."
+ CONDITION QT_FEATURE_qml_delegate_model
+)
+qt_feature("quick-itemview" PRIVATE
+ LABEL "ItemView item"
+ CONDITION QT_FEATURE_quick_gridview OR QT_FEATURE_quick_listview OR QT_FEATURE_quick_tableview
+)
+qt_feature("quick-viewtransitions" PRIVATE
+ LABEL "Transitions required for ItemViews and Positioners"
+ CONDITION QT_FEATURE_quick_itemview OR QT_FEATURE_quick_positioners
+)
+qt_feature("quick-listview" PRIVATE
+ SECTION "Qt Quick"
+ LABEL "ListView item"
+ PURPOSE "Provides the ListView item."
+ CONDITION QT_FEATURE_qml_delegate_model
+)
+qt_feature("quick-tableview" PRIVATE
+ SECTION "Qt Quick"
+ LABEL "TableView item"
+ PURPOSE "Provides the TableView item."
+ CONDITION QT_FEATURE_qml_table_model
+)
+qt_feature("quick-particles" PRIVATE
+ SECTION "Qt Quick"
+ LABEL "Particle support"
+ PURPOSE "Provides a particle system."
+ CONDITION TARGET Qt::Gui AND QT_FEATURE_quick_shadereffect AND QT_FEATURE_quick_sprite AND QT_FEATURE_opengl
+)
+qt_feature("quick-path" PRIVATE
+ SECTION "Qt Quick"
+ LABEL "Path support"
+ PURPOSE "Provides Path elements."
+ CONDITION QT_FEATURE_quick_shadereffect
+)
+qt_feature("quick-pathview" PRIVATE
+ SECTION "Qt Quick"
+ LABEL "PathView item"
+ PURPOSE "Provides the PathView item."
+ CONDITION ( QT_FEATURE_qml_delegate_model ) AND ( QT_FEATURE_quick_path )
+)
+qt_feature("quick-positioners" PRIVATE
+ SECTION "Qt Quick"
+ LABEL "Positioner items"
+ PURPOSE "Provides Positioner items."
+)
+qt_feature("quick-repeater" PRIVATE
+ SECTION "Qt Quick"
+ LABEL "Repeater item"
+ PURPOSE "Provides the Repeater item."
+ CONDITION QT_FEATURE_qml_delegate_model
+)
+qt_feature("quick-shadereffect" PRIVATE
+ SECTION "Qt Quick"
+ LABEL "ShaderEffect item"
+ PURPOSE "Provides Shader effects."
+)
+qt_feature("quick-sprite" PRIVATE
+ SECTION "Qt Quick"
+ LABEL "Sprite item"
+ PURPOSE "Provides the Sprite item."
+)
+qt_feature("quick-draganddrop" PUBLIC
+ SECTION "Qt Quick"
+ LABEL "Drag & Drop"
+ PURPOSE "Drag and drop support for Qt Quick"
+ CONDITION ( QT_FEATURE_draganddrop ) AND ( QT_FEATURE_regularexpression )
+)
diff --git a/src/quickshapes/CMakeLists.txt b/src/quickshapes/CMakeLists.txt
new file mode 100644
index 0000000000..3287fb1dd5
--- /dev/null
+++ b/src/quickshapes/CMakeLists.txt
@@ -0,0 +1,80 @@
+# Generated from quickshapes.pro.
+
+#####################################################################
+## QuickShapes Module:
+#####################################################################
+
+qt_add_module(QuickShapes
+ INTERNAL_MODULE
+ GENERATE_METATYPES
+ SOURCES
+ qquickshape.cpp qquickshape_p.h
+ qquickshape_p_p.h
+ qquickshapegenericrenderer.cpp qquickshapegenericrenderer_p.h
+ qquickshapesglobal.h qquickshapesglobal_p.h
+ qquickshapesoftwarerenderer.cpp qquickshapesoftwarerenderer_p.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QuickPrivate
+)
+
+# Resources:
+set(qtquickshapes_resource_files
+ "shaders/blit.frag"
+ "shaders/blit.vert"
+ "shaders/blit_core.frag"
+ "shaders/blit_core.vert"
+ "shaders/conicalgradient.frag"
+ "shaders/conicalgradient.vert"
+ "shaders/conicalgradient_core.frag"
+ "shaders/conicalgradient_core.vert"
+ "shaders/lineargradient.frag"
+ "shaders/lineargradient.vert"
+ "shaders/lineargradient_core.frag"
+ "shaders/lineargradient_core.vert"
+ "shaders/radialgradient.frag"
+ "shaders/radialgradient.vert"
+ "shaders/radialgradient_core.frag"
+ "shaders/radialgradient_core.vert"
+ "shaders_ng/conicalgradient.frag.qsb"
+ "shaders_ng/conicalgradient.vert.qsb"
+ "shaders_ng/lineargradient.frag.qsb"
+ "shaders_ng/lineargradient.vert.qsb"
+ "shaders_ng/radialgradient.frag.qsb"
+ "shaders_ng/radialgradient.vert.qsb"
+)
+
+qt_add_resource(QuickShapes "qtquickshapes"
+ PREFIX
+ "/qt-project.org/shapes"
+ FILES
+ ${qtquickshapes_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:quickshapes.pro:<TRUE>:
+# QMLTYPES_FILENAME = "plugins.qmltypes"
+# QMLTYPES_INSTALL_DIR = "$$[QT_INSTALL_QML]/QtQuick/Shapes"
+# QML_IMPORT_NAME = "QtQuick.Shapes"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(QuickShapes CONDITION QT_FEATURE_opengl
+ SOURCES
+ qquicknvprfunctions.cpp qquicknvprfunctions_p.h
+ qquicknvprfunctions_p_p.h
+ qquickshapenvprrenderer.cpp qquickshapenvprrenderer_p.h
+)
+
+set_target_properties(QuickShapes PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION ${CMAKE_PROJECT_VERSION}
+ QT_QML_MODULE_URI QtQuick.Shapes
+ QT_QML_MODULE_INSTALL_DIR "${INSTALL_QMLDIR}/QtQuick/Shapes"
+)
+
+qt6_qml_type_registration(QuickShapes)
diff --git a/src/quickwidgets/CMakeLists.txt b/src/quickwidgets/CMakeLists.txt
new file mode 100644
index 0000000000..53a233e341
--- /dev/null
+++ b/src/quickwidgets/CMakeLists.txt
@@ -0,0 +1,33 @@
+# Generated from quickwidgets.pro.
+
+#####################################################################
+## QuickWidgets Module:
+#####################################################################
+
+qt_add_module(QuickWidgets
+ SOURCES
+ qquickwidget.cpp qquickwidget.h qquickwidget_p.h
+ qtquickwidgetsglobal.h
+ DEFINES
+ QT_NO_FOREACH
+ QT_NO_INTEGER_EVENT_COORDINATES
+ QT_NO_URL_CAST_FROM_STRING
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::WidgetsPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::Widgets
+ PRIVATE_MODULE_INTERFACE
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::WidgetsPrivate
+)
diff --git a/tests/.prev_CMakeLists.txt b/tests/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..221413713e
--- /dev/null
+++ b/tests/.prev_CMakeLists.txt
@@ -0,0 +1,7 @@
+# Generated from tests.pro.
+
+if(QT_BUILD_STANDALONE_TESTS)
+ # Add qt_find_package calls for extra dependencies that need to be found when building
+ # the standalone tests here.
+endif()
+qt_build_tests()
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
new file mode 100644
index 0000000000..221413713e
--- /dev/null
+++ b/tests/CMakeLists.txt
@@ -0,0 +1,7 @@
+# Generated from tests.pro.
+
+if(QT_BUILD_STANDALONE_TESTS)
+ # Add qt_find_package calls for extra dependencies that need to be found when building
+ # the standalone tests here.
+endif()
+qt_build_tests()
diff --git a/tests/auto/.prev_CMakeLists.txt b/tests/auto/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..956a863283
--- /dev/null
+++ b/tests/auto/.prev_CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from auto.pro.
+
+add_subdirectory(qml)
+add_subdirectory(quick)
+add_subdirectory(quicktest)
+add_subdirectory(qmldevtools)
+add_subdirectory(cmake)
+add_subdirectory(installed_cmake)
+add_subdirectory(toolsupport)
+if(NOT APPLE_UIKIT)
+ add_subdirectory(qmltest)
+endif()
+if(TARGET Qt::Gui AND (QT_FEATURE_opengl OR QT_FEATURE_opengles2 OR QT_FEATURE_opengles3))
+ add_subdirectory(particles)
+endif()
+if(TARGET Qt::Gui AND TARGET Qt::Widgets AND (QT_FEATURE_opengl OR QT_FEATURE_opengles2 OR QT_FEATURE_opengles3))
+ add_subdirectory(quickwidgets)
+endif()
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
new file mode 100644
index 0000000000..702f646bd4
--- /dev/null
+++ b/tests/auto/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from auto.pro.
+
+add_subdirectory(qml)
+add_subdirectory(quick)
+add_subdirectory(quicktest)
+add_subdirectory(qmldevtools)
+# special case begin
+# add_subdirectory(cmake)
+# add_subdirectory(installed_cmake)
+# special case end
+add_subdirectory(toolsupport)
+if(NOT APPLE_UIKIT)
+ add_subdirectory(qmltest)
+endif()
+if(TARGET Qt::Gui AND (QT_FEATURE_opengl OR QT_FEATURE_opengles2 OR QT_FEATURE_opengles3))
+ add_subdirectory(particles)
+endif()
+if(TARGET Qt::Gui AND TARGET Qt::Widgets AND (QT_FEATURE_opengl OR QT_FEATURE_opengles2 OR QT_FEATURE_opengles3))
+ add_subdirectory(quickwidgets)
+endif()
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt
index bda5d626a9..de776e9dd1 100644
--- a/tests/auto/cmake/CMakeLists.txt
+++ b/tests/auto/cmake/CMakeLists.txt
@@ -1,4 +1,3 @@
-
cmake_minimum_required(VERSION 2.8)
project(qmake_cmake_files)
@@ -26,6 +25,7 @@ add_test(qtquickcompiler ${CMAKE_CTEST_COMMAND}
--build-project qqc_test
--build-options "-DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}" ${BUILD_OPTIONS_LIST}
--test-command qqc_test
+
)
add_test(qmlimportscanner ${CMAKE_CTEST_COMMAND}
diff --git a/tests/auto/particles/CMakeLists.txt b/tests/auto/particles/CMakeLists.txt
new file mode 100644
index 0000000000..b712210c0a
--- /dev/null
+++ b/tests/auto/particles/CMakeLists.txt
@@ -0,0 +1,27 @@
+# Generated from particles.pro.
+
+if(QT_FEATURE_private_tests)
+ add_subdirectory(qquickage)
+ add_subdirectory(qquickangleddirection)
+ add_subdirectory(qquickcumulativedirection)
+ add_subdirectory(qquickcustomaffector)
+ add_subdirectory(qquickcustomparticle)
+ add_subdirectory(qquickellipseextruder)
+ add_subdirectory(qquickgroupgoal)
+ add_subdirectory(qquickfriction)
+ add_subdirectory(qquickgravity)
+ add_subdirectory(qquickimageparticle)
+ add_subdirectory(qquickitemparticle)
+ add_subdirectory(qquicklineextruder)
+ add_subdirectory(qquickmaskextruder)
+ add_subdirectory(qquickparticlegroup)
+ add_subdirectory(qquickparticlesystem)
+ add_subdirectory(qquickpointattractor)
+ add_subdirectory(qquickpointdirection)
+ add_subdirectory(qquickrectangleextruder)
+ add_subdirectory(qquickspritegoal)
+ add_subdirectory(qquicktargetdirection)
+ add_subdirectory(qquicktrailemitter)
+ add_subdirectory(qquickturbulence)
+ add_subdirectory(qquickwander)
+endif()
diff --git a/tests/auto/particles/qquickage/CMakeLists.txt b/tests/auto/particles/qquickage/CMakeLists.txt
new file mode 100644
index 0000000000..e50a9a78e1
--- /dev/null
+++ b/tests/auto/particles/qquickage/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickage.pro.
+
+#####################################################################
+## tst_qquickage Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickage
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickage.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickage CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickage CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickangleddirection/CMakeLists.txt b/tests/auto/particles/qquickangleddirection/CMakeLists.txt
new file mode 100644
index 0000000000..48aeb9e1ab
--- /dev/null
+++ b/tests/auto/particles/qquickangleddirection/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickangleddirection.pro.
+
+#####################################################################
+## tst_qquickangleddirection Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickangleddirection
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickangleddirection.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickangleddirection CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickangleddirection CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickcumulativedirection/CMakeLists.txt b/tests/auto/particles/qquickcumulativedirection/CMakeLists.txt
new file mode 100644
index 0000000000..cce3fd96f4
--- /dev/null
+++ b/tests/auto/particles/qquickcumulativedirection/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickcumulativedirection.pro.
+
+#####################################################################
+## tst_qquickcumulativedirection Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickcumulativedirection
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickcumulativedirection.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickcumulativedirection CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickcumulativedirection CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickcustomaffector/CMakeLists.txt b/tests/auto/particles/qquickcustomaffector/CMakeLists.txt
new file mode 100644
index 0000000000..cebe7f8664
--- /dev/null
+++ b/tests/auto/particles/qquickcustomaffector/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickcustomaffector.pro.
+
+#####################################################################
+## tst_qquickcustomaffector Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickcustomaffector
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickcustomaffector.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickcustomaffector CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickcustomaffector CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickcustomparticle/CMakeLists.txt b/tests/auto/particles/qquickcustomparticle/CMakeLists.txt
new file mode 100644
index 0000000000..5dd5b4b7cb
--- /dev/null
+++ b/tests/auto/particles/qquickcustomparticle/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickcustomparticle.pro.
+
+#####################################################################
+## tst_qquickcustomparticle Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickcustomparticle
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickcustomparticle.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickcustomparticle CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickcustomparticle CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickellipseextruder/CMakeLists.txt b/tests/auto/particles/qquickellipseextruder/CMakeLists.txt
new file mode 100644
index 0000000000..396ca53047
--- /dev/null
+++ b/tests/auto/particles/qquickellipseextruder/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickellipseextruder.pro.
+
+#####################################################################
+## tst_qquickellipseextruder Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickellipseextruder
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickellipseextruder.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickellipseextruder CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickellipseextruder CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickfriction/CMakeLists.txt b/tests/auto/particles/qquickfriction/CMakeLists.txt
new file mode 100644
index 0000000000..5b2a46cc0d
--- /dev/null
+++ b/tests/auto/particles/qquickfriction/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickfriction.pro.
+
+#####################################################################
+## tst_qquickfriction Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickfriction
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickfriction.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickfriction CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickfriction CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickgravity/CMakeLists.txt b/tests/auto/particles/qquickgravity/CMakeLists.txt
new file mode 100644
index 0000000000..82fb41fc44
--- /dev/null
+++ b/tests/auto/particles/qquickgravity/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickgravity.pro.
+
+#####################################################################
+## tst_qquickgravity Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickgravity
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickgravity.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickgravity CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickgravity CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickgroupgoal/CMakeLists.txt b/tests/auto/particles/qquickgroupgoal/CMakeLists.txt
new file mode 100644
index 0000000000..b72b7e617b
--- /dev/null
+++ b/tests/auto/particles/qquickgroupgoal/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickgroupgoal.pro.
+
+#####################################################################
+## tst_qquickgroupgoal Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickgroupgoal
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickgroupgoal.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickgroupgoal CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickgroupgoal CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickimageparticle/CMakeLists.txt b/tests/auto/particles/qquickimageparticle/CMakeLists.txt
new file mode 100644
index 0000000000..5f7864cd04
--- /dev/null
+++ b/tests/auto/particles/qquickimageparticle/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickimageparticle.pro.
+
+#####################################################################
+## tst_qquickimageparticle Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickimageparticle
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickimageparticle.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickimageparticle CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickimageparticle CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickitemparticle/CMakeLists.txt b/tests/auto/particles/qquickitemparticle/CMakeLists.txt
new file mode 100644
index 0000000000..a896c13702
--- /dev/null
+++ b/tests/auto/particles/qquickitemparticle/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickitemparticle.pro.
+
+#####################################################################
+## tst_qquickitemparticle Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickitemparticle
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickitemparticle.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickitemparticle CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickitemparticle CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquicklineextruder/CMakeLists.txt b/tests/auto/particles/qquicklineextruder/CMakeLists.txt
new file mode 100644
index 0000000000..a845075438
--- /dev/null
+++ b/tests/auto/particles/qquicklineextruder/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquicklineextruder.pro.
+
+#####################################################################
+## tst_qquicklineextruder Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquicklineextruder
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquicklineextruder.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquicklineextruder CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquicklineextruder CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickmaskextruder/CMakeLists.txt b/tests/auto/particles/qquickmaskextruder/CMakeLists.txt
new file mode 100644
index 0000000000..1102f3a03f
--- /dev/null
+++ b/tests/auto/particles/qquickmaskextruder/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickmaskextruder.pro.
+
+#####################################################################
+## tst_qquickmaskextruder Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickmaskextruder
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickmaskextruder.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickmaskextruder CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickmaskextruder CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickparticlegroup/CMakeLists.txt b/tests/auto/particles/qquickparticlegroup/CMakeLists.txt
new file mode 100644
index 0000000000..0e02d90d79
--- /dev/null
+++ b/tests/auto/particles/qquickparticlegroup/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickparticlegroup.pro.
+
+#####################################################################
+## tst_qquickparticlegroup Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickparticlegroup
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickparticlegroup.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickparticlegroup CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickparticlegroup CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickparticlesystem/CMakeLists.txt b/tests/auto/particles/qquickparticlesystem/CMakeLists.txt
new file mode 100644
index 0000000000..2a6c50f08d
--- /dev/null
+++ b/tests/auto/particles/qquickparticlesystem/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickparticlesystem.pro.
+
+#####################################################################
+## tst_qquickparticlesystem Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickparticlesystem
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickparticlesystem.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickparticlesystem CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickparticlesystem CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickpointattractor/CMakeLists.txt b/tests/auto/particles/qquickpointattractor/CMakeLists.txt
new file mode 100644
index 0000000000..2fe3a17596
--- /dev/null
+++ b/tests/auto/particles/qquickpointattractor/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickpointattractor.pro.
+
+#####################################################################
+## tst_qquickpointattractor Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickpointattractor
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickpointattractor.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickpointattractor CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickpointattractor CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickpointdirection/CMakeLists.txt b/tests/auto/particles/qquickpointdirection/CMakeLists.txt
new file mode 100644
index 0000000000..bda38034e0
--- /dev/null
+++ b/tests/auto/particles/qquickpointdirection/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickpointdirection.pro.
+
+#####################################################################
+## tst_qquickpointdirection Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickpointdirection
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickpointdirection.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickpointdirection CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickpointdirection CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickrectangleextruder/CMakeLists.txt b/tests/auto/particles/qquickrectangleextruder/CMakeLists.txt
new file mode 100644
index 0000000000..a285540410
--- /dev/null
+++ b/tests/auto/particles/qquickrectangleextruder/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickrectangleextruder.pro.
+
+#####################################################################
+## tst_qquickrectangleextruder Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickrectangleextruder
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickrectangleextruder.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickrectangleextruder CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickrectangleextruder CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickspritegoal/CMakeLists.txt b/tests/auto/particles/qquickspritegoal/CMakeLists.txt
new file mode 100644
index 0000000000..95be9dad08
--- /dev/null
+++ b/tests/auto/particles/qquickspritegoal/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickspritegoal.pro.
+
+#####################################################################
+## tst_qquickspritegoal Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickspritegoal
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickspritegoal.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickspritegoal CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickspritegoal CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquicktargetdirection/CMakeLists.txt b/tests/auto/particles/qquicktargetdirection/CMakeLists.txt
new file mode 100644
index 0000000000..0b95e975d2
--- /dev/null
+++ b/tests/auto/particles/qquicktargetdirection/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquicktargetdirection.pro.
+
+#####################################################################
+## tst_qquicktargetdirection Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquicktargetdirection
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquicktargetdirection.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquicktargetdirection CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquicktargetdirection CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquicktrailemitter/CMakeLists.txt b/tests/auto/particles/qquicktrailemitter/CMakeLists.txt
new file mode 100644
index 0000000000..ac9f4c8423
--- /dev/null
+++ b/tests/auto/particles/qquicktrailemitter/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquicktrailemitter.pro.
+
+#####################################################################
+## tst_qquicktrailemitter Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquicktrailemitter
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquicktrailemitter.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquicktrailemitter CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquicktrailemitter CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickturbulence/CMakeLists.txt b/tests/auto/particles/qquickturbulence/CMakeLists.txt
new file mode 100644
index 0000000000..c98be1e304
--- /dev/null
+++ b/tests/auto/particles/qquickturbulence/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickturbulence.pro.
+
+#####################################################################
+## tst_qquickturbulence Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickturbulence
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickturbulence.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickturbulence CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickturbulence CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/particles/qquickwander/CMakeLists.txt b/tests/auto/particles/qquickwander/CMakeLists.txt
new file mode 100644
index 0000000000..c4e44cb7f1
--- /dev/null
+++ b/tests/auto/particles/qquickwander/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickwander.pro.
+
+#####################################################################
+## tst_qquickwander Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickwander
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickwander.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickParticlesPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickwander CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickwander CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/.prev_CMakeLists.txt b/tests/auto/qml/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..3f453e4ded
--- /dev/null
+++ b/tests/auto/qml/.prev_CMakeLists.txt
@@ -0,0 +1,82 @@
+# Generated from qml.pro.
+
+add_subdirectory(parserstress)
+add_subdirectory(qjsvalueiterator)
+add_subdirectory(qjsonbinding)
+add_subdirectory(qqmlfile)
+add_subdirectory(qqmlfileselector)
+add_subdirectory(qqmlcomponent)
+add_subdirectory(qqmlconsole)
+add_subdirectory(qqmlengine)
+add_subdirectory(qqmlerror)
+add_subdirectory(qqmlincubator)
+add_subdirectory(qqmlinfo)
+add_subdirectory(qqmllistreference)
+add_subdirectory(qqmllocale)
+add_subdirectory(qqmlmetaobject)
+add_subdirectory(qqmlmoduleplugin)
+add_subdirectory(qqmlnotifier)
+add_subdirectory(qqmlqt)
+add_subdirectory(qqmlxmlhttprequest)
+add_subdirectory(qqmlpromise)
+add_subdirectory(qtqmlmodules)
+add_subdirectory(qquickfolderlistmodel)
+add_subdirectory(qqmlapplicationengine)
+add_subdirectory(qqmlsettings)
+add_subdirectory(qqmlstatemachine)
+add_subdirectory(qmldiskcache)
+add_subdirectory(qqmlmetatype)
+if(QT_FEATURE_process AND QT_FEATURE_qml_debug)
+ add_subdirectory(debugger)
+endif()
+if(QT_FEATURE_process AND NOT boot2qt)
+ add_subdirectory(qmlformat)
+ add_subdirectory(qmllint)
+ add_subdirectory(qmlplugindump)
+endif()
+if(QT_FEATURE_library)
+ add_subdirectory(qqmlextensionplugin)
+endif()
+if(QT_FEATURE_private_tests)
+ add_subdirectory(qqmlcpputils)
+ add_subdirectory(qqmldirparser)
+ add_subdirectory(qmlcachegen)
+ add_subdirectory(animation)
+ add_subdirectory(qqmlecmascript)
+ add_subdirectory(qqmlcontext)
+ add_subdirectory(qqmlexpression)
+ add_subdirectory(qqmlglobal)
+ add_subdirectory(qqmllanguage)
+ add_subdirectory(qqmlopenmetaobject)
+ add_subdirectory(qqmlproperty)
+ add_subdirectory(qqmlpropertycache)
+ add_subdirectory(qqmlpropertymap)
+ add_subdirectory(qqmlsqldatabase)
+ add_subdirectory(qqmlvaluetypes)
+ add_subdirectory(qqmlvaluetypeproviders)
+ add_subdirectory(qqmlbinding)
+ add_subdirectory(qqmlchangeset)
+ add_subdirectory(qqmlconnections)
+ add_subdirectory(qqmllistcompositor)
+ add_subdirectory(qqmllistmodel)
+ add_subdirectory(qqmllistmodelworkerscript)
+ add_subdirectory(qqmlitemmodels)
+ add_subdirectory(qqmltypeloader)
+ add_subdirectory(qqmlparser)
+ add_subdirectory(qquickworkerscript)
+ add_subdirectory(qrcqml)
+ add_subdirectory(qqmltimer)
+ add_subdirectory(qqmlinstantiator)
+ add_subdirectory(qqmlenginecleanup)
+ add_subdirectory(qqmltranslation)
+ add_subdirectory(qqmlimport)
+ add_subdirectory(qqmlobjectmodel)
+ add_subdirectory(qqmltablemodel)
+ add_subdirectory(qv4assembler)
+ add_subdirectory(qv4mm)
+ add_subdirectory(qv4identifiertable)
+ add_subdirectory(qv4regexp)
+ add_subdirectory(ecmascripttests)
+ add_subdirectory(bindingdependencyapi)
+ add_subdirectory(v4misc)
+endif()
diff --git a/tests/auto/qml/CMakeLists.txt b/tests/auto/qml/CMakeLists.txt
new file mode 100644
index 0000000000..7592f09eba
--- /dev/null
+++ b/tests/auto/qml/CMakeLists.txt
@@ -0,0 +1,88 @@
+# Generated from qml.pro.
+
+add_subdirectory(parserstress)
+add_subdirectory(qjsvalueiterator)
+add_subdirectory(qjsonbinding)
+add_subdirectory(qqmlfile)
+add_subdirectory(qqmlfileselector)
+add_subdirectory(qqmlcomponent)
+add_subdirectory(qqmlconsole)
+add_subdirectory(qqmlengine)
+add_subdirectory(qqmlerror)
+add_subdirectory(qqmlincubator)
+add_subdirectory(qqmlinfo)
+add_subdirectory(qqmllistreference)
+add_subdirectory(qqmllocale)
+add_subdirectory(qqmlmetaobject)
+add_subdirectory(qqmlmoduleplugin)
+add_subdirectory(qqmlnotifier)
+add_subdirectory(qqmlqt)
+add_subdirectory(qqmlxmlhttprequest)
+add_subdirectory(qqmlpromise)
+add_subdirectory(qtqmlmodules)
+add_subdirectory(qquickfolderlistmodel)
+add_subdirectory(qqmlapplicationengine)
+add_subdirectory(qqmlsettings)
+add_subdirectory(qqmlstatemachine)
+add_subdirectory(qmldiskcache)
+add_subdirectory(qqmlmetatype)
+if(QT_FEATURE_process AND QT_FEATURE_qml_debug)
+ add_subdirectory(debugger)
+endif()
+if(QT_FEATURE_process AND NOT boot2qt)
+ add_subdirectory(qmlformat)
+ add_subdirectory(qmllint)
+ add_subdirectory(qmlplugindump)
+endif()
+if(QT_FEATURE_library)
+ add_subdirectory(qqmlextensionplugin)
+endif()
+if(QT_FEATURE_private_tests)
+ add_subdirectory(qqmlcpputils)
+ add_subdirectory(qqmldirparser)
+ add_subdirectory(qmlcachegen)
+ add_subdirectory(animation)
+ add_subdirectory(qqmlecmascript)
+ add_subdirectory(qqmlcontext)
+ add_subdirectory(qqmlexpression)
+ add_subdirectory(qqmlglobal)
+ add_subdirectory(qqmllanguage)
+ add_subdirectory(qqmlopenmetaobject)
+ add_subdirectory(qqmlproperty)
+ add_subdirectory(qqmlpropertycache)
+ add_subdirectory(qqmlpropertymap)
+# special case begin
+ if (TARGET Qt::Sql)
+# special case end
+ add_subdirectory(qqmlsqldatabase)
+# special case begin
+ endif()
+# special case end
+ add_subdirectory(qqmlvaluetypes)
+ add_subdirectory(qqmlvaluetypeproviders)
+ add_subdirectory(qqmlbinding)
+ add_subdirectory(qqmlchangeset)
+ add_subdirectory(qqmlconnections)
+ add_subdirectory(qqmllistcompositor)
+ add_subdirectory(qqmllistmodel)
+ add_subdirectory(qqmllistmodelworkerscript)
+ add_subdirectory(qqmlitemmodels)
+ add_subdirectory(qqmltypeloader)
+ add_subdirectory(qqmlparser)
+ add_subdirectory(qquickworkerscript)
+ add_subdirectory(qrcqml)
+ add_subdirectory(qqmltimer)
+ add_subdirectory(qqmlinstantiator)
+ add_subdirectory(qqmlenginecleanup)
+ add_subdirectory(qqmltranslation)
+ add_subdirectory(qqmlimport)
+ add_subdirectory(qqmlobjectmodel)
+ add_subdirectory(qqmltablemodel)
+ add_subdirectory(qv4assembler)
+ add_subdirectory(qv4mm)
+ add_subdirectory(qv4identifiertable)
+ add_subdirectory(qv4regexp)
+ add_subdirectory(ecmascripttests)
+ add_subdirectory(bindingdependencyapi)
+ add_subdirectory(v4misc)
+endif()
diff --git a/tests/auto/qml/animation/CMakeLists.txt b/tests/auto/qml/animation/CMakeLists.txt
new file mode 100644
index 0000000000..7337777b9c
--- /dev/null
+++ b/tests/auto/qml/animation/CMakeLists.txt
@@ -0,0 +1,7 @@
+# Generated from animation.pro.
+
+add_subdirectory(qabstractanimationjob)
+add_subdirectory(qanimationgroupjob)
+add_subdirectory(qparallelanimationgroupjob)
+add_subdirectory(qpauseanimationjob)
+add_subdirectory(qsequentialanimationgroupjob)
diff --git a/tests/auto/qml/animation/qabstractanimationjob/CMakeLists.txt b/tests/auto/qml/animation/qabstractanimationjob/CMakeLists.txt
new file mode 100644
index 0000000000..638540fab3
--- /dev/null
+++ b/tests/auto/qml/animation/qabstractanimationjob/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from qabstractanimationjob.pro.
+
+#####################################################################
+## tst_qabstractanimationjob Test:
+#####################################################################
+
+qt_add_test(tst_qabstractanimationjob
+ SOURCES
+ tst_qabstractanimationjob.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/animation/qanimationgroupjob/CMakeLists.txt b/tests/auto/qml/animation/qanimationgroupjob/CMakeLists.txt
new file mode 100644
index 0000000000..54c1abb691
--- /dev/null
+++ b/tests/auto/qml/animation/qanimationgroupjob/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from qanimationgroupjob.pro.
+
+#####################################################################
+## tst_qanimationgroupjob Test:
+#####################################################################
+
+qt_add_test(tst_qanimationgroupjob
+ SOURCES
+ tst_qanimationgroupjob.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/animation/qparallelanimationgroupjob/CMakeLists.txt b/tests/auto/qml/animation/qparallelanimationgroupjob/CMakeLists.txt
new file mode 100644
index 0000000000..ba64d8cf0e
--- /dev/null
+++ b/tests/auto/qml/animation/qparallelanimationgroupjob/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from qparallelanimationgroupjob.pro.
+
+#####################################################################
+## tst_qparallelanimationgroupjob Test:
+#####################################################################
+
+qt_add_test(tst_qparallelanimationgroupjob
+ SOURCES
+ tst_qparallelanimationgroupjob.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/animation/qpauseanimationjob/CMakeLists.txt b/tests/auto/qml/animation/qpauseanimationjob/CMakeLists.txt
new file mode 100644
index 0000000000..a1d07be77c
--- /dev/null
+++ b/tests/auto/qml/animation/qpauseanimationjob/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from qpauseanimationjob.pro.
+
+#####################################################################
+## tst_qpauseanimationjob Test:
+#####################################################################
+
+qt_add_test(tst_qpauseanimationjob
+ SOURCES
+ tst_qpauseanimationjob.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/animation/qsequentialanimationgroupjob/CMakeLists.txt b/tests/auto/qml/animation/qsequentialanimationgroupjob/CMakeLists.txt
new file mode 100644
index 0000000000..b675121510
--- /dev/null
+++ b/tests/auto/qml/animation/qsequentialanimationgroupjob/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from qsequentialanimationgroupjob.pro.
+
+#####################################################################
+## tst_qsequentialanimationgroupjob Test:
+#####################################################################
+
+qt_add_test(tst_qsequentialanimationgroupjob
+ SOURCES
+ tst_qsequentialanimationgroupjob.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/bindingdependencyapi/CMakeLists.txt b/tests/auto/qml/bindingdependencyapi/CMakeLists.txt
new file mode 100644
index 0000000000..1aa7378875
--- /dev/null
+++ b/tests/auto/qml/bindingdependencyapi/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from bindingdependencyapi.pro.
+
+#####################################################################
+## tst_bindingdependencyapi Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_bindingdependencyapi
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_bindingdependencyapi.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_bindingdependencyapi CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_bindingdependencyapi CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/debugger/CMakeLists.txt b/tests/auto/qml/debugger/CMakeLists.txt
new file mode 100644
index 0000000000..871f11820e
--- /dev/null
+++ b/tests/auto/qml/debugger/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from debugger.pro.
+
+add_subdirectory(qqmldebugjsserver)
+add_subdirectory(qdebugmessageservice)
+add_subdirectory(qqmldebugtranslationservice)
+add_subdirectory(qqmlenginedebugservice)
+add_subdirectory(qqmldebugjs)
+add_subdirectory(qqmlinspector)
+add_subdirectory(qqmlprofilerservice)
+add_subdirectory(qpacketprotocol)
+add_subdirectory(qqmlenginedebuginspectorintegrationtest)
+add_subdirectory(qqmlenginecontrol)
+add_subdirectory(qqmldebuggingenabler)
+add_subdirectory(qqmlnativeconnector)
+add_subdirectory(qqmldebugprocess)
+add_subdirectory(qqmlpreview)
+if(QT_FEATURE_private_tests)
+ add_subdirectory(qqmldebugclient)
+ add_subdirectory(qqmldebuglocal)
+ add_subdirectory(qqmldebugservice)
+ add_subdirectory(qv4debugger)
+endif()
diff --git a/tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt b/tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt
new file mode 100644
index 0000000000..b75f143faa
--- /dev/null
+++ b/tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt
@@ -0,0 +1,45 @@
+# Generated from qdebugmessageservice.pro.
+
+#####################################################################
+## tst_qdebugmessageservice Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qdebugmessageservice
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../shared/debugutil.cpp ../shared/debugutil_p.h
+ ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h
+ tst_qdebugmessageservice.cpp
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlDebugPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qdebugmessageservice.pro:<TRUE>:
+# OTHER_FILES = "data/test.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qdebugmessageservice CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qdebugmessageservice CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt b/tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt
new file mode 100644
index 0000000000..4650f9074d
--- /dev/null
+++ b/tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt
@@ -0,0 +1,35 @@
+# Generated from qpacketprotocol.pro.
+
+#####################################################################
+## tst_qpacketprotocol Test:
+#####################################################################
+
+qt_add_test(tst_qpacketprotocol
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../shared/debugutil.cpp ../shared/debugutil_p.h
+ ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h
+ tst_qpacketprotocol.cpp
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlDebugPrivate
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qpacketprotocol CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qpacketprotocol CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt
new file mode 100644
index 0000000000..e727640a9d
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qqmldebugclient.pro.
+
+#####################################################################
+## tst_qqmldebugclient Test:
+#####################################################################
+
+qt_add_test(tst_qqmldebugclient
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../shared/debugutil.cpp ../shared/debugutil_p.h
+ ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h
+ ../shared/qqmldebugtestservice.cpp ../shared/qqmldebugtestservice.h
+ tst_qqmldebugclient.cpp
+ DEFINES
+ QT_QML_DEBUG
+ QT_QML_DEBUG_NO_WARNING
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ Qt::QmlPrivate
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmldebugclient CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmldebugclient CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/debugger/qqmldebuggingenabler/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuggingenabler/CMakeLists.txt
new file mode 100644
index 0000000000..8ba39c1d93
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebuggingenabler/CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from qqmldebuggingenabler.pro.
+
+add_subdirectory(qqmldebuggingenabler)
+add_subdirectory(qqmldebuggingenablerserver)
diff --git a/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt
new file mode 100644
index 0000000000..fbbaa3a0f4
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from qqmldebuggingenabler.pro.
+
+#####################################################################
+## tst_qqmldebuggingenabler Test:
+#####################################################################
+
+qt_add_test(tst_qqmldebuggingenabler
+ SOURCES
+ ../../../../shared/util.cpp ../../../../shared/util.h
+ ../../shared/debugutil.cpp ../../shared/debugutil_p.h
+ ../../shared/qqmldebugprocess.cpp ../../shared/qqmldebugprocess_p.h
+ tst_qqmldebuggingenabler.cpp
+ INCLUDE_DIRECTORIES
+ ../../../../shared
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlDebugPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qqmldebuggingenabler.pro:<TRUE>:
+# OTHER_FILES = "data/test.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmldebuggingenabler CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmldebuggingenabler CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/.prev_CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..818e639fb5
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/.prev_CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from qqmldebuggingenablerserver.pro.
+
+#####################################################################
+## qqmldebuggingenablerserver Binary:
+#####################################################################
+
+qt_add_executable(qqmldebuggingenablerserver
+ INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qqmldebuggingenabler"
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qqmldebuggingenabler"
+ SOURCES
+ qqmldebuggingenablerserver.cpp
+ DEFINES
+ QT_QML_DEBUG_NO_WARNING
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Test
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt
new file mode 100644
index 0000000000..16dfb7b494
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt
@@ -0,0 +1,27 @@
+# Generated from qqmldebuggingenablerserver.pro.
+
+#####################################################################
+## qqmldebuggingenablerserver Binary:
+#####################################################################
+
+qt_add_executable(qqmldebuggingenablerserver
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qqmldebuggingenabler"
+ # special case begin
+ # Remove INSTALL_DIRECTORY with $$[QT_INSTALL_TESTS]
+ # as these are invalid
+ # INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qqmldebuggingenabler"
+ # special case end
+ SOURCES
+ qqmldebuggingenablerserver.cpp
+ DEFINES
+ QT_QML_DEBUG_NO_WARNING
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Test
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt
new file mode 100644
index 0000000000..ba2f013b05
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from qqmldebugjs.pro.
+
+#####################################################################
+## tst_qqmldebugjs Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmldebugjs
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../shared/debugutil.cpp ../shared/debugutil_p.h
+ ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h
+ tst_qqmldebugjs.cpp
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ ../shared ../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qqmldebugjs.pro:<TRUE>:
+# OTHER_FILES = "data/test.qml" "data/test.js" "data/timer.qml" "data/exception.qml" "data/oncompleted.qml" "data/loadjsfile.qml" "data/condition.qml" "data/changeBreakpoint.qml" "data/stepAction.qml" "data/breakpointRelocation.qml" "data/createComponent.qml" "data/encodeQmlScope.qml" "data/breakOnAnchor.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmldebugjs CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmldebugjs CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/debugger/qqmldebugjsserver/.prev_CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugjsserver/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..7d82431f5d
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebugjsserver/.prev_CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from qqmldebugjsserver.pro.
+
+#####################################################################
+## qqmldebugjsserver Binary:
+#####################################################################
+
+qt_add_executable(qqmldebugjsserver
+ OUTPUT_DIRECTORY "${INSTALL_TESTSDIR}/qqmldebugjsserver"
+ INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/qqmldebugjsserver"
+ SOURCES
+ qqmldebugjsserver.cpp
+ DEFINES
+ QT_QML_DEBUG_NO_WARNING
+ INCLUDE_DIRECTORIES
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Test
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt
new file mode 100644
index 0000000000..605ad3562e
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from qqmldebugjsserver.pro.
+
+#####################################################################
+## qqmldebugjsserver Binary:
+#####################################################################
+
+qt_add_executable(qqmldebugjsserver
+ # special case begin
+ OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ # INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/qqmldebugjsserver"
+ # special case end
+ SOURCES
+ qqmldebugjsserver.cpp
+ DEFINES
+ QT_QML_DEBUG_NO_WARNING
+ INCLUDE_DIRECTORIES
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Test
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt
new file mode 100644
index 0000000000..7712af32db
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from qqmldebuglocal.pro.
+
+#####################################################################
+## tst_qqmldebuglocal Test:
+#####################################################################
+
+qt_add_test(tst_qqmldebuglocal
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../shared/debugutil.cpp ../shared/debugutil_p.h
+ ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h
+ ../shared/qqmldebugtestservice.cpp ../shared/qqmldebugtestservice.h
+ tst_qqmldebuglocal.cpp
+ DEFINES
+ QT_QML_DEBUG_NO_WARNING
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ Qt::QmlPrivate
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmldebuglocal CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmldebuglocal CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/debugger/qqmldebugprocess/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugprocess/CMakeLists.txt
new file mode 100644
index 0000000000..41482ab37c
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebugprocess/CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from qqmldebugprocess.pro.
+
+add_subdirectory(qqmldebugprocess)
+add_subdirectory(qqmldebugprocessprocess)
diff --git a/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocess/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocess/CMakeLists.txt
new file mode 100644
index 0000000000..a98a809c7b
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocess/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from qqmldebugprocess.pro.
+
+#####################################################################
+## tst_qqmldebugprocess Test:
+#####################################################################
+
+qt_add_test(tst_qqmldebugprocess
+ SOURCES
+ ../../shared/qqmldebugprocess.cpp ../../shared/qqmldebugprocess_p.h
+ tst_qqmldebugprocess.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/.prev_CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..f5b04b18b5
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/.prev_CMakeLists.txt
@@ -0,0 +1,15 @@
+# Generated from qqmldebugprocessprocess.pro.
+
+#####################################################################
+## qqmldebugprocessprocess Binary:
+#####################################################################
+
+qt_add_executable(qqmldebugprocessprocess
+ INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qqmldebugprocess"
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qqmldebugprocess"
+ SOURCES
+ qqmldebugprocessprocess.cpp
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/CMakeLists.txt
new file mode 100644
index 0000000000..35e602d4f9
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from qqmldebugprocessprocess.pro.
+
+#####################################################################
+## qqmldebugprocessprocess Binary:
+#####################################################################
+
+qt_add_executable(qqmldebugprocessprocess
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qqmldebugprocess"
+# special case begin
+# Remove INSTALL_DIRECTORY which starts with
+# $$[QT_INSTALL_TESTS]
+# INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qqmldebugprocess"
+# special case end
+ SOURCES
+ qqmldebugprocessprocess.cpp
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt
new file mode 100644
index 0000000000..c4dcf92313
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt
@@ -0,0 +1,48 @@
+# Generated from qqmldebugservice.pro.
+
+#####################################################################
+## tst_qqmldebugservice Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmldebugservice
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../shared/debugutil.cpp ../shared/debugutil_p.h
+ ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h
+ ../shared/qqmldebugtestservice.cpp ../shared/qqmldebugtestservice.h
+ tst_qqmldebugservice.cpp
+ DEFINES
+ QT_QML_DEBUG_NO_WARNING
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qqmldebugservice.pro:<TRUE>:
+# OTHER_FILES = "data/test.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmldebugservice CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmldebugservice CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/debugger/qqmldebugtranslationservice/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugtranslationservice/CMakeLists.txt
new file mode 100644
index 0000000000..7290b1e417
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebugtranslationservice/CMakeLists.txt
@@ -0,0 +1,45 @@
+# Generated from qqmldebugtranslationservice.pro.
+
+#####################################################################
+## tst_qdebugtranslationservice Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qdebugtranslationservice
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../shared/debugutil.cpp ../shared/debugutil_p.h
+ ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h
+ tst_qqmldebugtranslationservice.cpp
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlDebugPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qqmldebugtranslationservice.pro:<TRUE>:
+# OTHER_FILES = "data/test.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qdebugtranslationservice CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qdebugtranslationservice CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt b/tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt
new file mode 100644
index 0000000000..177215080b
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from qqmlenginecontrol.pro.
+
+#####################################################################
+## tst_qqmlenginecontrol Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlenginecontrol
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../shared/debugutil.cpp ../shared/debugutil_p.h
+ ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h
+ tst_qqmlenginecontrol.cpp
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qqmlenginecontrol.pro:<TRUE>:
+# OTHER_FILES = "data/test.qml" "data/exit.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlenginecontrol CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlenginecontrol CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt b/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt
new file mode 100644
index 0000000000..9b81b04568
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt
@@ -0,0 +1,41 @@
+# Generated from qqmlenginedebuginspectorintegrationtest.pro.
+
+#####################################################################
+## tst_qqmlenginedebuginspectorintegration Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlenginedebuginspectorintegration
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../shared/debugutil.cpp ../shared/debugutil_p.h
+ ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h
+ tst_qqmlenginedebuginspectorintegration.cpp
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlenginedebuginspectorintegration CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlenginedebuginspectorintegration CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt b/tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt
new file mode 100644
index 0000000000..758d63c6e9
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt
@@ -0,0 +1,36 @@
+# Generated from qqmlenginedebugservice.pro.
+
+#####################################################################
+## tst_qqmlenginedebugservice Test:
+#####################################################################
+
+qt_add_test(tst_qqmlenginedebugservice
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../shared/debugutil.cpp ../shared/debugutil_p.h
+ ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h
+ tst_qqmlenginedebugservice.cpp
+ DEFINES
+ QT_QML_DEBUG_NO_WARNING
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QmlDebugPrivate
+ Qt::QmlPrivate
+ Qt::Quick
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlenginedebugservice CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlenginedebugservice CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt b/tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt
new file mode 100644
index 0000000000..5b5dc7cd52
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt
@@ -0,0 +1,41 @@
+# Generated from qqmlinspector.pro.
+
+#####################################################################
+## tst_qqmlinspector Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlinspector
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../shared/debugutil.cpp ../shared/debugutil_p.h
+ ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h
+ tst_qqmlinspector.cpp
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlinspector CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlinspector CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt b/tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt
new file mode 100644
index 0000000000..bbff6a73c5
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qqmlnativeconnector.pro.
+
+#####################################################################
+## tst_qqmlnativeconnector Test:
+#####################################################################
+
+qt_add_test(tst_qqmlnativeconnector
+ SOURCES
+ tst_qqmlnativeconnector.cpp
+ DEFINES
+ QT_QML_DEBUG
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Qml
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt b/tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt
new file mode 100644
index 0000000000..32013a9c32
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt
@@ -0,0 +1,45 @@
+# Generated from qqmlpreview.pro.
+
+#####################################################################
+## tst_qqmlpreview Test:
+#####################################################################
+
+# Collect test data
+list(APPEND test_data "data/window.qml")
+list(APPEND test_data "data/qtquick2.qml")
+list(APPEND test_data "data/window2.qml")
+list(APPEND test_data "data/window1.qml")
+list(APPEND test_data "data/broken.qml")
+list(APPEND test_data "data/zoom.qml")
+list(APPEND test_data "data/i18n/qml_fr_FR.qm")
+
+qt_add_test(tst_qqmlpreview
+ SOURCES
+ ../../../../../src/plugins/qmltooling/qmldbg_preview/qqmlpreviewblacklist.cpp ../../../../../src/plugins/qmltooling/qmldbg_preview/qqmlpreviewblacklist.h
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../shared/debugutil.cpp ../shared/debugutil_p.h
+ ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h
+ tst_qqmlpreview.cpp
+ INCLUDE_DIRECTORIES
+ ../../../../../src/plugins/qmltooling/qmldbg_preview
+ ../../../shared
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlDebugPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlpreview CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlpreview CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt b/tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt
new file mode 100644
index 0000000000..0972273b03
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt
@@ -0,0 +1,43 @@
+# Generated from qqmlprofilerservice.pro.
+
+#####################################################################
+## tst_qqmlprofilerservice Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlprofilerservice
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../shared/debugutil.cpp ../shared/debugutil_p.h
+ ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h
+ tst_qqmlprofilerservice.cpp
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qqmlprofilerservice.pro:<TRUE>:
+# OTHER_FILES = "data/pixmapCacheTest.qml" "data/controlFromJS.qml" "data/test.qml" "data/exit.qml" "data/scenegraphTest.qml" "data/TestImage_2x2.png" "data/signalSourceLocation.qml" "data/javascript.qml" "data/timer.qml" "data/qstr.qml" "data/memory.qml" "data/batchOverflow.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlprofilerservice CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlprofilerservice CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/debugger/qv4debugger/CMakeLists.txt b/tests/auto/qml/debugger/qv4debugger/CMakeLists.txt
new file mode 100644
index 0000000000..8d8aeb396b
--- /dev/null
+++ b/tests/auto/qml/debugger/qv4debugger/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from qv4debugger.pro.
+
+#####################################################################
+## tst_qv4debugger Test:
+#####################################################################
+
+qt_add_test(tst_qv4debugger
+ SOURCES
+ ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.cpp ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h
+ ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4debugger.cpp ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4debugger.h
+ ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4debugjob.cpp ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4debugjob.h
+ tst_qv4debugger.cpp
+ INCLUDE_DIRECTORIES
+ ../../../../../src/plugins/qmltooling/qmldbg_debugger
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/ecmascripttests/CMakeLists.txt b/tests/auto/qml/ecmascripttests/CMakeLists.txt
new file mode 100644
index 0000000000..06296fd91d
--- /dev/null
+++ b/tests/auto/qml/ecmascripttests/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from ecmascripttests.pro.
+
+#####################################################################
+## tst_ecmascripttests Test:
+#####################################################################
+
+add_qt_test(tst_ecmascripttests
+ SOURCES
+ qjstest/test262runner.cpp qjstest/test262runner.h
+ tst_ecmascripttests.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ PUBLIC_LIBRARIES
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 2:.:.:testcase.pro:<TRUE>:
+# QT_TOOL_ENV = "checkenv"
+# checkenv.name = "QTEST_FUNCTION_TIMEOUT"
+# checkenv.value = "500000"
+
+## Scopes:
+#####################################################################
+add_subdirectory(qjstest)
diff --git a/tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt b/tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt
new file mode 100644
index 0000000000..434c207024
--- /dev/null
+++ b/tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from qjstest.pro.
+
+#####################################################################
+## qjstest Tool:
+#####################################################################
+
+qt_add_tool(qjstest
+ SOURCES
+ main.cpp
+ test262runner.cpp test262runner.h
+ DEFINES
+ QT_DEPRECATED_WARNINGS
+ INCLUDE_DIRECTORIES
+ .
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qjstest.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "Javascript" "test" "runner"
+# TEMPLATE = "app"
diff --git a/tests/auto/qml/ecmascripttests/test262 b/tests/auto/qml/ecmascripttests/test262
-Subproject db73deb3bdede559bb7639bf3d0a07a32a17c6d
+Subproject 6b0c42c63c2492bd0a7a96d3179d122b5f71793
diff --git a/tests/auto/qml/parserstress/CMakeLists.txt b/tests/auto/qml/parserstress/CMakeLists.txt
new file mode 100644
index 0000000000..e18c6fd8fe
--- /dev/null
+++ b/tests/auto/qml/parserstress/CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from parserstress.pro.
+
+#####################################################################
+## tst_parserstress Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ tests/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_parserstress
+ SOURCES
+ tst_parserstress.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qjsengine/CMakeLists.txt b/tests/auto/qml/qjsengine/CMakeLists.txt
new file mode 100644
index 0000000000..aaff27ee03
--- /dev/null
+++ b/tests/auto/qml/qjsengine/CMakeLists.txt
@@ -0,0 +1,55 @@
+# Generated from qjsengine.pro.
+
+#####################################################################
+## tst_qjsengine Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ script/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qjsengine
+ SOURCES
+ tst_qjsengine.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+ Qt::Widgets
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(qjsengine_resource_files
+ "translations/idtranslatable-unicode.qm"
+ "translations/idtranslatable_la.qm"
+ "translations/translatable-unicode.qm"
+ "translations/translatable_la.qm"
+)
+
+qt_add_resource(tst_qjsengine "qjsengine"
+ PREFIX
+ "/"
+ FILES
+ ${qjsengine_resource_files}
+)
+set(qmake_immediate_resource_files
+ "exporterror1.mjs"
+ "importerror1.mjs"
+ "modulewithlexicals.mjs"
+ "testmodule.mjs"
+)
+
+qt_add_resource(tst_qjsengine "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qjsonbinding/CMakeLists.txt b/tests/auto/qml/qjsonbinding/CMakeLists.txt
new file mode 100644
index 0000000000..f0bf6ef46d
--- /dev/null
+++ b/tests/auto/qml/qjsonbinding/CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from qjsonbinding.pro.
+
+#####################################################################
+## tst_qjsonbinding Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qjsonbinding
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qjsonbinding.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Qml
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qjsonbinding CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qjsonbinding CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qjsvalue/CMakeLists.txt b/tests/auto/qml/qjsvalue/CMakeLists.txt
new file mode 100644
index 0000000000..74789968d3
--- /dev/null
+++ b/tests/auto/qml/qjsvalue/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from qjsvalue.pro.
+
+#####################################################################
+## tst_qjsvalue Test:
+#####################################################################
+
+qt_add_test(tst_qjsvalue
+ SOURCES
+ tst_qjsvalue.cpp tst_qjsvalue.h
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+ Qt::Widgets
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qjsvalueiterator/CMakeLists.txt b/tests/auto/qml/qjsvalueiterator/CMakeLists.txt
new file mode 100644
index 0000000000..48edd77265
--- /dev/null
+++ b/tests/auto/qml/qjsvalueiterator/CMakeLists.txt
@@ -0,0 +1,15 @@
+# Generated from qjsvalueiterator.pro.
+
+#####################################################################
+## tst_qjsvalueiterator Test:
+#####################################################################
+
+qt_add_test(tst_qjsvalueiterator
+ SOURCES
+ tst_qjsvalueiterator.cpp
+ PUBLIC_LIBRARIES
+ Qt::Qml
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qmlcachegen/CMakeLists.txt b/tests/auto/qml/qmlcachegen/CMakeLists.txt
new file mode 100644
index 0000000000..457fb328d0
--- /dev/null
+++ b/tests/auto/qml/qmlcachegen/CMakeLists.txt
@@ -0,0 +1,124 @@
+# Generated from qmlcachegen.pro.
+
+#####################################################################
+## tst_qmlcachegen Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qmlcachegen
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qmlcachegen.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(qmake_workerscripts_test_resource_files
+ "data/worker.js"
+ "data/worker.qml"
+)
+
+qt_add_resource(tst_qmlcachegen "qmake_workerscripts_test"
+ PREFIX
+ "/workerscripts"
+ FILES
+ ${qmake_workerscripts_test_resource_files}
+)
+set_source_files_properties("data/trickypaths.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "file name with spaces.qml"
+)
+set_source_files_properties("data/versionStyleSuffix-1.2-core-yc.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "versionStyleSuffix-1.2-core-yc.qml"
+)
+set_source_files_properties("data/versionStyleSuffix-1.2-more.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "versionStyleSuffix-1.2-more.qml"
+)
+set(trickypaths_resource_files
+ "data/trickypaths.qml"
+ "data/versionStyleSuffix-1.2-core-yc.qml"
+ "data/versionStyleSuffix-1.2-more.qml"
+)
+
+qt_add_resource(tst_qmlcachegen "trickypaths"
+ PREFIX
+ "/directory with spaces"
+ FILES
+ ${trickypaths_resource_files}
+)
+set_source_files_properties("data/Retain.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Retain.qml"
+)
+set(retain_resource_files
+ "Retain.qml"
+)
+
+qt_add_resource(tst_qmlcachegen "retain"
+ PREFIX
+ "/"
+ BASE
+ "data"
+ FILES
+ ${retain_resource_files}
+)
+set(qmake_immediate_resource_files
+ "data/Enums.qml"
+ "data/componentInItem.qml"
+ "data/jsimport.qml"
+ "data/jsmoduleimport.qml"
+ "data/library.js"
+ "data/module.mjs"
+ "data/parameterAdjustment.qml"
+ "data/script.js"
+ "data/script.mjs"
+ "data/utils.mjs"
+ "data/versionchecks.qml"
+)
+
+qt_add_resource(tst_qmlcachegen "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+
+## Scopes:
+#####################################################################
+
+if(UNIX)
+ # Resources:
+ set_source_files_properties("data/umlaut.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Bäh.qml"
+ )
+ set(trickypaths_umlaut_resource_files
+ "data/umlaut.qml"
+ )
+
+ qt_add_resource(tst_qmlcachegen "trickypaths_umlaut"
+ PREFIX
+ "/"
+ FILES
+ ${trickypaths_umlaut_resource_files}
+ )
+endif()
+
+qt_extend_target(tst_qmlcachegen CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qmlcachegen CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qmldiskcache/.prev_CMakeLists.txt b/tests/auto/qml/qmldiskcache/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..86bcca1bba
--- /dev/null
+++ b/tests/auto/qml/qmldiskcache/.prev_CMakeLists.txt
@@ -0,0 +1,32 @@
+# Generated from qmldiskcache.pro.
+
+#####################################################################
+## tst_qmldiskcache Test:
+#####################################################################
+
+qt_add_test(tst_qmldiskcache
+ SOURCES
+ tst_qmldiskcache.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::QmlPrivate
+)
+
+# Resources:
+set(qmake_immediate_resource_files
+ "importmodule.qml"
+ "module.mjs"
+ "test.qml"
+)
+
+qt_add_resource(tst_qmldiskcache "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qmldiskcache/CMakeLists.txt b/tests/auto/qml/qmldiskcache/CMakeLists.txt
new file mode 100644
index 0000000000..b4ff957331
--- /dev/null
+++ b/tests/auto/qml/qmldiskcache/CMakeLists.txt
@@ -0,0 +1,43 @@
+# Generated from qmldiskcache.pro.
+
+#####################################################################
+## tst_qmldiskcache Test:
+#####################################################################
+
+qt_add_test(tst_qmldiskcache
+ SOURCES
+ tst_qmldiskcache.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::QmlPrivate
+)
+
+# special case begin
+# Disable quick compiler for this test
+set_source_files_properties(
+ importmodule.qml
+ module.mjs
+ test.qml
+ PROPERTIES
+ QT_SKIP_QUICKCOMPILER TRUE
+)
+# special case end
+
+# Resources:
+set(qmake_immediate_resource_files
+ "importmodule.qml"
+ "module.mjs"
+ "test.qml"
+)
+
+qt_add_resource(tst_qmldiskcache "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qmlformat/CMakeLists.txt b/tests/auto/qml/qmlformat/CMakeLists.txt
new file mode 100644
index 0000000000..483cc93aeb
--- /dev/null
+++ b/tests/auto/qml/qmlformat/CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from qmlformat.pro.
+
+#####################################################################
+## tst_qmlformat Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qmlformat
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qmlformat.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qmlformat CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qmlformat CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qmllint/CMakeLists.txt b/tests/auto/qml/qmllint/CMakeLists.txt
new file mode 100644
index 0000000000..a6d1ada7ad
--- /dev/null
+++ b/tests/auto/qml/qmllint/CMakeLists.txt
@@ -0,0 +1,35 @@
+# Generated from qmllint.pro.
+
+#####################################################################
+## tst_qmllint Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qmllint
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qmllint.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qmllint CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qmllint CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qmlplugindump/CMakeLists.txt b/tests/auto/qml/qmlplugindump/CMakeLists.txt
new file mode 100644
index 0000000000..a5d0eb7429
--- /dev/null
+++ b/tests/auto/qml/qmlplugindump/CMakeLists.txt
@@ -0,0 +1,35 @@
+# Generated from qmlplugindump.pro.
+
+#####################################################################
+## tst_qmlplugindump Test:
+#####################################################################
+
+add_qt_test(tst_qmlplugindump
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qmlplugindump.cpp
+ DEFINES
+ QT_QMLTEST_DIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::GuiPrivate
+ Qt::Qml
+)
+
+## Scopes:
+#####################################################################
+
+extend_target(tst_qmlplugindump CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+extend_target(tst_qmlplugindump CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
+add_subdirectory(data/dumper/Dummy)
+add_subdirectory(data/dumper/Imports)
+add_subdirectory(data/dumper/Versions)
+add_subdirectory(data/dumper/ExtendedType)
diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Dummy/.prev_CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Dummy/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..e8f6a9f7b7
--- /dev/null
+++ b/tests/auto/qml/qmlplugindump/data/dumper/Dummy/.prev_CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from dummy.pro.
+
+#####################################################################
+## Dummy Generic Library:
+#####################################################################
+
+qt_add_cmake_library(Dummy
+ MODULE
+ SOURCES
+ dummy.cpp dummy.h
+ dummy_plugin.cpp dummy_plugin.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### Keys ignored in scope 1:.:.:dummy.pro:<TRUE>:
+# TEMPLATE = "lib"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 3:.:.:dummy.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD:
+# COPIES = "cp"
+# cp.files = "qmldir" "plugins.qmltypes"
+# cp.path = "$$OUT_PWD"
+
+qt_autogen_tools_initial_setup(Dummy)
diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Dummy/CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Dummy/CMakeLists.txt
new file mode 100644
index 0000000000..933b3f152e
--- /dev/null
+++ b/tests/auto/qml/qmlplugindump/data/dumper/Dummy/CMakeLists.txt
@@ -0,0 +1,36 @@
+# Generated from dummy.pro.
+
+#####################################################################
+## Dummy Generic Library:
+#####################################################################
+
+qt_add_cmake_library(Dummy
+ MODULE
+ OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case
+ SOURCES
+ dummy.cpp dummy.h
+ dummy_plugin.cpp dummy_plugin.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### Keys ignored in scope 1:.:.:dummy.pro:<TRUE>:
+# TEMPLATE = "lib"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 3:.:.:dummy.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD:
+# COPIES = "cp"
+# cp.files = "qmldir" "plugins.qmltypes"
+# cp.path = "$$OUT_PWD"
+
+qt_autogen_tools_initial_setup(Dummy)
+# special case begin
+get_target_property(binary_dir Dummy BINARY_DIR)
+file(COPY qmldir plugins.qmltypes
+ DESTINATION ${binary_dir}
+)
+# special case end
diff --git a/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/.prev_CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..993c3e19e6
--- /dev/null
+++ b/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/.prev_CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from extendedtype.pro.
+
+#####################################################################
+## ExtendedType Generic Library:
+#####################################################################
+
+qt_add_cmake_library(ExtendedType
+ MODULE
+ SOURCES
+ plugin.cpp plugin.h
+ types.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### Keys ignored in scope 1:.:.:extendedtype.pro:<TRUE>:
+# TEMPLATE = "lib"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 3:.:.:extendedtype.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD:
+# COPIES = "cp"
+# cp.files = "qmldir" "plugins.qmltypes"
+# cp.path = "$$OUT_PWD"
+
+qt_autogen_tools_initial_setup(ExtendedType)
diff --git a/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/CMakeLists.txt
new file mode 100644
index 0000000000..9e934eff60
--- /dev/null
+++ b/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/CMakeLists.txt
@@ -0,0 +1,36 @@
+# Generated from extendedtype.pro.
+
+#####################################################################
+## ExtendedType Generic Library:
+#####################################################################
+
+qt_add_cmake_library(ExtendedType
+ MODULE
+ OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case
+ SOURCES
+ plugin.cpp plugin.h
+ types.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### Keys ignored in scope 1:.:.:extendedtype.pro:<TRUE>:
+# TEMPLATE = "lib"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 3:.:.:extendedtype.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD:
+# COPIES = "cp"
+# cp.files = "qmldir" "plugins.qmltypes"
+# cp.path = "$$OUT_PWD"
+
+qt_autogen_tools_initial_setup(ExtendedType)
+# special case begin
+get_target_property(binary_dir ExtendedType BINARY_DIR)
+file(COPY qmldir plugins.qmltypes
+ DESTINATION ${binary_dir}
+)
+# special case end
diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Imports/.prev_CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Imports/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..ae80ac867a
--- /dev/null
+++ b/tests/auto/qml/qmlplugindump/data/dumper/Imports/.prev_CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from imports.pro.
+
+#####################################################################
+## Imports Generic Library:
+#####################################################################
+
+qt_add_cmake_library(Imports
+ MODULE
+ SOURCES
+ imports.cpp imports.h
+ imports_plugin.cpp imports_plugin.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### Keys ignored in scope 1:.:.:imports.pro:<TRUE>:
+# TEMPLATE = "lib"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 3:.:.:imports.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD:
+# COPIES = "cp"
+# cp.files = "qmldir" "plugins.qmltypes" "CompositeImports.qml" "Derived.qml"
+# cp.path = "$$OUT_PWD"
+
+qt_autogen_tools_initial_setup(Imports)
diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Imports/CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Imports/CMakeLists.txt
new file mode 100644
index 0000000000..cf9871b42e
--- /dev/null
+++ b/tests/auto/qml/qmlplugindump/data/dumper/Imports/CMakeLists.txt
@@ -0,0 +1,36 @@
+# Generated from imports.pro.
+
+#####################################################################
+## Imports Generic Library:
+#####################################################################
+
+qt_add_cmake_library(Imports
+ MODULE
+ OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case
+ SOURCES
+ imports.cpp imports.h
+ imports_plugin.cpp imports_plugin.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### Keys ignored in scope 1:.:.:imports.pro:<TRUE>:
+# TEMPLATE = "lib"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 3:.:.:imports.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD:
+# COPIES = "cp"
+# cp.files = "qmldir" "plugins.qmltypes" "CompositeImports.qml" "Derived.qml"
+# cp.path = "$$OUT_PWD"
+
+qt_autogen_tools_initial_setup(Imports)
+# special case begin
+get_target_property(binary_dir Imports BINARY_DIR)
+file(COPY qmldir plugins.qmltypes CompositeImports.qml Derived.qml
+ DESTINATION ${binary_dir}
+)
+# special case end
diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Versions/.prev_CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Versions/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..2edf46a96a
--- /dev/null
+++ b/tests/auto/qml/qmlplugindump/data/dumper/Versions/.prev_CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from versions.pro.
+
+#####################################################################
+## Versions Generic Library:
+#####################################################################
+
+qt_add_cmake_library(Versions
+ MODULE
+ SOURCES
+ versions.cpp versions.h
+ versions_plugin.cpp versions_plugin.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### Keys ignored in scope 1:.:.:versions.pro:<TRUE>:
+# TEMPLATE = "lib"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 3:.:.:versions.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD:
+# COPIES = "cpqmldir"
+# cpqmldir.files = "qmldir" "plugins.qmltypes"
+# cpqmldir.path = "$$OUT_PWD"
+
+qt_autogen_tools_initial_setup(Versions)
diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Versions/CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Versions/CMakeLists.txt
new file mode 100644
index 0000000000..950ffda821
--- /dev/null
+++ b/tests/auto/qml/qmlplugindump/data/dumper/Versions/CMakeLists.txt
@@ -0,0 +1,36 @@
+# Generated from versions.pro.
+
+#####################################################################
+## Versions Generic Library:
+#####################################################################
+
+qt_add_cmake_library(Versions
+ MODULE
+ OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case
+ SOURCES
+ versions.cpp versions.h
+ versions_plugin.cpp versions_plugin.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### Keys ignored in scope 1:.:.:versions.pro:<TRUE>:
+# TEMPLATE = "lib"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 3:.:.:versions.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD:
+# COPIES = "cpqmldir"
+# cpqmldir.files = "qmldir" "plugins.qmltypes"
+# cpqmldir.path = "$$OUT_PWD"
+
+qt_autogen_tools_initial_setup(Versions)
+# special case begin
+get_target_property(binary_dir Versions BINARY_DIR)
+file(COPY qmldir plugins.qmltypes
+ DESTINATION ${binary_dir}
+)
+# special case end
diff --git a/tests/auto/qml/qqmlapplicationengine/CMakeLists.txt b/tests/auto/qml/qqmlapplicationengine/CMakeLists.txt
new file mode 100644
index 0000000000..c22b7485b6
--- /dev/null
+++ b/tests/auto/qml/qqmlapplicationengine/CMakeLists.txt
@@ -0,0 +1,56 @@
+# Generated from qqmlapplicationengine.pro.
+
+#####################################################################
+## tst_qqmlapplicationengine Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+add_qt_test(tst_qqmlapplicationengine
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlapplicationengine.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(tst_qqmlapplicationengine_resource_files
+ "data/i18n/qml.qm"
+ "data/loadTranslation.qml"
+)
+
+add_qt_resource(tst_qqmlapplicationengine "tst_qqmlapplicationengine"
+ PREFIX
+ "/"
+ FILES
+ ${tst_qqmlapplicationengine_resource_files}
+)
+
+
+#### Keys ignored in scope 2:.:.:tst_qqmlapplicationengine.pro:<TRUE>:
+# TRANSLATIONS = "data/i18n/qml_ja.ts"
+
+## Scopes:
+#####################################################################
+
+extend_target(tst_qqmlapplicationengine CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+extend_target(tst_qqmlapplicationengine CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
+add_subdirectory(testapp)
diff --git a/tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt b/tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt
new file mode 100644
index 0000000000..b97251f0b8
--- /dev/null
+++ b/tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt
@@ -0,0 +1,33 @@
+# Generated from testapp.pro.
+
+#####################################################################
+## testapp Binary:
+#####################################################################
+
+qt_add_executable(testapp
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+# Resources:
+set(main_resource_files
+ "delayedExit.qml"
+ "delayedQuit.qml"
+ "immediateExit.qml"
+ "immediateQuit.qml"
+)
+
+qt_add_resource(testapp "main"
+ PREFIX
+ "/"
+ FILES
+ ${main_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:testapp.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/auto/qml/qqmlbinding/CMakeLists.txt b/tests/auto/qml/qqmlbinding/CMakeLists.txt
new file mode 100644
index 0000000000..35cf1244be
--- /dev/null
+++ b/tests/auto/qml/qqmlbinding/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qqmlbinding.pro.
+
+#####################################################################
+## tst_qqmlbinding Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlbinding
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlbinding.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlbinding CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlbinding CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlchangeset/CMakeLists.txt b/tests/auto/qml/qqmlchangeset/CMakeLists.txt
new file mode 100644
index 0000000000..fafffa2a68
--- /dev/null
+++ b/tests/auto/qml/qqmlchangeset/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from qqmlchangeset.pro.
+
+#####################################################################
+## tst_qqmlhangeset Test:
+#####################################################################
+
+qt_add_test(tst_qqmlhangeset
+ SOURCES
+ tst_qqmlchangeset.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qqmlcomponent/CMakeLists.txt b/tests/auto/qml/qqmlcomponent/CMakeLists.txt
new file mode 100644
index 0000000000..65fad5f210
--- /dev/null
+++ b/tests/auto/qml/qqmlcomponent/CMakeLists.txt
@@ -0,0 +1,54 @@
+# Generated from qqmlcomponent.pro.
+
+#####################################################################
+## tst_qqmlcomponent Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlcomponent
+ SOURCES
+ ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlcomponent.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(qmake_immediate_resource_files
+ "data/QtObjectComponent.qml"
+)
+
+qt_add_resource(tst_qqmlcomponent "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlcomponent CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlcomponent CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlconnections/CMakeLists.txt b/tests/auto/qml/qqmlconnections/CMakeLists.txt
new file mode 100644
index 0000000000..e7f0d87b0f
--- /dev/null
+++ b/tests/auto/qml/qqmlconnections/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qqmlconnections.pro.
+
+#####################################################################
+## tst_qqmlconnections Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlconnections
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlconnections.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlconnections CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlconnections CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlconsole/CMakeLists.txt b/tests/auto/qml/qqmlconsole/CMakeLists.txt
new file mode 100644
index 0000000000..3659532a23
--- /dev/null
+++ b/tests/auto/qml/qqmlconsole/CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from qqmlconsole.pro.
+
+#####################################################################
+## tst_qqmlconsole Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlconsole
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlconsole.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Qml
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlconsole CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlconsole CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlcontext/CMakeLists.txt b/tests/auto/qml/qqmlcontext/CMakeLists.txt
new file mode 100644
index 0000000000..36b8d7c3e8
--- /dev/null
+++ b/tests/auto/qml/qqmlcontext/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from qqmlcontext.pro.
+
+#####################################################################
+## tst_qqmlcontext Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlcontext
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlcontext.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlcontext CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlcontext CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlcpputils/CMakeLists.txt b/tests/auto/qml/qqmlcpputils/CMakeLists.txt
new file mode 100644
index 0000000000..ad6febe94f
--- /dev/null
+++ b/tests/auto/qml/qqmlcpputils/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from qqmlcpputils.pro.
+
+#####################################################################
+## tst_qqmlcpputils Test:
+#####################################################################
+
+qt_add_test(tst_qqmlcpputils
+ SOURCES
+ tst_qqmlcpputils.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qqmldirparser/CMakeLists.txt b/tests/auto/qml/qqmldirparser/CMakeLists.txt
new file mode 100644
index 0000000000..5a3b63f336
--- /dev/null
+++ b/tests/auto/qml/qqmldirparser/CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from qqmldirparser.pro.
+
+#####################################################################
+## tst_qqmldirparser Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmldirparser
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmldirparser.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmldirparser CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmldirparser CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlecmascript/.prev_CMakeLists.txt b/tests/auto/qml/qqmlecmascript/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..8f50334294
--- /dev/null
+++ b/tests/auto/qml/qqmlecmascript/.prev_CMakeLists.txt
@@ -0,0 +1,62 @@
+# Generated from qqmlecmascript.pro.
+
+#####################################################################
+## tst_qqmlecmascript Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlecmascript
+ SOURCES
+ ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
+ ../../shared/util.cpp ../../shared/util.h
+ testtypes.cpp testtypes.h
+ tst_qqmlecmascript.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(qqmlecmascript_resource_files
+ "data/include.js"
+ "data/include.qml"
+ "data/js/include2.js"
+ "data/js/include3.js"
+)
+
+qt_add_resource(tst_qqmlecmascript "qqmlecmascript"
+ PREFIX
+ "/"
+ FILES
+ ${qqmlecmascript_resource_files}
+)
+
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlecmascript CONDITION TARGET Qt::Widgets
+ PUBLIC_LIBRARIES
+ Qt::Widgets
+)
+
+qt_extend_target(tst_qqmlecmascript CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlecmascript CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlecmascript/CMakeLists.txt b/tests/auto/qml/qqmlecmascript/CMakeLists.txt
new file mode 100644
index 0000000000..17fed700c8
--- /dev/null
+++ b/tests/auto/qml/qqmlecmascript/CMakeLists.txt
@@ -0,0 +1,69 @@
+# Generated from qqmlecmascript.pro.
+
+#####################################################################
+## tst_qqmlecmascript Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlecmascript
+ SOURCES
+ ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
+ ../../shared/util.cpp ../../shared/util.h
+ testtypes.cpp testtypes.h
+ tst_qqmlecmascript.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(qqmlecmascript_resource_files
+ "data/include.js"
+ "data/include.qml"
+ "data/js/include2.js"
+ "data/js/include3.js"
+)
+
+# special case begin
+set_source_files_properties(
+ ${qqmlecmascript_resource_files}
+ PROPERTIES
+ QT_SKIP_QUICKCOMPILER 1)
+# special case end
+
+qt_add_resource(tst_qqmlecmascript "qqmlecmascript"
+ PREFIX
+ "/"
+ FILES
+ ${qqmlecmascript_resource_files}
+)
+
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlecmascript CONDITION TARGET Qt::Widgets
+ PUBLIC_LIBRARIES
+ Qt::Widgets
+)
+
+qt_extend_target(tst_qqmlecmascript CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlecmascript CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlengine/CMakeLists.txt b/tests/auto/qml/qqmlengine/CMakeLists.txt
new file mode 100644
index 0000000000..38e84ffd30
--- /dev/null
+++ b/tests/auto/qml/qqmlengine/CMakeLists.txt
@@ -0,0 +1,58 @@
+# Generated from qqmlengine.pro.
+
+#####################################################################
+## tst_qqmlengine Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlengine
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlengine.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(qmake_immediate_resource_files
+ "data/qrcurls.js"
+ "data/qrcurls.qml"
+)
+
+qt_add_resource(tst_qqmlengine "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlengine CONDITION boot2qt
+ DEFINES
+ SKIP_GCCORRUPTION_TEST
+)
+
+qt_extend_target(tst_qqmlengine CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlengine CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlenginecleanup/CMakeLists.txt b/tests/auto/qml/qqmlenginecleanup/CMakeLists.txt
new file mode 100644
index 0000000000..2a25d29c43
--- /dev/null
+++ b/tests/auto/qml/qqmlenginecleanup/CMakeLists.txt
@@ -0,0 +1,30 @@
+# Generated from tst_qqmlenginecleanup.pro.
+
+#####################################################################
+## tst_qqmlenginecleanup Test:
+#####################################################################
+
+qt_add_test(tst_qqmlenginecleanup
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlenginecleanup.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlenginecleanup CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlenginecleanup CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlenginecleanup/CustomModuleImport/.prev_CMakeLists.txt b/tests/auto/qml/qqmlenginecleanup/CustomModuleImport/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..f16ce3e6c3
--- /dev/null
+++ b/tests/auto/qml/qqmlenginecleanup/CustomModuleImport/.prev_CMakeLists.txt
@@ -0,0 +1,33 @@
+# Generated from CustomModule.pro.
+
+#####################################################################
+## CustomModule Generic Library:
+#####################################################################
+
+qt_add_cmake_library(CustomModule
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../CustomModule"
+ SOURCES
+ moduleplugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(moduleplugin_resource_files
+ "ModuleType.qml"
+)
+
+qt_add_resource(CustomModule "moduleplugin"
+ PREFIX
+ "/"
+ FILES
+ ${moduleplugin_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:CustomModule.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
diff --git a/tests/auto/qml/qqmlenginecleanup/CustomModuleImport/CMakeLists.txt b/tests/auto/qml/qqmlenginecleanup/CustomModuleImport/CMakeLists.txt
new file mode 100644
index 0000000000..f98f97cf81
--- /dev/null
+++ b/tests/auto/qml/qqmlenginecleanup/CustomModuleImport/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from CustomModule.pro.
+
+#####################################################################
+## CustomModule Generic Library:
+#####################################################################
+
+qt_add_cmake_library(CustomModule
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../CustomModule"
+ SOURCES
+ moduleplugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(moduleplugin_resource_files
+ "ModuleType.qml"
+)
+
+qt_add_resource(CustomModule "moduleplugin"
+ PREFIX
+ "/"
+ FILES
+ ${moduleplugin_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:CustomModule.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+# special case begin
+qt_autogen_tools_initial_setup(CustomModule)
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../CustomModule"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlerror/CMakeLists.txt b/tests/auto/qml/qqmlerror/CMakeLists.txt
new file mode 100644
index 0000000000..91085f74d6
--- /dev/null
+++ b/tests/auto/qml/qqmlerror/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from qqmlerror.pro.
+
+#####################################################################
+## tst_qqmlerror Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlerror
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlerror.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlerror CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlerror CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlexpression/CMakeLists.txt b/tests/auto/qml/qqmlexpression/CMakeLists.txt
new file mode 100644
index 0000000000..f274d60367
--- /dev/null
+++ b/tests/auto/qml/qqmlexpression/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from qqmlexpression.pro.
+
+#####################################################################
+## tst_qqmlexpression Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlexpression
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlexpression.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlexpression CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlexpression CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlextensionplugin/CMakeLists.txt b/tests/auto/qml/qqmlextensionplugin/CMakeLists.txt
new file mode 100644
index 0000000000..d0716ed8ff
--- /dev/null
+++ b/tests/auto/qml/qqmlextensionplugin/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from qqmlextensionplugin.pro.
+
+#####################################################################
+## tst_qqmlextensionplugin Test:
+#####################################################################
+
+qt_add_test(tst_qqmlextensionplugin
+ SOURCES
+ tst_qqmlextensionplugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qqmlfile/CMakeLists.txt b/tests/auto/qml/qqmlfile/CMakeLists.txt
new file mode 100644
index 0000000000..2a0fa63bb8
--- /dev/null
+++ b/tests/auto/qml/qqmlfile/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from qqmlfile.pro.
+
+#####################################################################
+## tst_qqmlfile Test:
+#####################################################################
+
+qt_add_test(tst_qqmlfile
+ SOURCES
+ tst_qqmlfile.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qqmlfileselector/CMakeLists.txt b/tests/auto/qml/qqmlfileselector/CMakeLists.txt
new file mode 100644
index 0000000000..6886391678
--- /dev/null
+++ b/tests/auto/qml/qqmlfileselector/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from qqmlfileselector.pro.
+
+#####################################################################
+## tst_qqmlfileselector Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlfileselector
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlfileselector.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlfileselector CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlfileselector CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlglobal/CMakeLists.txt b/tests/auto/qml/qqmlglobal/CMakeLists.txt
new file mode 100644
index 0000000000..50ced86ee4
--- /dev/null
+++ b/tests/auto/qml/qqmlglobal/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from qqmlglobal.pro.
+
+#####################################################################
+## tst_qqmlglobal Test:
+#####################################################################
+
+qt_add_test(tst_qqmlglobal
+ SOURCES
+ tst_qqmlglobal.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qqmlimport/CMakeLists.txt b/tests/auto/qml/qqmlimport/CMakeLists.txt
new file mode 100644
index 0000000000..c4b5ac84b7
--- /dev/null
+++ b/tests/auto/qml/qqmlimport/CMakeLists.txt
@@ -0,0 +1,50 @@
+# Generated from qqmlimport.pro.
+
+#####################################################################
+## tst_qqmlimport Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ MyPluginSupported/*)
+list(APPEND test_data ${test_data_glob})
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ MyPluginUnsupported/*)
+list(APPEND test_data ${test_data_glob})
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ FormFromQmlDir/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlimport
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlimport.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlPrivate
+ Qt::Quick
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlimport CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlimport CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlincubator/CMakeLists.txt b/tests/auto/qml/qqmlincubator/CMakeLists.txt
new file mode 100644
index 0000000000..40fcaa2f6a
--- /dev/null
+++ b/tests/auto/qml/qqmlincubator/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qqmlincubator.pro.
+
+#####################################################################
+## tst_qqmlincubator Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlincubator
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ testtypes.cpp testtypes.h
+ tst_qqmlincubator.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlincubator CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlincubator CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlinfo/CMakeLists.txt b/tests/auto/qml/qqmlinfo/CMakeLists.txt
new file mode 100644
index 0000000000..55dc018552
--- /dev/null
+++ b/tests/auto/qml/qqmlinfo/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from qqmlinfo.pro.
+
+#####################################################################
+## tst_qqmlinfo Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlinfo
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlinfo.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlinfo CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlinfo CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlinstantiator/CMakeLists.txt b/tests/auto/qml/qqmlinstantiator/CMakeLists.txt
new file mode 100644
index 0000000000..b6d6e2b48e
--- /dev/null
+++ b/tests/auto/qml/qqmlinstantiator/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qqmlinstantiator.pro.
+
+#####################################################################
+## tst_qqmlinstantiator Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlinstantiator
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ stringmodel.h
+ tst_qqmlinstantiator.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlinstantiator CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlinstantiator CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlitemmodels/CMakeLists.txt b/tests/auto/qml/qqmlitemmodels/CMakeLists.txt
new file mode 100644
index 0000000000..4b2a94a7d1
--- /dev/null
+++ b/tests/auto/qml/qqmlitemmodels/CMakeLists.txt
@@ -0,0 +1,41 @@
+# Generated from qqmlitemmodels.pro.
+
+#####################################################################
+## tst_qqmlitemmodels Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlitemmodels
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ qtestmodel.h
+ testtypes.h
+ tst_qqmlitemmodels.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qqmlitemmodels.pro:<TRUE>:
+# DISTFILES = "data/modelindex.qml" "data/persistentmodelindex.qml" "data/itemselectionrange.qml" "data/modelindexlist.qml" "data/itemselection.qml" "data/modelindexconversion.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlitemmodels CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlitemmodels CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmllanguage/CMakeLists.txt b/tests/auto/qml/qqmllanguage/CMakeLists.txt
new file mode 100644
index 0000000000..682d35bb1b
--- /dev/null
+++ b/tests/auto/qml/qqmllanguage/CMakeLists.txt
@@ -0,0 +1,71 @@
+# Generated from qqmllanguage.pro.
+
+#####################################################################
+## tst_qqmllanguage Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmllanguage
+ SOURCES
+ ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
+ ../../shared/util.cpp ../../shared/util.h
+ testtypes.cpp testtypes.h
+ tst_qqmllanguage.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qqmllanguage.pro:<TRUE>:
+# OTHER_FILES = "data/readonlyObjectProperty.qml"
+# QML_IMPORT_NAME = "StaticTest"
+# QML_IMPORT_VERSION = "1.0"
+
+## Scopes:
+#####################################################################
+
+if(ANDROID)
+ # Resources:
+ set_source_files_properties("data/I18nType30.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "data/I18nTypeÁâãäå.qml"
+ )
+ set(qqmllanguage_resource_files
+ "data/I18nType30.qml"
+ )
+
+ qt_add_resource(tst_qqmllanguage "qqmllanguage"
+ PREFIX
+ "/"
+ FILES
+ ${qqmllanguage_resource_files}
+ )
+endif()
+
+qt_extend_target(tst_qqmllanguage CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmllanguage CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
+
+set_target_properties(tst_qqmllanguage PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI StaticTest
+)
+
+qt6_qml_type_registration(tst_qqmllanguage)
diff --git a/tests/auto/qml/qqmllistcompositor/CMakeLists.txt b/tests/auto/qml/qqmllistcompositor/CMakeLists.txt
new file mode 100644
index 0000000000..940a41f5cd
--- /dev/null
+++ b/tests/auto/qml/qqmllistcompositor/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qqmllistcompositor.pro.
+
+#####################################################################
+## tst_qqmllistcompositor Test:
+#####################################################################
+
+qt_add_test(tst_qqmllistcompositor
+ SOURCES
+ tst_qqmllistcompositor.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qqmllistmodel/CMakeLists.txt b/tests/auto/qml/qqmllistmodel/CMakeLists.txt
new file mode 100644
index 0000000000..05ff9268e6
--- /dev/null
+++ b/tests/auto/qml/qqmllistmodel/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qqmllistmodel.pro.
+
+#####################################################################
+## tst_qqmllistmodel Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmllistmodel
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmllistmodel.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmllistmodel CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmllistmodel CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt b/tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt
new file mode 100644
index 0000000000..9f4fdb61a4
--- /dev/null
+++ b/tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qqmllistmodelworkerscript.pro.
+
+#####################################################################
+## tst_qqmllistmodelworkerscript Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmllistmodelworkerscript
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmllistmodelworkerscript.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmllistmodelworkerscript CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmllistmodelworkerscript CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmllistreference/CMakeLists.txt b/tests/auto/qml/qqmllistreference/CMakeLists.txt
new file mode 100644
index 0000000000..da8c3bc7bc
--- /dev/null
+++ b/tests/auto/qml/qqmllistreference/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qqmllistreference.pro.
+
+#####################################################################
+## tst_qqmllistreference Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmllistreference
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmllistreference.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmllistreference CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmllistreference CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmllocale/CMakeLists.txt b/tests/auto/qml/qqmllocale/CMakeLists.txt
new file mode 100644
index 0000000000..03a3bd4de0
--- /dev/null
+++ b/tests/auto/qml/qqmllocale/CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from qqmllocale.pro.
+
+#####################################################################
+## tst_qqmllocale Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmllocale
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmllocale.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Qml
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmllocale CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmllocale CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlmetaobject/CMakeLists.txt b/tests/auto/qml/qqmlmetaobject/CMakeLists.txt
new file mode 100644
index 0000000000..93c88dd2ce
--- /dev/null
+++ b/tests/auto/qml/qqmlmetaobject/CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from qqmlmetaobject.pro.
+
+#####################################################################
+## tst_qqmlmetaobject Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlmetaobject
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlmetaobject.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Qml
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlmetaobject CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlmetaobject CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlmetatype/CMakeLists.txt b/tests/auto/qml/qqmlmetatype/CMakeLists.txt
new file mode 100644
index 0000000000..ab13460c19
--- /dev/null
+++ b/tests/auto/qml/qqmlmetatype/CMakeLists.txt
@@ -0,0 +1,63 @@
+# Generated from qqmlmetatype.pro.
+
+#####################################################################
+## tst_qqmlmetatype Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlmetatype
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlmetatype.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(qmake_qmlfiles_resource_files
+ "data/CompositeType.qml"
+)
+
+qt_add_resource(tst_qqmlmetatype "qmake_qmlfiles"
+ PREFIX
+ "/tstqqmlmetatype"
+ FILES
+ ${qmake_qmlfiles_resource_files}
+)
+set(qmake_qmldirresource_resource_files
+ "data/Components/App.qml"
+ "data/Components/qmldir"
+ "data/enumsInRecursiveImport.qml"
+)
+
+qt_add_resource(tst_qqmlmetatype "qmake_qmldirresource"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_qmldirresource_resource_files}
+)
+
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlmetatype CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlmetatype CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlmoduleplugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..3a1251655a
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/.prev_CMakeLists.txt
@@ -0,0 +1,91 @@
+# Generated from qqmlmoduleplugin.pro.
+
+#####################################################################
+## tst_qqmlmoduleplugin Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ imports/*)
+list(APPEND test_data ${test_data_glob})
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}/imports/*)
+list(APPEND test_data ${test_data_glob})
+
+add_qt_test(tst_qqmlmoduleplugin
+ SOURCES
+ ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlmoduleplugin.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(qmake_waitingPlugin_resource_files
+ "moduleWithWaitingPlugin"
+)
+
+add_qt_resource(tst_qqmlmoduleplugin "qmake_waitingPlugin"
+ PREFIX
+ "/qt-project.org/imports/"
+ FILES
+ ${qmake_waitingPlugin_resource_files}
+)
+set(qmake_staticPlugin_resource_files
+ "moduleWithStaticPlugin"
+)
+
+add_qt_resource(tst_qqmlmoduleplugin "qmake_staticPlugin"
+ PREFIX
+ "/qt-project.org/imports/"
+ FILES
+ ${qmake_staticPlugin_resource_files}
+)
+
+
+## Scopes:
+#####################################################################
+
+extend_target(tst_qqmlmoduleplugin CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+extend_target(tst_qqmlmoduleplugin CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
+add_subdirectory(plugin)
+add_subdirectory(plugin.2)
+add_subdirectory(plugin.2.1)
+add_subdirectory(pluginWrongCase)
+add_subdirectory(pluginWithQmlFile)
+add_subdirectory(pluginMixed)
+add_subdirectory(pluginVersion)
+add_subdirectory(nestedPlugin)
+add_subdirectory(strictModule)
+add_subdirectory(strictModule.2)
+add_subdirectory(nonstrictModule)
+add_subdirectory(preemptiveModule)
+add_subdirectory(preemptedStrictModule)
+add_subdirectory(invalidNamespaceModule)
+add_subdirectory(invalidFirstCommandModule)
+add_subdirectory(protectedModule)
+add_subdirectory(plugin/childplugin)
+add_subdirectory(plugin.2/childplugin)
+add_subdirectory(plugin.2.1/childplugin)
+add_subdirectory(plugin.2.2)
+add_subdirectory(moduleWithQmlSingleton)
diff --git a/tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt
new file mode 100644
index 0000000000..975a424475
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt
@@ -0,0 +1,109 @@
+# Generated from qqmlmoduleplugin.pro.
+
+#####################################################################
+## tst_qqmlmoduleplugin Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ imports/*)
+list(APPEND test_data ${test_data_glob})
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}/imports/*)
+list(APPEND test_data ${test_data_glob})
+
+add_qt_test(tst_qqmlmoduleplugin
+ SOURCES
+ ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlmoduleplugin.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(qmake_waitingPlugin_resource_files
+ "moduleWithWaitingPlugin"
+)
+
+add_qt_resource(tst_qqmlmoduleplugin "qmake_waitingPlugin"
+ PREFIX
+ "/qt-project.org/imports/"
+ FILES
+ ${qmake_waitingPlugin_resource_files}
+)
+set(qmake_staticPlugin_resource_files
+ "moduleWithStaticPlugin"
+)
+
+add_qt_resource(tst_qqmlmoduleplugin "qmake_staticPlugin"
+ PREFIX
+ "/qt-project.org/imports/"
+ FILES
+ ${qmake_staticPlugin_resource_files}
+)
+
+
+#### Keys ignored in scope 2:.:.:tst_qqmlmoduleplugin.pro:<TRUE>:
+# CONFIG = "testcase" "-app_bundle"
+# staticPlugin.files = "moduleWithStaticPlugin"
+# staticPlugin.prefix = "/qt-project.org/imports/"
+# waitingPlugin.files = "moduleWithWaitingPlugin"
+# waitingPlugin.prefix = "/qt-project.org/imports/"
+
+# special case begin
+add_qt_resource(tst_qqmlmoduleplugin waitingPlugin
+ PREFIX /qt-project.org/imports
+ FILES moduleWithWaitingPlugin/qmldir
+)
+add_qt_resource(tst_qqmlmoduleplugin staticPlugin
+ PREFIX /qt-project.org/imports
+ FILES moduleWithStaticPlugin/qmldir
+)
+# special case end
+
+## Scopes:
+#####################################################################
+
+extend_target(tst_qqmlmoduleplugin CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+extend_target(tst_qqmlmoduleplugin CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
+add_subdirectory(plugin)
+add_subdirectory(plugin.2)
+add_subdirectory(plugin.2.1)
+add_subdirectory(pluginWrongCase)
+add_subdirectory(pluginWithQmlFile)
+add_subdirectory(pluginMixed)
+add_subdirectory(pluginVersion)
+add_subdirectory(nestedPlugin)
+add_subdirectory(strictModule)
+add_subdirectory(strictModule.2)
+add_subdirectory(nonstrictModule)
+add_subdirectory(preemptiveModule)
+add_subdirectory(preemptedStrictModule)
+add_subdirectory(invalidNamespaceModule)
+add_subdirectory(invalidFirstCommandModule)
+add_subdirectory(protectedModule)
+add_subdirectory(plugin/childplugin)
+add_subdirectory(plugin.2/childplugin)
+add_subdirectory(plugin.2.1/childplugin)
+add_subdirectory(plugin.2.2)
+add_subdirectory(moduleWithQmlSingleton)
diff --git a/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..d337235cd8
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from invalidFirstCommandModule.pro.
+
+#####################################################################
+## invalidFirstCommandModule Generic Library:
+#####################################################################
+
+qt_add_cmake_library(invalidFirstCommandModule
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidFirstCommandModule"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:invalidFirstCommandModule.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(invalidFirstCommandModule)
diff --git a/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/CMakeLists.txt
new file mode 100644
index 0000000000..c580c9d517
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from invalidFirstCommandModule.pro.
+
+#####################################################################
+## invalidFirstCommandModule Generic Library:
+#####################################################################
+
+qt_add_cmake_library(invalidFirstCommandModule
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidFirstCommandModule"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:invalidFirstCommandModule.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(invalidFirstCommandModule)
+# special case begin
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidFirstCommandModule"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..9c762abc48
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from invalidNamespaceModule.pro.
+
+#####################################################################
+## invalidNamespaceModule Generic Library:
+#####################################################################
+
+qt_add_cmake_library(invalidNamespaceModule
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidNamespaceModule"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:invalidNamespaceModule.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(invalidNamespaceModule)
diff --git a/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/CMakeLists.txt
new file mode 100644
index 0000000000..a223ecffbf
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from invalidNamespaceModule.pro.
+
+#####################################################################
+## invalidNamespaceModule Generic Library:
+#####################################################################
+
+qt_add_cmake_library(invalidNamespaceModule
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidNamespaceModule"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:invalidNamespaceModule.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(invalidNamespaceModule)
+# special case begin
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidNamespaceModule"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlmoduleplugin/moduleWithQmlSingleton/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/moduleWithQmlSingleton/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..f420295e84
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/moduleWithQmlSingleton/.prev_CMakeLists.txt
@@ -0,0 +1,27 @@
+# Generated from moduleWithQmlSingleton.pro.
+
+#####################################################################
+## moduleWithQmlSingleton Generic Library:
+#####################################################################
+
+qt_add_cmake_library(moduleWithQmlSingleton
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/ModuleWithQmlSingleton"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:moduleWithQmlSingleton.pro:<TRUE>:
+# COPIES = "importfiles" "subfiles"
+# IMPORT_FILES = "qmldir" "MySingleton.qml" "MySingleton2.qml"
+# TEMPLATE = "lib"
+# subfiles.files = "internal/InternalType.qml"
+# subfiles.path = "$$DESTDIR/internal"
+
+qt_autogen_tools_initial_setup(moduleWithQmlSingleton)
diff --git a/tests/auto/qml/qqmlmoduleplugin/moduleWithQmlSingleton/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/moduleWithQmlSingleton/CMakeLists.txt
new file mode 100644
index 0000000000..e0f8f3043a
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/moduleWithQmlSingleton/CMakeLists.txt
@@ -0,0 +1,33 @@
+# Generated from moduleWithQmlSingleton.pro.
+
+#####################################################################
+## moduleWithQmlSingleton Generic Library:
+#####################################################################
+
+qt_add_cmake_library(moduleWithQmlSingleton
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/ModuleWithQmlSingleton"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:moduleWithQmlSingleton.pro:<TRUE>:
+# COPIES = "importfiles" "subfiles"
+# IMPORT_FILES = "qmldir" "MySingleton.qml" "MySingleton2.qml"
+# TEMPLATE = "lib"
+# subfiles.files = "internal/InternalType.qml"
+# subfiles.path = "$$DESTDIR/internal"
+
+# special case begin
+file(COPY qmldir MySingleton.qml MySingleton2.qml
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/ModuleWithQmlSingleton"
+)
+# special case end
+
+qt_autogen_tools_initial_setup(moduleWithQmlSingleton)
diff --git a/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..8a5bfaab59
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/.prev_CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from nestedPlugin.pro.
+
+#####################################################################
+## nestedPlugin Generic Library:
+#####################################################################
+
+qt_add_cmake_library(nestedPlugin
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlNestedPluginType"
+ SOURCES
+ nestedPlugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:nestedPlugin.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
diff --git a/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/CMakeLists.txt
new file mode 100644
index 0000000000..abaf01573a
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/CMakeLists.txt
@@ -0,0 +1,28 @@
+# Generated from nestedPlugin.pro.
+
+#####################################################################
+## nestedPlugin Generic Library:
+#####################################################################
+
+qt_add_cmake_library(nestedPlugin
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlNestedPluginType"
+ SOURCES
+ nestedPlugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:nestedPlugin.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+# special case begin
+qt_autogen_tools_initial_setup(nestedPlugin)
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlNestedPluginType"
+)
+# special case end TEMPLATE = "lib"
diff --git a/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..fd9a4a9038
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from nonstrictModule.pro.
+
+#####################################################################
+## nonstrictModule Generic Library:
+#####################################################################
+
+qt_add_cmake_library(nonstrictModule
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/NonstrictModule"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:nonstrictModule.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(nonstrictModule)
diff --git a/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/CMakeLists.txt
new file mode 100644
index 0000000000..c871907e01
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from nonstrictModule.pro.
+
+#####################################################################
+## nonstrictModule Generic Library:
+#####################################################################
+
+qt_add_cmake_library(nonstrictModule
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/NonstrictModule"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:nonstrictModule.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(nonstrictModule)
+# special case begin
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/NonstrictModule"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..8bb52a6323
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from plugin.2.1.pro.
+
+#####################################################################
+## plugin.2.1 Generic Library:
+#####################################################################
+
+qt_add_cmake_library(plugin.2.1
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.1"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:plugin.2.1.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(plugin.2.1)
diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt
new file mode 100644
index 0000000000..9d1f1c1ca8
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt
@@ -0,0 +1,30 @@
+# Generated from plugin.2.1.pro.
+
+#####################################################################
+## plugin.2.1 Generic Library:
+#####################################################################
+
+qt_add_cmake_library(plugin.2.1
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.1"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:plugin.2.1.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(plugin.2.1)
+# special case begin
+set_target_properties(plugin.2.1 PROPERTIES OUTPUT_NAME "plugin")
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.1"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..d945c031cb
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/.prev_CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from childplugin.pro.
+
+#####################################################################
+## childplugin Generic Library:
+#####################################################################
+
+qt_add_cmake_library(childplugin
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2.1/ChildPlugin"
+ SOURCES
+ childplugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:childplugin.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/CMakeLists.txt
new file mode 100644
index 0000000000..95a9153499
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from childplugin.pro.
+
+#####################################################################
+## childplugin Generic Library:
+#####################################################################
+
+qt_add_cmake_library(childplugin.2.1 # special case
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2.1/ChildPlugin"
+ SOURCES
+ childplugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:childplugin.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+# special case begin
+qt_autogen_tools_initial_setup(childplugin.2.1)
+set_target_properties(childplugin.2.1 PROPERTIES OUTPUT_NAME "childplugin")
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2.1/ChildPlugin"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..b4af645c81
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from plugin.2.2.pro.
+
+#####################################################################
+## plugin.2.2 Generic Library:
+#####################################################################
+
+qt_add_cmake_library(plugin.2.2
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.2"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:plugin.2.2.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(plugin.2.2)
diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt
new file mode 100644
index 0000000000..e2b36e8f09
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt
@@ -0,0 +1,30 @@
+# Generated from plugin.2.2.pro.
+
+#####################################################################
+## plugin.2.2 Generic Library:
+#####################################################################
+
+qt_add_cmake_library(plugin.2.2
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.2"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:plugin.2.2.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(plugin.2.2)
+# special case begin
+set_target_properties(plugin.2.2 PROPERTIES OUTPUT_NAME "plugin")
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.2"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..1cbd74d97a
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from plugin.2.pro.
+
+#####################################################################
+## plugin.2 Generic Library:
+#####################################################################
+
+qt_add_cmake_library(plugin.2
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:plugin.2.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(plugin.2)
diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt
new file mode 100644
index 0000000000..0a546866de
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt
@@ -0,0 +1,30 @@
+# Generated from plugin.2.pro.
+
+#####################################################################
+## plugin.2 Generic Library:
+#####################################################################
+
+qt_add_cmake_library(plugin.2
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:plugin.2.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(plugin.2)
+# special case begin
+set_target_properties(plugin.2 PROPERTIES OUTPUT_NAME "plugin")
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..036b2237a5
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/.prev_CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from childplugin.pro.
+
+#####################################################################
+## childplugin Generic Library:
+#####################################################################
+
+qt_add_cmake_library(childplugin
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2/ChildPlugin"
+ SOURCES
+ childplugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:childplugin.pro:<TRUE>:
+# IMPORT_DIR = "DESTDIR"
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/CMakeLists.txt
new file mode 100644
index 0000000000..aeab9f84fa
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/CMakeLists.txt
@@ -0,0 +1,30 @@
+# Generated from childplugin.pro.
+
+#####################################################################
+## childplugin Generic Library:
+#####################################################################
+
+qt_add_cmake_library(childplugin.2 # special case
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2/ChildPlugin"
+ SOURCES
+ childplugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:childplugin.pro:<TRUE>:
+# IMPORT_DIR = "DESTDIR"
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+# special case begin
+qt_autogen_tools_initial_setup(childplugin.2)
+set_target_properties(childplugin.2 PROPERTIES OUTPUT_NAME "childplugin")
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2/ChildPlugin"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..4de3788caa
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from plugin.pro.
+
+#####################################################################
+## plugin Generic Library:
+#####################################################################
+
+qt_add_cmake_library(plugin
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:plugin.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(plugin)
diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin/CMakeLists.txt
new file mode 100644
index 0000000000..50e30ecf09
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from plugin.pro.
+
+#####################################################################
+## plugin Generic Library:
+#####################################################################
+
+qt_add_cmake_library(plugin
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:plugin.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(plugin)
+# special case begin
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..e137159431
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/.prev_CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from childplugin.pro.
+
+#####################################################################
+## childplugin Generic Library:
+#####################################################################
+
+qt_add_cmake_library(childplugin
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType/ChildPlugin"
+ SOURCES
+ childplugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:childplugin.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/CMakeLists.txt
new file mode 100644
index 0000000000..bc7d85029a
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/CMakeLists.txt
@@ -0,0 +1,28 @@
+# Generated from childplugin.pro.
+
+#####################################################################
+## childplugin Generic Library:
+#####################################################################
+
+qt_add_cmake_library(childplugin
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType/ChildPlugin"
+ SOURCES
+ childplugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:childplugin.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+# special case begin
+qt_autogen_tools_initial_setup(childplugin)
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType/ChildPlugin"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginMixed/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginMixed/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..0d27da3434
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/pluginMixed/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from pluginMixed.pro.
+
+#####################################################################
+## pluginMixed Generic Library:
+#####################################################################
+
+qt_add_cmake_library(pluginMixed
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlMixedPluginType"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:pluginMixed.pro:<TRUE>:
+# IMPORT_FILES = "Foo.qml" "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(pluginMixed)
diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginMixed/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginMixed/CMakeLists.txt
new file mode 100644
index 0000000000..967868a674
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/pluginMixed/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from pluginMixed.pro.
+
+#####################################################################
+## pluginMixed Generic Library:
+#####################################################################
+
+qt_add_cmake_library(pluginMixed
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlMixedPluginType"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:pluginMixed.pro:<TRUE>:
+# IMPORT_FILES = "Foo.qml" "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(pluginMixed)
+# special case begin
+file(COPY qmldir Foo.qml
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlMixedPluginType"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginVersion/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginVersion/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..278d100ed9
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/pluginVersion/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from pluginVersion.pro.
+
+#####################################################################
+## pluginVersion Generic Library:
+#####################################################################
+
+qt_add_cmake_library(pluginVersion
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlVersionPluginType"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:pluginVersion.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(pluginVersion)
diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginVersion/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginVersion/CMakeLists.txt
new file mode 100644
index 0000000000..7e58ea3b18
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/pluginVersion/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from pluginVersion.pro.
+
+#####################################################################
+## pluginVersion Generic Library:
+#####################################################################
+
+qt_add_cmake_library(pluginVersion
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlVersionPluginType"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:pluginVersion.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(pluginVersion)
+# special case begin
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlVersionPluginType"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..7db53592e1
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from pluginWithQmlFile.pro.
+
+#####################################################################
+## pluginWithQmlFile Generic Library:
+#####################################################################
+
+qt_add_cmake_library(pluginWithQmlFile
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestPluginWithQmlFile"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:pluginWithQmlFile.pro:<TRUE>:
+# IMPORT_FILES = "qmldir" "MyQmlFile.qml"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(pluginWithQmlFile)
diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/CMakeLists.txt
new file mode 100644
index 0000000000..ad21516b1c
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from pluginWithQmlFile.pro.
+
+#####################################################################
+## pluginWithQmlFile Generic Library:
+#####################################################################
+
+qt_add_cmake_library(pluginWithQmlFile
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestPluginWithQmlFile"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:pluginWithQmlFile.pro:<TRUE>:
+# IMPORT_FILES = "qmldir" "MyQmlFile.qml"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(pluginWithQmlFile)
+# special case begin
+file(COPY qmldir MyQmlFile.qml
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestPluginWithQmlFile"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..93a10a2169
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from pluginWrongCase.pro.
+
+#####################################################################
+## Plugin Generic Library:
+#####################################################################
+
+qt_add_cmake_library(Plugin
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/WrongCase"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:pluginWrongCase.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(Plugin)
diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/CMakeLists.txt
new file mode 100644
index 0000000000..7938f93465
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from pluginWrongCase.pro.
+
+#####################################################################
+## Plugin Generic Library:
+#####################################################################
+
+qt_add_cmake_library(Plugin
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/WrongCase"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:pluginWrongCase.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(Plugin)
+# special case begin
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/WrongCase"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..1e803e65af
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from preemptedStrictModule.pro.
+
+#####################################################################
+## preemptedStrictModule Generic Library:
+#####################################################################
+
+qt_add_cmake_library(preemptedStrictModule
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptedStrictModule"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:preemptedStrictModule.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(preemptedStrictModule)
diff --git a/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/CMakeLists.txt
new file mode 100644
index 0000000000..2c13ea8aa6
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from preemptedStrictModule.pro.
+
+#####################################################################
+## preemptedStrictModule Generic Library:
+#####################################################################
+
+qt_add_cmake_library(preemptedStrictModule
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptedStrictModule"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:preemptedStrictModule.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(preemptedStrictModule)
+# special case begin
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptedStrictModule"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..3addc1aacb
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from preemptiveModule.pro.
+
+#####################################################################
+## preemptiveModule Generic Library:
+#####################################################################
+
+qt_add_cmake_library(preemptiveModule
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptiveModule"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:preemptiveModule.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(preemptiveModule)
diff --git a/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/CMakeLists.txt
new file mode 100644
index 0000000000..d473bff09c
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from preemptiveModule.pro.
+
+#####################################################################
+## preemptiveModule Generic Library:
+#####################################################################
+
+qt_add_cmake_library(preemptiveModule
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptiveModule"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:preemptiveModule.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(preemptiveModule)
+# special case begin
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptiveModule"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlmoduleplugin/protectedModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/protectedModule/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..5ff2840aef
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/protectedModule/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from protectedModule.pro.
+
+#####################################################################
+## protectedModule Generic Library:
+#####################################################################
+
+qt_add_cmake_library(protectedModule
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/ProtectedModule"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:protectedModule.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(protectedModule)
diff --git a/tests/auto/qml/qqmlmoduleplugin/protectedModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/protectedModule/CMakeLists.txt
new file mode 100644
index 0000000000..24da9a078e
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/protectedModule/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from protectedModule.pro.
+
+#####################################################################
+## protectedModule Generic Library:
+#####################################################################
+
+qt_add_cmake_library(protectedModule
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/ProtectedModule"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:protectedModule.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(protectedModule)
+# special case begin
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/ProtectedModule"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlmoduleplugin/strictModule.2/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/strictModule.2/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..d832421c8f
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/strictModule.2/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from strictModule.2.pro.
+
+#####################################################################
+## strictModule.2 Generic Library:
+#####################################################################
+
+qt_add_cmake_library(strictModule.2
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule.2"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:strictModule.2.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(strictModule.2)
diff --git a/tests/auto/qml/qqmlmoduleplugin/strictModule.2/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/strictModule.2/CMakeLists.txt
new file mode 100644
index 0000000000..9b69cf90ca
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/strictModule.2/CMakeLists.txt
@@ -0,0 +1,30 @@
+# Generated from strictModule.2.pro.
+
+#####################################################################
+## strictModule.2 Generic Library:
+#####################################################################
+
+qt_add_cmake_library(strictModule.2
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule.2"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:strictModule.2.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(strictModule.2)
+# special case begin
+set_target_properties(strictModule.2 PROPERTIES OUTPUT_NAME "strictModule")
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule.2"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlmoduleplugin/strictModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/strictModule/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..f8bb888bd9
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/strictModule/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from strictModule.pro.
+
+#####################################################################
+## strictModule Generic Library:
+#####################################################################
+
+qt_add_cmake_library(strictModule
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:strictModule.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(strictModule)
diff --git a/tests/auto/qml/qqmlmoduleplugin/strictModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/strictModule/CMakeLists.txt
new file mode 100644
index 0000000000..d3013fef73
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/strictModule/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from strictModule.pro.
+
+#####################################################################
+## strictModule Generic Library:
+#####################################################################
+
+qt_add_cmake_library(strictModule
+ MODULE
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule"
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:strictModule.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(strictModule)
+# special case begin
+file(COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlnotifier/CMakeLists.txt b/tests/auto/qml/qqmlnotifier/CMakeLists.txt
new file mode 100644
index 0000000000..5756cb353d
--- /dev/null
+++ b/tests/auto/qml/qqmlnotifier/CMakeLists.txt
@@ -0,0 +1,36 @@
+# Generated from qqmlnotifier.pro.
+
+#####################################################################
+## tst_qqmlnotifier Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlnotifier
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlnotifier.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlnotifier CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlnotifier CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlobjectmodel/CMakeLists.txt b/tests/auto/qml/qqmlobjectmodel/CMakeLists.txt
new file mode 100644
index 0000000000..347a68a8de
--- /dev/null
+++ b/tests/auto/qml/qqmlobjectmodel/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from qqmlobjectmodel.pro.
+
+#####################################################################
+## tst_qqmlobjectmodel Test:
+#####################################################################
+
+qt_add_test(tst_qqmlobjectmodel
+ SOURCES
+ tst_qqmlobjectmodel.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt b/tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt
new file mode 100644
index 0000000000..361ea61ae9
--- /dev/null
+++ b/tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from qqmlopenmetaobject.pro.
+
+#####################################################################
+## tst_qqmlopenmetaobject Test:
+#####################################################################
+
+qt_add_test(tst_qqmlopenmetaobject
+ SOURCES
+ tst_qqmlopenmetaobject.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qqmlparser/CMakeLists.txt b/tests/auto/qml/qqmlparser/CMakeLists.txt
new file mode 100644
index 0000000000..831fdff0e1
--- /dev/null
+++ b/tests/auto/qml/qqmlparser/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from qqmlparser.pro.
+
+#####################################################################
+## tst_qqmlparser Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlparser
+ SOURCES
+ ../../shared/qqmljsastdumper.cpp ../../shared/qqmljsastdumper.h
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlparser.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlparser CONDITION CMAKE_CROSSCOMPILING
+ DEFINES
+ QTEST_CROSS_COMPILED
+)
+
+qt_extend_target(tst_qqmlparser CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlparser CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlpromise/CMakeLists.txt b/tests/auto/qml/qqmlpromise/CMakeLists.txt
new file mode 100644
index 0000000000..870bdef320
--- /dev/null
+++ b/tests/auto/qml/qqmlpromise/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from qqmlpromise.pro.
+
+#####################################################################
+## tst_qqmlpromise Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlpromise
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlpromise.cpp
+ DEFINES
+ QT_DISABLE_DEPRECATED_BEFORE=0
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qqmlpromise.pro:<TRUE>:
+# DISTFILES = "data/then-fulfilled-non-callable.qml" "data/then-reject-non-callable.qml" "data/then-resolve-multiple-then.qml" "data/then-resolve-chaining.qml" "data/then-reject-chaining.qml" "data/promise-resolve-with-value.qml" "data/promise-resolve-with-promise.qml" "data/promise-reject-with-value.qml" "data/promise-executor-resolve.qml" "data/promise-get-length.qml" "data/promise-executor-reject.qml" "data/promise-reject-catch.qml" "data/promise-async-resolve-with-value.qml" "data/promise-async-reject-with-value.qml" "data/promise-all-resolve.qml" "data/promise-all-empty-input.qml" "data/promise-resolve-with-array.qml" "data/promise-all-reject-reject-is-last.qml" "data/promise-all-reject-reject-is-mid.qml" "data/promise-race-resolve-1st.qml" "data/promise-race-empty-input.qml" "data/promise-race-resolve-2nd.qml" "data/promise-race-resolve-1st-in-executor-function.qml" "data/promise-resolve-is-a-function.qml" "data/promise-resolve-function-length.qml" "data/promise-all-invoke-then-method.qml" "data/promise-resolve-with-empty.qml" "data/promise-executor-throw-exception.qml" "data/promise-executor-function-extensible.qml" "data/promise-all-noniterable-input.qml"
+# OTHER_FILES = <EMPTY>
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlpromise CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlpromise CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlproperty/CMakeLists.txt b/tests/auto/qml/qqmlproperty/CMakeLists.txt
new file mode 100644
index 0000000000..5899210558
--- /dev/null
+++ b/tests/auto/qml/qqmlproperty/CMakeLists.txt
@@ -0,0 +1,51 @@
+# Generated from qqmlproperty.pro.
+
+#####################################################################
+## tst_qqmlproperty Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlproperty
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ interfaces.h
+ tst_qqmlproperty.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qqmlproperty.pro:<TRUE>:
+# QML_IMPORT_NAME = "io.qt.bugreports"
+# QML_IMPORT_VERSION = "2.0"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlproperty CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlproperty CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
+
+set_target_properties(tst_qqmlproperty PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 2.0
+ QT_QML_MODULE_URI io.qt.bugreports
+)
+
+qt6_qml_type_registration(tst_qqmlproperty)
diff --git a/tests/auto/qml/qqmlpropertycache/CMakeLists.txt b/tests/auto/qml/qqmlpropertycache/CMakeLists.txt
new file mode 100644
index 0000000000..53a3c7b5dc
--- /dev/null
+++ b/tests/auto/qml/qqmlpropertycache/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from qqmlpropertycache.pro.
+
+#####################################################################
+## tst_qqmlpropertycache Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlpropertycache
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlpropertycache.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlpropertycache CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlpropertycache CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlpropertymap/CMakeLists.txt b/tests/auto/qml/qqmlpropertymap/CMakeLists.txt
new file mode 100644
index 0000000000..a327b2a500
--- /dev/null
+++ b/tests/auto/qml/qqmlpropertymap/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qqmlpropertymap.pro.
+
+#####################################################################
+## tst_qqmlpropertymap Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlpropertymap
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlpropertymap.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlpropertymap CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlpropertymap CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlqt/CMakeLists.txt b/tests/auto/qml/qqmlqt/CMakeLists.txt
new file mode 100644
index 0000000000..6b742636dc
--- /dev/null
+++ b/tests/auto/qml/qqmlqt/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qqmlqt.pro.
+
+#####################################################################
+## tst_qqmlqt Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlqt
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlqt.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlqt CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlqt CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlsettings/CMakeLists.txt b/tests/auto/qml/qqmlsettings/CMakeLists.txt
new file mode 100644
index 0000000000..6463c414d0
--- /dev/null
+++ b/tests/auto/qml/qqmlsettings/CMakeLists.txt
@@ -0,0 +1,36 @@
+# Generated from qqmlsettings.pro.
+
+#####################################################################
+## tst_qqmlsettings Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlsettings
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlsettings.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlsettings CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlsettings CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlsqldatabase/CMakeLists.txt b/tests/auto/qml/qqmlsqldatabase/CMakeLists.txt
new file mode 100644
index 0000000000..a5785fb650
--- /dev/null
+++ b/tests/auto/qml/qqmlsqldatabase/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qqmlsqldatabase.pro.
+
+#####################################################################
+## tst_qqmlsqldatabase Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlsqldatabase
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlsqldatabase.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::Sql
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlsqldatabase CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlsqldatabase CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlstatemachine/CMakeLists.txt b/tests/auto/qml/qqmlstatemachine/CMakeLists.txt
new file mode 100644
index 0000000000..d826173665
--- /dev/null
+++ b/tests/auto/qml/qqmlstatemachine/CMakeLists.txt
@@ -0,0 +1,32 @@
+# Generated from qqmlstatemachine.pro.
+
+#####################################################################
+## tst_qqmlstatemachine Test:
+#####################################################################
+
+qt_add_test(tst_qqmlstatemachine
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlstatemachine.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlstatemachine CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlstatemachine CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmltablemodel/CMakeLists.txt b/tests/auto/qml/qqmltablemodel/CMakeLists.txt
new file mode 100644
index 0000000000..f41e565178
--- /dev/null
+++ b/tests/auto/qml/qqmltablemodel/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qqmltablemodel.pro.
+
+#####################################################################
+## tst_qqmltablemodel Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmltablemodel
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmltablemodel.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlPrivate
+ Qt::Quick
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmltablemodel CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmltablemodel CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmltimer/CMakeLists.txt b/tests/auto/qml/qqmltimer/CMakeLists.txt
new file mode 100644
index 0000000000..aeb299c914
--- /dev/null
+++ b/tests/auto/qml/qqmltimer/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from qqmltimer.pro.
+
+#####################################################################
+## tst_qqmltimer Test:
+#####################################################################
+
+qt_add_test(tst_qqmltimer
+ SOURCES
+ tst_qqmltimer.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qqmltranslation/.prev_CMakeLists.txt b/tests/auto/qml/qqmltranslation/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..b33258c937
--- /dev/null
+++ b/tests/auto/qml/qqmltranslation/.prev_CMakeLists.txt
@@ -0,0 +1,54 @@
+# Generated from qqmltranslation.pro.
+
+#####################################################################
+## tst_qqmltranslation Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmltranslation
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmltranslation.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(translation_resource_files
+ "qml_fr.qm"
+ "translation.qml"
+)
+
+qt_add_resource(tst_qqmltranslation "translation"
+ PREFIX
+ "/"
+ BASE
+ "data"
+ FILES
+ ${translation_resource_files}
+)
+
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmltranslation CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmltranslation CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmltranslation/CMakeLists.txt b/tests/auto/qml/qqmltranslation/CMakeLists.txt
new file mode 100644
index 0000000000..b1cd51b9e9
--- /dev/null
+++ b/tests/auto/qml/qqmltranslation/CMakeLists.txt
@@ -0,0 +1,68 @@
+# Generated from qqmltranslation.pro.
+
+#####################################################################
+## tst_qqmltranslation Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmltranslation
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmltranslation.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(translation_resource_files
+ "qml_fr.qm"
+ "translation.qml"
+)
+
+# special case begin
+set_source_files_properties(
+ data/translation.qml
+ PROPERTIES
+ QT_SKIP_QUICKCOMPILER 1
+ QT_RESOURCE_ALIAS translation.qml
+)
+set_source_files_properties(
+ data/qml_fr.qm
+ PROPERTIES
+ QT_RESOURCE_ALIAS qml_fr.qm
+)
+# special case end
+
+qt_add_resource(tst_qqmltranslation "translation"
+ PREFIX
+ "/"
+ BASE
+ "data"
+ FILES
+ ${translation_resource_files}
+)
+
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmltranslation CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmltranslation CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmltypeloader/CMakeLists.txt b/tests/auto/qml/qqmltypeloader/CMakeLists.txt
new file mode 100644
index 0000000000..02b4ec6059
--- /dev/null
+++ b/tests/auto/qml/qqmltypeloader/CMakeLists.txt
@@ -0,0 +1,52 @@
+# Generated from tst_qqmltypeloader.pro.
+
+#####################################################################
+## tst_qqmltypeloader Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmltypeloader
+ SOURCES
+ ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
+ ../../shared/util.cpp ../../shared/util.h
+ declarativetesttype.h
+ tst_qqmltypeloader.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlPrivate
+ Qt::Quick
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:tst_qqmltypeloader.pro:<TRUE>:
+# QML_IMPORT_NAME = "declarative.import.for.typeloader.test"
+# QML_IMPORT_VERSION = "3.2"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmltypeloader CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmltypeloader CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
+
+set_target_properties(tst_qqmltypeloader PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 3.2
+ QT_QML_MODULE_URI declarative.import.for.typeloader.test
+)
+
+qt6_qml_type_registration(tst_qqmltypeloader)
diff --git a/tests/auto/qml/qqmltypeloader/SlowImport/.prev_CMakeLists.txt b/tests/auto/qml/qqmltypeloader/SlowImport/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..7dd4bb659c
--- /dev/null
+++ b/tests/auto/qml/qqmltypeloader/SlowImport/.prev_CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from Slow.pro.
+
+#####################################################################
+## Slow Generic Library:
+#####################################################################
+
+qt_add_cmake_library(Slow
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../Slow"
+ SOURCES
+ plugin.cpp plugin.h
+ slow.cpp slow.h
+ INCLUDE_DIRECTORIES
+ .
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+#### Keys ignored in scope 1:.:.:Slow.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
diff --git a/tests/auto/qml/qqmltypeloader/SlowImport/CMakeLists.txt b/tests/auto/qml/qqmltypeloader/SlowImport/CMakeLists.txt
new file mode 100644
index 0000000000..c377016682
--- /dev/null
+++ b/tests/auto/qml/qqmltypeloader/SlowImport/CMakeLists.txt
@@ -0,0 +1,30 @@
+# Generated from Slow.pro.
+
+#####################################################################
+## Slow Generic Library:
+#####################################################################
+
+qt_add_cmake_library(Slow
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../Slow"
+ SOURCES
+ plugin.cpp plugin.h
+ slow.cpp slow.h
+ INCLUDE_DIRECTORIES
+ .
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+#### Keys ignored in scope 1:.:.:Slow.pro:<TRUE>:
+# IMPORT_FILES = "qmldir"
+# TEMPLATE = "lib"
+
+# special case begin
+qt_autogen_tools_initial_setup(Slow)
+file (COPY qmldir
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../Slow"
+)
+# special case end
diff --git a/tests/auto/qml/qqmlvaluetypeproviders/CMakeLists.txt b/tests/auto/qml/qqmlvaluetypeproviders/CMakeLists.txt
new file mode 100644
index 0000000000..9c6e82e345
--- /dev/null
+++ b/tests/auto/qml/qqmlvaluetypeproviders/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qqmlvaluetypeproviders.pro.
+
+#####################################################################
+## tst_qqmlvaluetypeproviders Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlvaluetypeproviders
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ testtypes.cpp testtypes.h
+ tst_qqmlvaluetypeproviders.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlvaluetypeproviders CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlvaluetypeproviders CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlvaluetypes/CMakeLists.txt b/tests/auto/qml/qqmlvaluetypes/CMakeLists.txt
new file mode 100644
index 0000000000..530ab2352d
--- /dev/null
+++ b/tests/auto/qml/qqmlvaluetypes/CMakeLists.txt
@@ -0,0 +1,43 @@
+# Generated from qqmlvaluetypes.pro.
+
+#####################################################################
+## tst_qqmlvaluetypes Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlvaluetypes
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ testtypes.cpp testtypes.h
+ tst_qqmlvaluetypes.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qqmlvaluetypes.pro:<TRUE>:
+# DISTFILES = "data/customvaluetype.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlvaluetypes CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlvaluetypes CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt b/tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt
new file mode 100644
index 0000000000..8a25ab6c27
--- /dev/null
+++ b/tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qqmlxmlhttprequest.pro.
+
+#####################################################################
+## tst_qqmlxmlhttprequest Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qqmlxmlhttprequest
+ SOURCES
+ ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlxmlhttprequest.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlxmlhttprequest CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qqmlxmlhttprequest CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt b/tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..c35afd5081
--- /dev/null
+++ b/tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt
@@ -0,0 +1,53 @@
+# Generated from qquickfolderlistmodel.pro.
+
+#####################################################################
+## tst_qquickfolderlistmodel Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickfolderlistmodel
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickfolderlistmodel.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(introspect_resource_files
+ "txtdir/hello.txt"
+)
+
+qt_add_resource(tst_qquickfolderlistmodel "introspect"
+ PREFIX
+ "/myprefix/subdir"
+ BASE
+ "data"
+ FILES
+ ${introspect_resource_files}
+)
+
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickfolderlistmodel CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickfolderlistmodel CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qquickfolderlistmodel/CMakeLists.txt b/tests/auto/qml/qquickfolderlistmodel/CMakeLists.txt
new file mode 100644
index 0000000000..fdfe9967bb
--- /dev/null
+++ b/tests/auto/qml/qquickfolderlistmodel/CMakeLists.txt
@@ -0,0 +1,56 @@
+# Generated from qquickfolderlistmodel.pro.
+
+#####################################################################
+## tst_qquickfolderlistmodel Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickfolderlistmodel
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickfolderlistmodel.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+# special case begin
+set_source_files_properties(data/txtdir/hello.txt PROPERTIES QT_RESOURCE_ALIAS "txtdir/hello.txt")
+# special case end
+# Resources:
+set(introspect_resource_files
+ "txtdir/hello.txt"
+)
+
+qt_add_resource(tst_qquickfolderlistmodel "introspect"
+ PREFIX
+ "/myprefix/subdir"
+ BASE
+ "data"
+ FILES
+ ${introspect_resource_files}
+)
+
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickfolderlistmodel CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickfolderlistmodel CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qquickworkerscript/CMakeLists.txt b/tests/auto/qml/qquickworkerscript/CMakeLists.txt
new file mode 100644
index 0000000000..7445ade3cd
--- /dev/null
+++ b/tests/auto/qml/qquickworkerscript/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qquickworkerscript.pro.
+
+#####################################################################
+## tst_qquickworkerscript Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickworkerscript
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickworkerscript.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QmlWorkerScriptPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickworkerscript CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickworkerscript CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qrcqml/CMakeLists.txt b/tests/auto/qml/qrcqml/CMakeLists.txt
new file mode 100644
index 0000000000..88e910ba05
--- /dev/null
+++ b/tests/auto/qml/qrcqml/CMakeLists.txt
@@ -0,0 +1,90 @@
+# Generated from qrcqml.pro.
+
+#####################################################################
+## tst_qrcqml Test:
+#####################################################################
+
+qt_add_test(tst_qrcqml
+ SOURCES
+ tst_qrcqml.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+# Resources:
+set_source_files_properties("data/SameDir2.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SameDir.qml"
+)
+set_source_files_properties("data/importtest.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "importtest.qml"
+)
+set_source_files_properties("data/main2.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "main.qml"
+)
+set(qrcqml_resource_files
+ "data/SameDir.qml"
+ "data/SameDir2.qml"
+ "data/SubDir.qml"
+ "data/importtest.qml"
+ "data/main.qml"
+ "data/main2.qml"
+)
+
+qt_add_resource(tst_qrcqml "qrcqml"
+ PREFIX
+ "/"
+ FILES
+ ${qrcqml_resource_files}
+)
+set_source_files_properties("data/SameDir3.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SameDir.qml"
+)
+set_source_files_properties("data/main3.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "main.qml"
+)
+set(qrcqml1_resource_files
+ "data/SameDir3.qml"
+ "data/main3.qml"
+)
+
+qt_add_resource(tst_qrcqml "qrcqml1"
+ PREFIX
+ "/search"
+ FILES
+ ${qrcqml1_resource_files}
+)
+set_source_files_properties("data/SubDir.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SubDir.qml"
+)
+set(qrcqml2_resource_files
+ "data/SubDir.qml"
+)
+
+qt_add_resource(tst_qrcqml "qrcqml2"
+ PREFIX
+ "/search/data"
+ FILES
+ ${qrcqml2_resource_files}
+)
+set_source_files_properties("data/imports/QrcImport/Imported.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "QrcImport/Imported.qml"
+)
+set_source_files_properties("data/imports/QrcImport/qmldir"
+ PROPERTIES QT_RESOURCE_ALIAS "QrcImport/qmldir"
+)
+set(qrcqml3_resource_files
+ "data/imports/QrcImport/Imported.qml"
+ "data/imports/QrcImport/qmldir"
+)
+
+qt_add_resource(tst_qrcqml "qrcqml3"
+ PREFIX
+ "/imports"
+ FILES
+ ${qrcqml3_resource_files}
+)
+
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qtqmlmodules/CMakeLists.txt b/tests/auto/qml/qtqmlmodules/CMakeLists.txt
new file mode 100644
index 0000000000..210af57e23
--- /dev/null
+++ b/tests/auto/qml/qtqmlmodules/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from qtqmlmodules.pro.
+
+#####################################################################
+## tst_qtqmlmodules Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qtqmlmodules
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qtqmlmodules.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qtqmlmodules CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qtqmlmodules CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qv4assembler/CMakeLists.txt b/tests/auto/qml/qv4assembler/CMakeLists.txt
new file mode 100644
index 0000000000..13ce682c9a
--- /dev/null
+++ b/tests/auto/qml/qv4assembler/CMakeLists.txt
@@ -0,0 +1,36 @@
+# Generated from qv4assembler.pro.
+
+#####################################################################
+## tst_qv4assembler Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qv4assembler
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qv4assembler.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qv4assembler CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qv4assembler CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qv4identifiertable/CMakeLists.txt b/tests/auto/qml/qv4identifiertable/CMakeLists.txt
new file mode 100644
index 0000000000..8606bb0d3a
--- /dev/null
+++ b/tests/auto/qml/qv4identifiertable/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from qv4identifiertable.pro.
+
+#####################################################################
+## tst_qv4identifiertable Test:
+#####################################################################
+
+qt_add_test(tst_qv4identifiertable
+ SOURCES
+ tst_qv4identifiertable.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qv4mm/CMakeLists.txt b/tests/auto/qml/qv4mm/CMakeLists.txt
new file mode 100644
index 0000000000..b4c4c82f4f
--- /dev/null
+++ b/tests/auto/qml/qv4mm/CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from qv4mm.pro.
+
+#####################################################################
+## tst_qv4mm Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qv4mm
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qv4mm.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qv4mm CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qv4mm CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qml/qv4regexp/CMakeLists.txt b/tests/auto/qml/qv4regexp/CMakeLists.txt
new file mode 100644
index 0000000000..bba8314256
--- /dev/null
+++ b/tests/auto/qml/qv4regexp/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from qv4regexp.pro.
+
+#####################################################################
+## tst_qv4regexp Test:
+#####################################################################
+
+qt_add_test(tst_qv4regexp
+ SOURCES
+ tst_qv4regexp.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qwidgetsinqml/CMakeLists.txt b/tests/auto/qml/qwidgetsinqml/CMakeLists.txt
new file mode 100644
index 0000000000..2596f05930
--- /dev/null
+++ b/tests/auto/qml/qwidgetsinqml/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qwidgetsinqml.pro.
+
+#####################################################################
+## tst_qwidgetsinqml Test:
+#####################################################################
+
+qt_add_test(tst_qwidgetsinqml
+ SOURCES
+ tst_qwidgetsinqml.cpp
+ DEFINES
+ QT_DISABLE_DEPRECATED_BEFORE=0
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::Widgets
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/v4misc/CMakeLists.txt b/tests/auto/qml/v4misc/CMakeLists.txt
new file mode 100644
index 0000000000..65a2d26139
--- /dev/null
+++ b/tests/auto/qml/v4misc/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from v4misc.pro.
+
+#####################################################################
+## tst_v4misc Test:
+#####################################################################
+
+qt_add_test(tst_v4misc
+ SOURCES
+ tst_v4misc.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::QmlPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qmldevtools/CMakeLists.txt b/tests/auto/qmldevtools/CMakeLists.txt
new file mode 100644
index 0000000000..0a2ec8f18d
--- /dev/null
+++ b/tests/auto/qmldevtools/CMakeLists.txt
@@ -0,0 +1,5 @@
+# Generated from qmldevtools.pro.
+
+if(QT_FEATURE_private_tests)
+ add_subdirectory(compile)
+endif()
diff --git a/tests/auto/qmldevtools/compile/CMakeLists.txt b/tests/auto/qmldevtools/compile/CMakeLists.txt
new file mode 100644
index 0000000000..d569135990
--- /dev/null
+++ b/tests/auto/qmldevtools/compile/CMakeLists.txt
@@ -0,0 +1,30 @@
+# Generated from compile.pro.
+
+#####################################################################
+## tst_compile Binary:
+#####################################################################
+
+qt_add_executable(tst_compile
+ GUI
+ SOURCES
+ tst_compile.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QmlDevToolsPrivate
+)
+
+#### Keys ignored in scope 1:.:.:compile.pro:<TRUE>:
+# _OPTION = "host_build"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_compile CONDITION force_bootstrap
+ PUBLIC_LIBRARIES
+ Qt::BootstrapPrivate
+)
+
+qt_extend_target(tst_compile CONDITION NOT force_bootstrap
+ PUBLIC_LIBRARIES
+ Qt::Core
+)
diff --git a/tests/auto/qmltest-blacklist/shortcut/CMakeLists.txt b/tests/auto/qmltest-blacklist/shortcut/CMakeLists.txt
new file mode 100644
index 0000000000..0d2623d0d6
--- /dev/null
+++ b/tests/auto/qmltest-blacklist/shortcut/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from shortcut.pro.
+
+#####################################################################
+## shortcut Test:
+#####################################################################
+
+qt_add_test(shortcut
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/CMakeLists.txt b/tests/auto/qmltest/CMakeLists.txt
new file mode 100644
index 0000000000..184c1c1216
--- /dev/null
+++ b/tests/auto/qmltest/CMakeLists.txt
@@ -0,0 +1,30 @@
+# Generated from qmltest.pro.
+
+add_subdirectory(animatedimage)
+add_subdirectory(animations)
+add_subdirectory(borderimage)
+add_subdirectory(buttonclick)
+add_subdirectory(createbenchmark)
+add_subdirectory(events)
+add_subdirectory(fontloader)
+add_subdirectory(gradient)
+add_subdirectory(image)
+add_subdirectory(itemgrabber)
+add_subdirectory(layout)
+add_subdirectory(listmodel)
+add_subdirectory(listview)
+add_subdirectory(objectmodel)
+add_subdirectory(pathview)
+add_subdirectory(pixel)
+add_subdirectory(positioners)
+add_subdirectory(qqmlbinding)
+add_subdirectory(qtbug46798)
+add_subdirectory(rectangle)
+add_subdirectory(selftests)
+add_subdirectory(shadersource)
+add_subdirectory(stability)
+add_subdirectory(statemachine)
+add_subdirectory(text)
+add_subdirectory(textedit)
+add_subdirectory(textinput)
+add_subdirectory(window)
diff --git a/tests/auto/qmltest/animatedimage/CMakeLists.txt b/tests/auto/qmltest/animatedimage/CMakeLists.txt
new file mode 100644
index 0000000000..d30d87316d
--- /dev/null
+++ b/tests/auto/qmltest/animatedimage/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from animatedimage.pro.
+
+#####################################################################
+## animatedimage Test:
+#####################################################################
+
+qt_add_test(animatedimage
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/animations/CMakeLists.txt b/tests/auto/qmltest/animations/CMakeLists.txt
new file mode 100644
index 0000000000..d41f46ba1d
--- /dev/null
+++ b/tests/auto/qmltest/animations/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from animations.pro.
+
+#####################################################################
+## animations Test:
+#####################################################################
+
+qt_add_test(animations
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/borderimage/CMakeLists.txt b/tests/auto/qmltest/borderimage/CMakeLists.txt
new file mode 100644
index 0000000000..08e23089b1
--- /dev/null
+++ b/tests/auto/qmltest/borderimage/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from borderimage.pro.
+
+#####################################################################
+## borderimage Test:
+#####################################################################
+
+qt_add_test(borderimage
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/buttonclick/CMakeLists.txt b/tests/auto/qmltest/buttonclick/CMakeLists.txt
new file mode 100644
index 0000000000..014372220c
--- /dev/null
+++ b/tests/auto/qmltest/buttonclick/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from buttonclick.pro.
+
+#####################################################################
+## buttonclick Test:
+#####################################################################
+
+qt_add_test(buttonclick
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/createbenchmark/CMakeLists.txt b/tests/auto/qmltest/createbenchmark/CMakeLists.txt
new file mode 100644
index 0000000000..429f454b62
--- /dev/null
+++ b/tests/auto/qmltest/createbenchmark/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from createbenchmark.pro.
+
+#####################################################################
+## createbenchmark Test:
+#####################################################################
+
+qt_add_test(createbenchmark
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/events/CMakeLists.txt b/tests/auto/qmltest/events/CMakeLists.txt
new file mode 100644
index 0000000000..1382529616
--- /dev/null
+++ b/tests/auto/qmltest/events/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from events.pro.
+
+#####################################################################
+## events Test:
+#####################################################################
+
+qt_add_test(events
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/fontloader/CMakeLists.txt b/tests/auto/qmltest/fontloader/CMakeLists.txt
new file mode 100644
index 0000000000..7230785db7
--- /dev/null
+++ b/tests/auto/qmltest/fontloader/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from fontloader.pro.
+
+#####################################################################
+## fontloader Test:
+#####################################################################
+
+qt_add_test(fontloader
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/gradient/CMakeLists.txt b/tests/auto/qmltest/gradient/CMakeLists.txt
new file mode 100644
index 0000000000..c5341f4290
--- /dev/null
+++ b/tests/auto/qmltest/gradient/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from gradient.pro.
+
+#####################################################################
+## gradient Test:
+#####################################################################
+
+qt_add_test(gradient
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/image/CMakeLists.txt b/tests/auto/qmltest/image/CMakeLists.txt
new file mode 100644
index 0000000000..5d81076031
--- /dev/null
+++ b/tests/auto/qmltest/image/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from image.pro.
+
+#####################################################################
+## image Test:
+#####################################################################
+
+qt_add_test(image
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/itemgrabber/CMakeLists.txt b/tests/auto/qmltest/itemgrabber/CMakeLists.txt
new file mode 100644
index 0000000000..5570f31f49
--- /dev/null
+++ b/tests/auto/qmltest/itemgrabber/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from itemgrabber.pro.
+
+#####################################################################
+## itemgrabber Test:
+#####################################################################
+
+qt_add_test(itemgrabber
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/layout/CMakeLists.txt b/tests/auto/qmltest/layout/CMakeLists.txt
new file mode 100644
index 0000000000..e237397be4
--- /dev/null
+++ b/tests/auto/qmltest/layout/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from layout.pro.
+
+#####################################################################
+## layout Test:
+#####################################################################
+
+qt_add_test(layout
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/listmodel/CMakeLists.txt b/tests/auto/qmltest/listmodel/CMakeLists.txt
new file mode 100644
index 0000000000..29a60be7ae
--- /dev/null
+++ b/tests/auto/qmltest/listmodel/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from listmodel.pro.
+
+#####################################################################
+## listmodel Test:
+#####################################################################
+
+qt_add_test(listmodel
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/listview/CMakeLists.txt b/tests/auto/qmltest/listview/CMakeLists.txt
new file mode 100644
index 0000000000..1eed3177d8
--- /dev/null
+++ b/tests/auto/qmltest/listview/CMakeLists.txt
@@ -0,0 +1,15 @@
+# Generated from listview.pro.
+
+#####################################################################
+## listview Test:
+#####################################################################
+
+qt_add_test(listview
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
+
+#### Keys ignored in scope 1:.:.:listview.pro:<TRUE>:
+# DISTFILES = "$$PWD/tst_listview.qml" "$$PWD/data/*.qml"
diff --git a/tests/auto/qmltest/objectmodel/CMakeLists.txt b/tests/auto/qmltest/objectmodel/CMakeLists.txt
new file mode 100644
index 0000000000..ece17f4ac7
--- /dev/null
+++ b/tests/auto/qmltest/objectmodel/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from objectmodel.pro.
+
+#####################################################################
+## objectmodel Test:
+#####################################################################
+
+qt_add_test(objectmodel
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/pathview/CMakeLists.txt b/tests/auto/qmltest/pathview/CMakeLists.txt
new file mode 100644
index 0000000000..6f19715ba4
--- /dev/null
+++ b/tests/auto/qmltest/pathview/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from pathview.pro.
+
+#####################################################################
+## pathview Test:
+#####################################################################
+
+qt_add_test(pathview
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/pixel/CMakeLists.txt b/tests/auto/qmltest/pixel/CMakeLists.txt
new file mode 100644
index 0000000000..64ccfc207d
--- /dev/null
+++ b/tests/auto/qmltest/pixel/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from pixel.pro.
+
+#####################################################################
+## pixel Test:
+#####################################################################
+
+qt_add_test(pixel
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/positioners/CMakeLists.txt b/tests/auto/qmltest/positioners/CMakeLists.txt
new file mode 100644
index 0000000000..909558211a
--- /dev/null
+++ b/tests/auto/qmltest/positioners/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from positioners.pro.
+
+#####################################################################
+## positioners Test:
+#####################################################################
+
+qt_add_test(positioners
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/qqmlbinding/CMakeLists.txt b/tests/auto/qmltest/qqmlbinding/CMakeLists.txt
new file mode 100644
index 0000000000..a0731d6142
--- /dev/null
+++ b/tests/auto/qmltest/qqmlbinding/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from qqmlbinding.pro.
+
+#####################################################################
+## qqmlbinding Test:
+#####################################################################
+
+qt_add_test(qqmlbinding
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/qtbug46798/CMakeLists.txt b/tests/auto/qmltest/qtbug46798/CMakeLists.txt
new file mode 100644
index 0000000000..a7367a1d87
--- /dev/null
+++ b/tests/auto/qmltest/qtbug46798/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from qtbug46798.pro.
+
+#####################################################################
+## qtbug46798 Test:
+#####################################################################
+
+qt_add_test(qtbug46798
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/rectangle/CMakeLists.txt b/tests/auto/qmltest/rectangle/CMakeLists.txt
new file mode 100644
index 0000000000..8bab0dd585
--- /dev/null
+++ b/tests/auto/qmltest/rectangle/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from rectangle.pro.
+
+#####################################################################
+## rectangle Test:
+#####################################################################
+
+qt_add_test(rectangle
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/selftests/CMakeLists.txt b/tests/auto/qmltest/selftests/CMakeLists.txt
new file mode 100644
index 0000000000..f37053982c
--- /dev/null
+++ b/tests/auto/qmltest/selftests/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from selftests.pro.
+
+#####################################################################
+## selftests Test:
+#####################################################################
+
+qt_add_test(selftests
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/shadersource/CMakeLists.txt b/tests/auto/qmltest/shadersource/CMakeLists.txt
new file mode 100644
index 0000000000..169dfd6719
--- /dev/null
+++ b/tests/auto/qmltest/shadersource/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from shadersource.pro.
+
+#####################################################################
+## shadersource Test:
+#####################################################################
+
+qt_add_test(shadersource
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/stability/CMakeLists.txt b/tests/auto/qmltest/stability/CMakeLists.txt
new file mode 100644
index 0000000000..1f0d780403
--- /dev/null
+++ b/tests/auto/qmltest/stability/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from stability.pro.
+
+#####################################################################
+## stability Test:
+#####################################################################
+
+qt_add_test(stability
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/statemachine/CMakeLists.txt b/tests/auto/qmltest/statemachine/CMakeLists.txt
new file mode 100644
index 0000000000..fafaf382d8
--- /dev/null
+++ b/tests/auto/qmltest/statemachine/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from statemachine.pro.
+
+#####################################################################
+## statemachine Test:
+#####################################################################
+
+qt_add_test(statemachine
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/text/CMakeLists.txt b/tests/auto/qmltest/text/CMakeLists.txt
new file mode 100644
index 0000000000..8c25292dbd
--- /dev/null
+++ b/tests/auto/qmltest/text/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from text.pro.
+
+#####################################################################
+## text Test:
+#####################################################################
+
+qt_add_test(text
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/textedit/CMakeLists.txt b/tests/auto/qmltest/textedit/CMakeLists.txt
new file mode 100644
index 0000000000..7f257c6123
--- /dev/null
+++ b/tests/auto/qmltest/textedit/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from textedit.pro.
+
+#####################################################################
+## textedit Test:
+#####################################################################
+
+qt_add_test(textedit
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/textinput/CMakeLists.txt b/tests/auto/qmltest/textinput/CMakeLists.txt
new file mode 100644
index 0000000000..07df991c58
--- /dev/null
+++ b/tests/auto/qmltest/textinput/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from textinput.pro.
+
+#####################################################################
+## textinput Test:
+#####################################################################
+
+qt_add_test(textinput
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/qmltest/window/CMakeLists.txt b/tests/auto/qmltest/window/CMakeLists.txt
new file mode 100644
index 0000000000..584b182713
--- /dev/null
+++ b/tests/auto/qmltest/window/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from window.pro.
+
+#####################################################################
+## window Test:
+#####################################################################
+
+qt_add_test(window
+ GUI
+ QMLTEST
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/quick/.prev_CMakeLists.txt b/tests/auto/quick/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..488150c61c
--- /dev/null
+++ b/tests/auto/quick/.prev_CMakeLists.txt
@@ -0,0 +1,68 @@
+# Generated from quick.pro.
+
+add_subdirectory(geometry)
+add_subdirectory(qquickpixmapcache)
+if(QT_FEATURE_private_tests)
+ add_subdirectory(nokeywords)
+ add_subdirectory(propertyrequirements)
+ add_subdirectory(qquickanimations)
+ add_subdirectory(qquickapplication)
+ add_subdirectory(qquickbehaviors)
+ add_subdirectory(qquickboundaryrule)
+ add_subdirectory(qquickfontloader)
+ add_subdirectory(qquickfontloader_static)
+ add_subdirectory(qquickfontmetrics)
+ add_subdirectory(qquickimageprovider)
+ add_subdirectory(qquicklayouts)
+ add_subdirectory(qquickpath)
+ add_subdirectory(qquicksmoothedanimation)
+ add_subdirectory(qquickspringanimation)
+ add_subdirectory(qquickanimationcontroller)
+ add_subdirectory(qquickstyledtext)
+ add_subdirectory(qquickstates)
+ add_subdirectory(qquicksystempalette)
+ add_subdirectory(qquicktimeline)
+ add_subdirectory(pointerhandlers)
+ add_subdirectory(qquickaccessible)
+ add_subdirectory(qquickanchors)
+ add_subdirectory(qquickanimatedimage)
+ add_subdirectory(qquickdynamicpropertyanimation)
+ add_subdirectory(qquickborderimage)
+ add_subdirectory(qquickwindow)
+ add_subdirectory(qquickdrag)
+ add_subdirectory(qquickdroparea)
+ add_subdirectory(qquickflickable)
+ add_subdirectory(qquickflipable)
+ add_subdirectory(qquickfocusscope)
+ add_subdirectory(qquickgraphicsinfo)
+ add_subdirectory(qquickgridview)
+ add_subdirectory(qquickimage)
+ add_subdirectory(qquickitem)
+ add_subdirectory(qquickitem2)
+ add_subdirectory(qquickitemlayer)
+ add_subdirectory(qquicklistview)
+ add_subdirectory(qquicktableview)
+ add_subdirectory(qquickloader)
+ add_subdirectory(qquickmousearea)
+ add_subdirectory(qquickmultipointtoucharea)
+ add_subdirectory(qquickpainteditem)
+ add_subdirectory(qquickshape)
+ add_subdirectory(qquickpathview)
+ add_subdirectory(qquickpincharea)
+ add_subdirectory(qquickpositioners)
+ add_subdirectory(qquickrectangle)
+ add_subdirectory(qquickrepeater)
+ add_subdirectory(qquickshortcut)
+ add_subdirectory(qquicktext)
+ add_subdirectory(qquicktextdocument)
+ add_subdirectory(qquicktextedit)
+ add_subdirectory(qquicktextinput)
+ add_subdirectory(qquickvisualdatamodel)
+ add_subdirectory(qquickview)
+ add_subdirectory(qquickcanvasitem)
+ add_subdirectory(qquickdesignersupport)
+ add_subdirectory(qquickscreen)
+ add_subdirectory(touchmouse)
+ add_subdirectory(scenegraph)
+ add_subdirectory(sharedimage)
+endif()
diff --git a/tests/auto/quick/CMakeLists.txt b/tests/auto/quick/CMakeLists.txt
new file mode 100644
index 0000000000..187600dbf9
--- /dev/null
+++ b/tests/auto/quick/CMakeLists.txt
@@ -0,0 +1,68 @@
+# Generated from quick.pro.
+
+add_subdirectory(geometry)
+add_subdirectory(qquickpixmapcache)
+if(QT_FEATURE_private_tests)
+ add_subdirectory(nokeywords)
+ add_subdirectory(propertyrequirements)
+ add_subdirectory(qquickanimations)
+ add_subdirectory(qquickapplication)
+ add_subdirectory(qquickbehaviors)
+ add_subdirectory(qquickboundaryrule)
+ add_subdirectory(qquickfontloader)
+ add_subdirectory(qquickfontloader_static)
+ add_subdirectory(qquickfontmetrics)
+ add_subdirectory(qquickimageprovider)
+ add_subdirectory(qquicklayouts)
+ add_subdirectory(qquickpath)
+ add_subdirectory(qquicksmoothedanimation)
+ add_subdirectory(qquickspringanimation)
+ add_subdirectory(qquickanimationcontroller)
+ add_subdirectory(qquickstyledtext)
+ add_subdirectory(qquickstates)
+ add_subdirectory(qquicksystempalette)
+ add_subdirectory(qquicktimeline)
+ # add_subdirectory(pointerhandlers) # skip building until fixed in dev # special case
+ add_subdirectory(qquickaccessible)
+ add_subdirectory(qquickanchors)
+ add_subdirectory(qquickanimatedimage)
+ add_subdirectory(qquickdynamicpropertyanimation)
+ add_subdirectory(qquickborderimage)
+ add_subdirectory(qquickwindow)
+ add_subdirectory(qquickdrag)
+ add_subdirectory(qquickdroparea)
+ add_subdirectory(qquickflickable)
+ add_subdirectory(qquickflipable)
+ add_subdirectory(qquickfocusscope)
+ add_subdirectory(qquickgraphicsinfo)
+ add_subdirectory(qquickgridview)
+ add_subdirectory(qquickimage)
+ add_subdirectory(qquickitem)
+ add_subdirectory(qquickitem2)
+ add_subdirectory(qquickitemlayer)
+ add_subdirectory(qquicklistview)
+ add_subdirectory(qquicktableview)
+ add_subdirectory(qquickloader)
+ add_subdirectory(qquickmousearea)
+ # add_subdirectory(qquickmultipointtoucharea) # skip building until fixed in dev # special case
+ add_subdirectory(qquickpainteditem)
+ add_subdirectory(qquickshape)
+ add_subdirectory(qquickpathview)
+ add_subdirectory(qquickpincharea)
+ add_subdirectory(qquickpositioners)
+ add_subdirectory(qquickrectangle)
+ add_subdirectory(qquickrepeater)
+ add_subdirectory(qquickshortcut)
+ add_subdirectory(qquicktext)
+ add_subdirectory(qquicktextdocument)
+ add_subdirectory(qquicktextedit)
+ add_subdirectory(qquicktextinput)
+ add_subdirectory(qquickvisualdatamodel)
+ add_subdirectory(qquickview)
+ add_subdirectory(qquickcanvasitem)
+ add_subdirectory(qquickdesignersupport)
+ add_subdirectory(qquickscreen)
+ # add_subdirectory(touchmouse) # skip building until fixed in dev # special case
+ add_subdirectory(scenegraph)
+ add_subdirectory(sharedimage)
+endif()
diff --git a/tests/auto/quick/drawingmodes/CMakeLists.txt b/tests/auto/quick/drawingmodes/CMakeLists.txt
new file mode 100644
index 0000000000..79600f8faf
--- /dev/null
+++ b/tests/auto/quick/drawingmodes/CMakeLists.txt
@@ -0,0 +1,42 @@
+# Generated from drawingmodes.pro.
+
+#####################################################################
+## tst_drawingmodes Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_drawingmodes
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_drawingmodes.cpp
+ DEFINES
+ QT_DISABLE_DEPRECATED_BEFORE=0
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:drawingmodes.pro:<TRUE>:
+# OTHER_FILES = "data/DrawingModes.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_drawingmodes CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_drawingmodes CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/examples/CMakeLists.txt b/tests/auto/quick/examples/CMakeLists.txt
new file mode 100644
index 0000000000..74efa0ad40
--- /dev/null
+++ b/tests/auto/quick/examples/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from examples.pro.
+
+#####################################################################
+## tst_examples Test:
+#####################################################################
+
+qt_add_test(tst_examples
+ SOURCES
+ tst_examples.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+#### Keys ignored in scope 1:.:.:examples.pro:<TRUE>:
+# testcase.timeout = "400"
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/quick/geometry/CMakeLists.txt b/tests/auto/quick/geometry/CMakeLists.txt
new file mode 100644
index 0000000000..5a791a8a9e
--- /dev/null
+++ b/tests/auto/quick/geometry/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from geometry.pro.
+
+#####################################################################
+## tst_geometry Test:
+#####################################################################
+
+qt_add_test(tst_geometry
+ SOURCES
+ tst_geometry.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/quick/nodes/CMakeLists.txt b/tests/auto/quick/nodes/CMakeLists.txt
new file mode 100644
index 0000000000..825442479f
--- /dev/null
+++ b/tests/auto/quick/nodes/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from nodes.pro.
+
+#####################################################################
+## tst_nodestest Test:
+#####################################################################
+
+qt_add_test(tst_nodestest
+ SOURCES
+ tst_nodestest.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/quick/nokeywords/CMakeLists.txt b/tests/auto/quick/nokeywords/CMakeLists.txt
new file mode 100644
index 0000000000..bdf29817c0
--- /dev/null
+++ b/tests/auto/quick/nokeywords/CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from nokeywords.pro.
+
+#####################################################################
+## tst_nokeywords Test:
+#####################################################################
+
+qt_add_test(tst_nokeywords
+ SOURCES
+ tst_nokeywords.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::Quick
+ Qt::QuickPrivate
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_nokeywords CONDITION QT_FEATURE_opengl
+ LIBRARIES
+ Qt::OpenGLPrivate
+)
diff --git a/tests/auto/quick/pointerhandlers/CMakeLists.txt b/tests/auto/quick/pointerhandlers/CMakeLists.txt
new file mode 100644
index 0000000000..f8ac22d531
--- /dev/null
+++ b/tests/auto/quick/pointerhandlers/CMakeLists.txt
@@ -0,0 +1,14 @@
+# Generated from pointerhandlers.pro.
+
+if(QT_FEATURE_private_tests)
+ add_subdirectory(flickableinterop)
+ add_subdirectory(mousearea_interop)
+ add_subdirectory(multipointtoucharea_interop)
+ add_subdirectory(qquickdraghandler)
+ add_subdirectory(qquickhoverhandler)
+ add_subdirectory(qquickpinchhandler)
+ add_subdirectory(qquickpointerhandler)
+ add_subdirectory(qquickpointhandler)
+ add_subdirectory(qquicktaphandler)
+ add_subdirectory(qquickwheelhandler)
+endif()
diff --git a/tests/auto/quick/pointerhandlers/flickableinterop/CMakeLists.txt b/tests/auto/quick/pointerhandlers/flickableinterop/CMakeLists.txt
new file mode 100644
index 0000000000..86f5a1dae5
--- /dev/null
+++ b/tests/auto/quick/pointerhandlers/flickableinterop/CMakeLists.txt
@@ -0,0 +1,47 @@
+# Generated from flickableinterop.pro.
+
+#####################################################################
+## tst_flickableinterop Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_flickableinterop
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h
+ ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h
+ ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h
+ tst_flickableinterop.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:flickableinterop.pro:<TRUE>:
+# OTHER_FILES = "data/flickableWithHandlers.qml" "data/Slider.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_flickableinterop CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_flickableinterop CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/pointerhandlers/multipointtoucharea_interop/CMakeLists.txt b/tests/auto/quick/pointerhandlers/multipointtoucharea_interop/CMakeLists.txt
new file mode 100644
index 0000000000..3ea3d2d03b
--- /dev/null
+++ b/tests/auto/quick/pointerhandlers/multipointtoucharea_interop/CMakeLists.txt
@@ -0,0 +1,47 @@
+# Generated from multipointtoucharea_interop.pro.
+
+#####################################################################
+## tst_multipointtoucharea_interop Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_multipointtoucharea_interop
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h
+ ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h
+ ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h
+ tst_multipointtoucharea_interop.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:multipointtoucharea_interop.pro:<TRUE>:
+# OTHER_FILES = "data/pinchDragMPTA.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_multipointtoucharea_interop CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_multipointtoucharea_interop CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/pointerhandlers/qquickdraghandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquickdraghandler/CMakeLists.txt
new file mode 100644
index 0000000000..13d399768c
--- /dev/null
+++ b/tests/auto/quick/pointerhandlers/qquickdraghandler/CMakeLists.txt
@@ -0,0 +1,47 @@
+# Generated from qquickdraghandler.pro.
+
+#####################################################################
+## tst_qquickdraghandler Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickdraghandler
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h
+ ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h
+ ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h
+ tst_qquickdraghandler.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickdraghandler.pro:<TRUE>:
+# OTHER_FILES = "data/DragAnywhereSlider.qml" "data/FlashAnimation.qml" "data/Slider.qml" "data/draggables.qml" "data/grabberstate.qml" "data/multipleSliders.qml" "data/reparenting.qml" "data/snapMode.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickdraghandler CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickdraghandler CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/pointerhandlers/qquickhoverhandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquickhoverhandler/CMakeLists.txt
new file mode 100644
index 0000000000..38f25e2764
--- /dev/null
+++ b/tests/auto/quick/pointerhandlers/qquickhoverhandler/CMakeLists.txt
@@ -0,0 +1,47 @@
+# Generated from qquickhoverhandler.pro.
+
+#####################################################################
+## tst_qquickhoverhandler Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickhoverhandler
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h
+ ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h
+ ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h
+ tst_qquickhoverhandler.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickhoverhandler.pro:<TRUE>:
+# OTHER_FILES = "data/lesHoverables.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickhoverhandler CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickhoverhandler CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/pointerhandlers/qquickpinchhandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquickpinchhandler/CMakeLists.txt
new file mode 100644
index 0000000000..369cf0ae0c
--- /dev/null
+++ b/tests/auto/quick/pointerhandlers/qquickpinchhandler/CMakeLists.txt
@@ -0,0 +1,47 @@
+# Generated from qquickpinchhandler.pro.
+
+#####################################################################
+## tst_qquickpinchhandler Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickpinchhandler
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h
+ ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h
+ ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h
+ tst_qquickpinchhandler.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickpinchhandler.pro:<TRUE>:
+# OTHER_FILES = "data/pinchproperties.qml" "data/threeFingers.qml" "data/transformedPinchArea.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickpinchhandler CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickpinchhandler CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/pointerhandlers/qquickpointerhandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquickpointerhandler/CMakeLists.txt
new file mode 100644
index 0000000000..4b4e453105
--- /dev/null
+++ b/tests/auto/quick/pointerhandlers/qquickpointerhandler/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from qquickpointerhandler.pro.
+
+#####################################################################
+## tst_qquickpointerhandler Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickpointerhandler
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h
+ ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h
+ ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h
+ tst_qquickpointerhandler.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickpointerhandler CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickpointerhandler CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/pointerhandlers/qquickpointhandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquickpointhandler/CMakeLists.txt
new file mode 100644
index 0000000000..788a0bdfa3
--- /dev/null
+++ b/tests/auto/quick/pointerhandlers/qquickpointhandler/CMakeLists.txt
@@ -0,0 +1,47 @@
+# Generated from qquickpointhandler.pro.
+
+#####################################################################
+## tst_qquickpointhandler Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickpointhandler
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h
+ ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h
+ ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h
+ tst_qquickpointhandler.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickpointhandler.pro:<TRUE>:
+# OTHER_FILES = "data/pointTracker.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickpointhandler CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickpointhandler CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/pointerhandlers/qquicktaphandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquicktaphandler/CMakeLists.txt
new file mode 100644
index 0000000000..a8a9d5ae17
--- /dev/null
+++ b/tests/auto/quick/pointerhandlers/qquicktaphandler/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from qquicktaphandler.pro.
+
+#####################################################################
+## tst_qquicktaphandler Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquicktaphandler
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h
+ ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h
+ ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h
+ tst_qquicktaphandler.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquicktaphandler CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquicktaphandler CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/pointerhandlers/qquickwheelhandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquickwheelhandler/CMakeLists.txt
new file mode 100644
index 0000000000..0d599fed4e
--- /dev/null
+++ b/tests/auto/quick/pointerhandlers/qquickwheelhandler/CMakeLists.txt
@@ -0,0 +1,47 @@
+# Generated from qquickwheelhandler.pro.
+
+#####################################################################
+## tst_qquickwheelhandler Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickwheelhandler
+ SOURCES
+ ../../../shared/util.cpp ../../../shared/util.h
+ ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h
+ ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h
+ ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h
+ tst_qquickwheelhandler.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickwheelhandler.pro:<TRUE>:
+# OTHER_FILES = "data/rectWheel.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickwheelhandler CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickwheelhandler CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/propertyrequirements/CMakeLists.txt b/tests/auto/quick/propertyrequirements/CMakeLists.txt
new file mode 100644
index 0000000000..2a37646920
--- /dev/null
+++ b/tests/auto/quick/propertyrequirements/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from propertyrequirements.pro.
+
+#####################################################################
+## tst_propertyrequirements Test:
+#####################################################################
+
+qt_add_test(tst_propertyrequirements
+ SOURCES
+ tst_propertyrequirements.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QmlPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/quick/qquickaccessible/CMakeLists.txt b/tests/auto/quick/qquickaccessible/CMakeLists.txt
new file mode 100644
index 0000000000..3b0c4da56c
--- /dev/null
+++ b/tests/auto/quick/qquickaccessible/CMakeLists.txt
@@ -0,0 +1,43 @@
+# Generated from qquickaccessible.pro.
+
+#####################################################################
+## tst_qquickaccessible Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickaccessible
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickaccessible.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickaccessible.pro:<TRUE>:
+# OTHER_FILES = "data/checkbuttons.qml" "data/hittest.qml" "data/pushbutton.qml" "data/statictext.qml" "data/ignored.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickaccessible CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickaccessible CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickanchors/CMakeLists.txt b/tests/auto/quick/qquickanchors/CMakeLists.txt
new file mode 100644
index 0000000000..05977d740f
--- /dev/null
+++ b/tests/auto/quick/qquickanchors/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from qquickanchors.pro.
+
+#####################################################################
+## tst_qquickanchors Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickanchors
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickanchors.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickanchors CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickanchors CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickanimatedimage/CMakeLists.txt b/tests/auto/quick/qquickanimatedimage/CMakeLists.txt
new file mode 100644
index 0000000000..ef7c02e88d
--- /dev/null
+++ b/tests/auto/quick/qquickanimatedimage/CMakeLists.txt
@@ -0,0 +1,41 @@
+# Generated from qquickanimatedimage.pro.
+
+#####################################################################
+## tst_qquickanimatedimage Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickanimatedimage
+ SOURCES
+ ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickanimatedimage.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickanimatedimage CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickanimatedimage CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickanimatedsprite/CMakeLists.txt b/tests/auto/quick/qquickanimatedsprite/CMakeLists.txt
new file mode 100644
index 0000000000..6deac34ef6
--- /dev/null
+++ b/tests/auto/quick/qquickanimatedsprite/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from qquickanimatedsprite.pro.
+
+#####################################################################
+## tst_qquickanimatedsprite Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickanimatedsprite
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickanimatedsprite.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTest
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickanimatedsprite.pro:<TRUE>:
+# OTHER_FILES = "data/*.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickanimatedsprite CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickanimatedsprite CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickanimationcontroller/CMakeLists.txt b/tests/auto/quick/qquickanimationcontroller/CMakeLists.txt
new file mode 100644
index 0000000000..f958f9272e
--- /dev/null
+++ b/tests/auto/quick/qquickanimationcontroller/CMakeLists.txt
@@ -0,0 +1,27 @@
+# Generated from qquickanimationcontroller.pro.
+
+#####################################################################
+## tst_qquickanimationcontroller Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickanimationcontroller
+ GUI
+ QMLTEST
+ SOURCES
+ tst_qquickanimationcontroller.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickanimationcontroller.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/auto/quick/qquickanimations/CMakeLists.txt b/tests/auto/quick/qquickanimations/CMakeLists.txt
new file mode 100644
index 0000000000..9b556638d3
--- /dev/null
+++ b/tests/auto/quick/qquickanimations/CMakeLists.txt
@@ -0,0 +1,45 @@
+# Generated from qquickanimations.pro.
+
+#####################################################################
+## tst_qquickanimations Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickanimations
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickanimations.cpp
+ DEFINES
+ QT_DISABLE_DEPRECATED_BEFORE=0
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickanimations.pro:<TRUE>:
+# OTHER_FILES = "data/animationJobSelfDestructionBug.qml" "data/attached.qml" "data/badproperty1.qml" "data/badproperty2.qml" "data/badtype1.qml" "data/badtype2.qml" "data/badtype3.qml" "data/badtype4.qml" "data/disabledTransition.qml" "data/dontAutoStart.qml" "data/dontStart.qml" "data/dontStart2.qml" "data/dotproperty.qml" "data/Double.qml" "data/doubleRegistrationBug.qml" "data/fastFlickingBug.qml" "data/looping.qml" "data/mixedtype1.qml" "data/mixedtype2.qml" "data/nonTransitionBug.qml" "data/parallelAnimationNullChildBug.qml" "data/pathAnimation.qml" "data/pathAnimation2.qml" "data/pathAnimationInOutBackCrash.qml" "data/pathAnimationNoStart.qml" "data/pathInterpolator.qml" "data/pathInterpolatorBack.qml" "data/pathInterpolatorBack2.qml" "data/pathTransition.qml" "data/pauseBindingBug.qml" "data/pauseBug.qml" "data/properties.qml" "data/properties2.qml" "data/properties3.qml" "data/properties4.qml" "data/properties5.qml" "data/propertiesTransition.qml" "data/propertiesTransition2.qml" "data/propertiesTransition3.qml" "data/propertiesTransition4.qml" "data/propertiesTransition5.qml" "data/propertiesTransition6.qml" "data/propertiesTransition7.qml" "data/reanchor.qml" "data/registrationBug.qml" "data/reparent.qml" "data/rotation.qml" "data/runningTrueBug.qml" "data/scriptActionBug.qml" "data/scriptActionCrash.qml" "data/sequentialAnimationNullChildBug.qml" "data/signals.qml" "data/transitionAssignmentBug.qml" "data/valuesource.qml" "data/valuesource2.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickanimations CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickanimations CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickanimators/CMakeLists.txt b/tests/auto/quick/qquickanimators/CMakeLists.txt
new file mode 100644
index 0000000000..e0a9fa9029
--- /dev/null
+++ b/tests/auto/quick/qquickanimators/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from qquickanimators.pro.
+
+#####################################################################
+## tst_qquickanimators Test:
+#####################################################################
+
+qt_add_test(tst_qquickanimators
+ SOURCES
+ tst_qquickanimators.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/quick/qquickapplication/CMakeLists.txt b/tests/auto/quick/qquickapplication/CMakeLists.txt
new file mode 100644
index 0000000000..b45f76ca0d
--- /dev/null
+++ b/tests/auto/quick/qquickapplication/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from qquickapplication.pro.
+
+#####################################################################
+## tst_qquickapplication Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickapplication
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickapplication.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+ Qt::Quick
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickapplication.pro:<TRUE>:
+# OTHER_FILES = "data/tst_displayname.qml" "data/tst_platformname.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickapplication CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickapplication CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickbehaviors/CMakeLists.txt b/tests/auto/quick/qquickbehaviors/CMakeLists.txt
new file mode 100644
index 0000000000..7596076c00
--- /dev/null
+++ b/tests/auto/quick/qquickbehaviors/CMakeLists.txt
@@ -0,0 +1,42 @@
+# Generated from qquickbehaviors.pro.
+
+#####################################################################
+## tst_qquickbehaviors Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickbehaviors
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickbehaviors.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickbehaviors.pro:<TRUE>:
+# DISTFILES = "data/*"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickbehaviors CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickbehaviors CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickborderimage/CMakeLists.txt b/tests/auto/quick/qquickborderimage/CMakeLists.txt
new file mode 100644
index 0000000000..452f5a729b
--- /dev/null
+++ b/tests/auto/quick/qquickborderimage/CMakeLists.txt
@@ -0,0 +1,46 @@
+# Generated from qquickborderimage.pro.
+
+#####################################################################
+## tst_qquickborderimage Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickborderimage
+ SOURCES
+ ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickborderimage.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickborderimage CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickborderimage CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickboundaryrule/CMakeLists.txt b/tests/auto/quick/qquickboundaryrule/CMakeLists.txt
new file mode 100644
index 0000000000..7b410e578c
--- /dev/null
+++ b/tests/auto/quick/qquickboundaryrule/CMakeLists.txt
@@ -0,0 +1,45 @@
+# Generated from qquickboundaryrule.pro.
+
+#####################################################################
+## tst_qquickboundaryrule Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickboundaryrule
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickboundaryrule.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickboundaryrule CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickboundaryrule CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickcanvasitem/CMakeLists.txt b/tests/auto/quick/qquickcanvasitem/CMakeLists.txt
new file mode 100644
index 0000000000..0c935891b4
--- /dev/null
+++ b/tests/auto/quick/qquickcanvasitem/CMakeLists.txt
@@ -0,0 +1,36 @@
+# Generated from qquickcanvasitem.pro.
+
+#####################################################################
+## tst_qquickcanvasitem Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickcanvasitem
+ GUI
+ QMLTEST
+ SOURCES
+ tst_qquickcanvasitem.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickcanvasitem.pro:<TRUE>:
+# OTHER_FILES = "data/tst_transform.qml" "data/tst_text.qml" "data/tst_strokeStyle.qml" "data/tst_state.qml" "data/tst_shadow.qml" "data/tst_pattern.qml" "data/tst_path.qml" "data/tst_line.qml" "data/tst_fillStyle.qml" "data/tst_fillrect.qml" "data/tst_composite.qml" "data/tst_canvas.qml" "data/tst_pixel.qml" "data/tst_gradient.qml" "data/tst_arcto.qml" "data/tst_arc.qml" "data/tst_context.qml" "data/tst_imagedata.qml" "data/CanvasTestCase.qml" "data/CanvasComponent.qml" "data/tst_image.qml" "data/tst_svgpath.qml" "data/anim-gr.gif" "data/anim-gr.png" "data/anim-poster-gr.png" "data/background.png" "data/broken.png" "data/ggrr-256x256.png" "data/green-1x1.png" "data/green-2x2.png" "data/green-16x16.png" "data/green-256x256.png" "data/green.png" "data/grgr-256x256.png" "data/red-16x16.png" "data/red.png" "data/redtransparent.png" "data/rgrg-256x256.png" "data/rrgg-256x256.png" "data/transparent.png" "data/transparent50.png" "data/yellow.png" "data/yellow75.png" "data/tst_invalidContext.qml"
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickcanvasitem CONDITION EXISTS _ss_[QT_INSTALL_PLUGINS]/imageformats
+ DEFINES
+ HAS_IMAGE_FORMATS
+)
diff --git a/tests/auto/quick/qquickdesignersupport/CMakeLists.txt b/tests/auto/quick/qquickdesignersupport/CMakeLists.txt
new file mode 100644
index 0000000000..8582a77561
--- /dev/null
+++ b/tests/auto/quick/qquickdesignersupport/CMakeLists.txt
@@ -0,0 +1,47 @@
+# Generated from qquickdesignersupport.pro.
+
+#####################################################################
+## tst_qquickdesignersupport Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickdesignersupport
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickdesignersupport.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickdesignersupport.pro:<TRUE>:
+# DISTFILES = "data/TestComponent.qml" "data/test.qml" "data/componentTest.qml" "data/Component01.qml" "data/Component02.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickdesignersupport CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickdesignersupport CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickdrag/CMakeLists.txt b/tests/auto/quick/qquickdrag/CMakeLists.txt
new file mode 100644
index 0000000000..046072e769
--- /dev/null
+++ b/tests/auto/quick/qquickdrag/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qquickdrag.pro.
+
+#####################################################################
+## tst_qquickdrag Test:
+#####################################################################
+
+qt_add_test(tst_qquickdrag
+ SOURCES
+ tst_qquickdrag.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/quick/qquickdroparea/CMakeLists.txt b/tests/auto/quick/qquickdroparea/CMakeLists.txt
new file mode 100644
index 0000000000..f711d51b3a
--- /dev/null
+++ b/tests/auto/quick/qquickdroparea/CMakeLists.txt
@@ -0,0 +1,48 @@
+# Generated from qquickdroparea.pro.
+
+#####################################################################
+## tst_qquickdroparea Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickdroparea
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickdroparea.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickdroparea.pro:<TRUE>:
+# OTHER_FILES = "data/*.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickdroparea CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickdroparea CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickdynamicpropertyanimation/CMakeLists.txt b/tests/auto/quick/qquickdynamicpropertyanimation/CMakeLists.txt
new file mode 100644
index 0000000000..82638f0624
--- /dev/null
+++ b/tests/auto/quick/qquickdynamicpropertyanimation/CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from qquickdynamicpropertyanimation.pro.
+
+#####################################################################
+## tst_qquickdynamicpropertyanimation Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickdynamicpropertyanimation
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickdynamicpropertyanimation.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickdynamicpropertyanimation CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickdynamicpropertyanimation CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickflickable/CMakeLists.txt b/tests/auto/quick/qquickflickable/CMakeLists.txt
new file mode 100644
index 0000000000..99aac8c0f9
--- /dev/null
+++ b/tests/auto/quick/qquickflickable/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from qquickflickable.pro.
+
+#####################################################################
+## tst_qquickflickable Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickflickable
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickflickable.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickflickable CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickflickable CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickflipable/CMakeLists.txt b/tests/auto/quick/qquickflipable/CMakeLists.txt
new file mode 100644
index 0000000000..e037cb2870
--- /dev/null
+++ b/tests/auto/quick/qquickflipable/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qquickflipable.pro.
+
+#####################################################################
+## tst_qquickflipable Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickflipable
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickflipable.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickflipable CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickflipable CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickfocusscope/CMakeLists.txt b/tests/auto/quick/qquickfocusscope/CMakeLists.txt
new file mode 100644
index 0000000000..987d9f2c08
--- /dev/null
+++ b/tests/auto/quick/qquickfocusscope/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from qquickfocusscope.pro.
+
+#####################################################################
+## tst_qquickfocusscope Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickfocusscope
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickfocusscope.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickfocusscope CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickfocusscope CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickfontloader/CMakeLists.txt b/tests/auto/quick/qquickfontloader/CMakeLists.txt
new file mode 100644
index 0000000000..03ff5a1a83
--- /dev/null
+++ b/tests/auto/quick/qquickfontloader/CMakeLists.txt
@@ -0,0 +1,41 @@
+# Generated from qquickfontloader.pro.
+
+#####################################################################
+## tst_qquickfontloader Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickfontloader
+ SOURCES
+ ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickfontloader.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickfontloader CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickfontloader CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickfontloader_static/CMakeLists.txt b/tests/auto/quick/qquickfontloader_static/CMakeLists.txt
new file mode 100644
index 0000000000..8679830ea4
--- /dev/null
+++ b/tests/auto/quick/qquickfontloader_static/CMakeLists.txt
@@ -0,0 +1,42 @@
+# Generated from qquickfontloader_static.pro.
+
+#####################################################################
+## tst_qquickfontloader_static Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickfontloader_static
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickfontloader_static.cpp
+ DEFINES
+ QT_DISABLE_DEPRECATED_BEFORE=0
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickfontloader_static CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickfontloader_static CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickfontmetrics/CMakeLists.txt b/tests/auto/quick/qquickfontmetrics/CMakeLists.txt
new file mode 100644
index 0000000000..7509c6dd86
--- /dev/null
+++ b/tests/auto/quick/qquickfontmetrics/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from qquickfontmetrics.pro.
+
+#####################################################################
+## tst_quickfontmetrics Test:
+#####################################################################
+
+qt_add_test(tst_quickfontmetrics
+ SOURCES
+ tst_quickfontmetrics.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QuickPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/quick/qquickframebufferobject/CMakeLists.txt b/tests/auto/quick/qquickframebufferobject/CMakeLists.txt
new file mode 100644
index 0000000000..0f04723557
--- /dev/null
+++ b/tests/auto/quick/qquickframebufferobject/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qquickframebufferobject.pro.
+
+#####################################################################
+## tst_qquickframebufferobject Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickframebufferobject
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickframebufferobject.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Quick
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickframebufferobject.pro:<TRUE>:
+# OTHER_FILES = "data/testStuff.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickframebufferobject CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickframebufferobject CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickgraphicsinfo/CMakeLists.txt b/tests/auto/quick/qquickgraphicsinfo/CMakeLists.txt
new file mode 100644
index 0000000000..0393d805e6
--- /dev/null
+++ b/tests/auto/quick/qquickgraphicsinfo/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qquickgraphicsinfo.pro.
+
+#####################################################################
+## tst_qquickgraphicsinfo Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickgraphicsinfo
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickgraphicsinfo.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Quick
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickgraphicsinfo.pro:<TRUE>:
+# OTHER_FILES = "data/basic.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickgraphicsinfo CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickgraphicsinfo CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickgridview/CMakeLists.txt b/tests/auto/quick/qquickgridview/CMakeLists.txt
new file mode 100644
index 0000000000..f67fc203d4
--- /dev/null
+++ b/tests/auto/quick/qquickgridview/CMakeLists.txt
@@ -0,0 +1,49 @@
+# Generated from qquickgridview.pro.
+
+#####################################################################
+## tst_qquickgridview Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickgridview
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickgridview.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTest
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickgridview.pro:<TRUE>:
+# testcase.timeout = "1100"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickgridview CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickgridview CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickimage/CMakeLists.txt b/tests/auto/quick/qquickimage/CMakeLists.txt
new file mode 100644
index 0000000000..28f09b02d1
--- /dev/null
+++ b/tests/auto/quick/qquickimage/CMakeLists.txt
@@ -0,0 +1,46 @@
+# Generated from qquickimage.pro.
+
+#####################################################################
+## tst_qquickimage Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickimage
+ SOURCES
+ ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickimage.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickimage CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickimage CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickimageprovider/CMakeLists.txt b/tests/auto/quick/qquickimageprovider/CMakeLists.txt
new file mode 100644
index 0000000000..7771df4237
--- /dev/null
+++ b/tests/auto/quick/qquickimageprovider/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qquickimageprovider.pro.
+
+#####################################################################
+## tst_qquickimageprovider Test:
+#####################################################################
+
+qt_add_test(tst_qquickimageprovider
+ SOURCES
+ tst_qquickimageprovider.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/quick/qquickitem/CMakeLists.txt b/tests/auto/quick/qquickitem/CMakeLists.txt
new file mode 100644
index 0000000000..bb829a99a1
--- /dev/null
+++ b/tests/auto/quick/qquickitem/CMakeLists.txt
@@ -0,0 +1,51 @@
+# Generated from qquickitem.pro.
+
+#####################################################################
+## tst_qquickitem Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickitem
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickitem.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickitem CONDITION TARGET Qt::Widgets
+ DEFINES
+ TEST_QTBUG_60123
+ PUBLIC_LIBRARIES
+ Qt::Widgets
+)
+
+qt_extend_target(tst_qquickitem CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickitem CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickitem2/CMakeLists.txt b/tests/auto/quick/qquickitem2/CMakeLists.txt
new file mode 100644
index 0000000000..5177123d6f
--- /dev/null
+++ b/tests/auto/quick/qquickitem2/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qquickitem2.pro.
+
+#####################################################################
+## tst_qquickitem2 Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickitem2
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickitem.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickitem2 CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickitem2 CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickitemlayer/CMakeLists.txt b/tests/auto/quick/qquickitemlayer/CMakeLists.txt
new file mode 100644
index 0000000000..25024bce0c
--- /dev/null
+++ b/tests/auto/quick/qquickitemlayer/CMakeLists.txt
@@ -0,0 +1,42 @@
+# Generated from qquickitemlayer.pro.
+
+#####################################################################
+## tst_qquickitemlayer Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickitemlayer
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickitemlayer.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickitemlayer.pro:<TRUE>:
+# OTHER_FILES = "data/Smooth.qml" "data/Enabled.qml" "data/Mipmap.qml" "data/Effect.qml" "data/SourceRect.qml" "data/TextureProvider.qml" "data/Visible.qml" "data/ZOrder.qml" "data/ZOrderChange.qml" "data/ToggleLayerAndEffect.qml" "data/DisableLayer.qml" "data/SamplerNameChange.qml" "data/ItemEffect.qml" "data/RectangleEffect.qml" "data/TextureMirroring.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickitemlayer CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickitemlayer CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquicklayouts/CMakeLists.txt b/tests/auto/quick/qquicklayouts/CMakeLists.txt
new file mode 100644
index 0000000000..f750a4f1c5
--- /dev/null
+++ b/tests/auto/quick/qquicklayouts/CMakeLists.txt
@@ -0,0 +1,28 @@
+# Generated from qquicklayouts.pro.
+
+#####################################################################
+## tst_qquicklayouts Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquicklayouts
+ GUI
+ QMLTEST
+ SOURCES
+ tst_qquicklayouts.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquicklayouts.pro:<TRUE>:
+# OTHER_FILES = "data/tst_rowlayout.qml" "data/tst_gridlayout.qml" "data/tst_stacklayout.qml"
+# TEMPLATE = "app"
diff --git a/tests/auto/quick/qquicklistview/CMakeLists.txt b/tests/auto/quick/qquicklistview/CMakeLists.txt
new file mode 100644
index 0000000000..e983bcac96
--- /dev/null
+++ b/tests/auto/quick/qquicklistview/CMakeLists.txt
@@ -0,0 +1,54 @@
+# Generated from qquicklistview.pro.
+
+#####################################################################
+## tst_qquicklistview Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquicklistview
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ incrementalmodel.cpp incrementalmodel.h
+ proxytestinnermodel.cpp proxytestinnermodel.h
+ randomsortmodel.cpp randomsortmodel.h
+ reusemodel.h
+ tst_qquicklistview.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTest
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquicklistview.pro:<TRUE>:
+# DISTFILES = "data/*"
+# testcase.timeout = "900"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquicklistview CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquicklistview CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickloader/CMakeLists.txt b/tests/auto/quick/qquickloader/CMakeLists.txt
new file mode 100644
index 0000000000..8ebb9d261f
--- /dev/null
+++ b/tests/auto/quick/qquickloader/CMakeLists.txt
@@ -0,0 +1,46 @@
+# Generated from qquickloader.pro.
+
+#####################################################################
+## tst_qquickloader Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickloader
+ SOURCES
+ ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickloader.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickloader CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickloader CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickmousearea/CMakeLists.txt b/tests/auto/quick/qquickmousearea/CMakeLists.txt
new file mode 100644
index 0000000000..f06518d100
--- /dev/null
+++ b/tests/auto/quick/qquickmousearea/CMakeLists.txt
@@ -0,0 +1,49 @@
+# Generated from qquickmousearea.pro.
+
+#####################################################################
+## tst_qquickmousearea Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickmousearea
+ SOURCES
+ ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickmousearea.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickmousearea.pro:<TRUE>:
+# OTHER_FILES = "data/*.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickmousearea CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickmousearea CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickmultipointtoucharea/CMakeLists.txt b/tests/auto/quick/qquickmultipointtoucharea/CMakeLists.txt
new file mode 100644
index 0000000000..70c533d791
--- /dev/null
+++ b/tests/auto/quick/qquickmultipointtoucharea/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from qquickmultipointtoucharea.pro.
+
+#####################################################################
+## tst_qquickmultipointtoucharea Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickmultipointtoucharea
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickmultipointtoucharea.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickmultipointtoucharea CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickmultipointtoucharea CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickopenglinfo/CMakeLists.txt b/tests/auto/quick/qquickopenglinfo/CMakeLists.txt
new file mode 100644
index 0000000000..c0bc92c73f
--- /dev/null
+++ b/tests/auto/quick/qquickopenglinfo/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qquickopenglinfo.pro.
+
+#####################################################################
+## tst_qquickopenglinfo Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickopenglinfo
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickopenglinfo.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Quick
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickopenglinfo.pro:<TRUE>:
+# OTHER_FILES = "data/basic.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickopenglinfo CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickopenglinfo CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickpainteditem/CMakeLists.txt b/tests/auto/quick/qquickpainteditem/CMakeLists.txt
new file mode 100644
index 0000000000..c07fff8ef1
--- /dev/null
+++ b/tests/auto/quick/qquickpainteditem/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qquickpainteditem.pro.
+
+#####################################################################
+## tst_qquickpainteditem Test:
+#####################################################################
+
+qt_add_test(tst_qquickpainteditem
+ SOURCES
+ tst_qquickpainteditem.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/quick/qquickpath/CMakeLists.txt b/tests/auto/quick/qquickpath/CMakeLists.txt
new file mode 100644
index 0000000000..bae3f9065b
--- /dev/null
+++ b/tests/auto/quick/qquickpath/CMakeLists.txt
@@ -0,0 +1,42 @@
+# Generated from qquickpath.pro.
+
+#####################################################################
+## tst_qquickpath Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickpath
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickpath.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickpath.pro:<TRUE>:
+# DISTFILES = "data/*"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickpath CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickpath CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickpathview/CMakeLists.txt b/tests/auto/quick/qquickpathview/CMakeLists.txt
new file mode 100644
index 0000000000..3a36f7fb2a
--- /dev/null
+++ b/tests/auto/quick/qquickpathview/CMakeLists.txt
@@ -0,0 +1,51 @@
+# Generated from qquickpathview.pro.
+
+#####################################################################
+## tst_qquickpathview Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickpathview
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickpathview.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTest
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickpathview CONDITION TARGET Qt::Widgets
+ PUBLIC_LIBRARIES
+ Qt::Widgets
+)
+
+qt_extend_target(tst_qquickpathview CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickpathview CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickpincharea/CMakeLists.txt b/tests/auto/quick/qquickpincharea/CMakeLists.txt
new file mode 100644
index 0000000000..6ee34e5ca4
--- /dev/null
+++ b/tests/auto/quick/qquickpincharea/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from qquickpincharea.pro.
+
+#####################################################################
+## tst_qquickpincharea Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickpincharea
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickpincharea.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickpincharea CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickpincharea CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickpixmapcache/CMakeLists.txt b/tests/auto/quick/qquickpixmapcache/CMakeLists.txt
new file mode 100644
index 0000000000..d76a29a861
--- /dev/null
+++ b/tests/auto/quick/qquickpixmapcache/CMakeLists.txt
@@ -0,0 +1,42 @@
+# Generated from qquickpixmapcache.pro.
+
+#####################################################################
+## tst_qquickpixmapcache Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickpixmapcache
+ SOURCES
+ ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickpixmapcache.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Concurrent
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickpixmapcache CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickpixmapcache CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickpositioners/CMakeLists.txt b/tests/auto/quick/qquickpositioners/CMakeLists.txt
new file mode 100644
index 0000000000..ce44673738
--- /dev/null
+++ b/tests/auto/quick/qquickpositioners/CMakeLists.txt
@@ -0,0 +1,45 @@
+# Generated from qquickpositioners.pro.
+
+#####################################################################
+## tst_qquickpositioners Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickpositioners
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickpositioners.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTest
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickpositioners CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickpositioners CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickrectangle/CMakeLists.txt b/tests/auto/quick/qquickrectangle/CMakeLists.txt
new file mode 100644
index 0000000000..0d44623441
--- /dev/null
+++ b/tests/auto/quick/qquickrectangle/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from qquickrectangle.pro.
+
+#####################################################################
+## tst_qquickrectangle Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickrectangle
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickrectangle.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickrectangle CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickrectangle CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickrepeater/CMakeLists.txt b/tests/auto/quick/qquickrepeater/CMakeLists.txt
new file mode 100644
index 0000000000..3eecbc6c54
--- /dev/null
+++ b/tests/auto/quick/qquickrepeater/CMakeLists.txt
@@ -0,0 +1,45 @@
+# Generated from qquickrepeater.pro.
+
+#####################################################################
+## tst_qquickrepeater Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickrepeater
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickrepeater.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickrepeater CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickrepeater CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickscreen/CMakeLists.txt b/tests/auto/quick/qquickscreen/CMakeLists.txt
new file mode 100644
index 0000000000..201393139a
--- /dev/null
+++ b/tests/auto/quick/qquickscreen/CMakeLists.txt
@@ -0,0 +1,32 @@
+# Generated from qquickscreen.pro.
+
+#####################################################################
+## tst_qquickscreen Test:
+#####################################################################
+
+qt_add_test(tst_qquickscreen
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickscreen.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickscreen CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickscreen CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickshadereffect/CMakeLists.txt b/tests/auto/quick/qquickshadereffect/CMakeLists.txt
new file mode 100644
index 0000000000..7d3b7b26be
--- /dev/null
+++ b/tests/auto/quick/qquickshadereffect/CMakeLists.txt
@@ -0,0 +1,32 @@
+# Generated from qquickshadereffect.pro.
+
+#####################################################################
+## tst_qquickshadereffect Test:
+#####################################################################
+
+qt_add_test(tst_qquickshadereffect
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickshadereffect.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickshadereffect CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickshadereffect CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickshape/CMakeLists.txt b/tests/auto/quick/qquickshape/CMakeLists.txt
new file mode 100644
index 0000000000..fa75b37c1d
--- /dev/null
+++ b/tests/auto/quick/qquickshape/CMakeLists.txt
@@ -0,0 +1,53 @@
+# Generated from qquickshape.pro.
+
+#####################################################################
+## tst_qquickshape Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickshape
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickshape.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickShapesPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickshape.pro:<TRUE>:
+# DISTFILES = "data/*"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickshape CONDITION TARGET Qt::Widgets
+ PUBLIC_LIBRARIES
+ Qt::Widgets
+)
+
+qt_extend_target(tst_qquickshape CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickshape CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickshortcut/CMakeLists.txt b/tests/auto/quick/qquickshortcut/CMakeLists.txt
new file mode 100644
index 0000000000..8bad39e70c
--- /dev/null
+++ b/tests/auto/quick/qquickshortcut/CMakeLists.txt
@@ -0,0 +1,42 @@
+# Generated from qquickshortcut.pro.
+
+#####################################################################
+## tst_qquickshortcut Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickshortcut
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickshortcut.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickshortcut CONDITION TARGET Qt::Widgets
+ PUBLIC_LIBRARIES
+ Qt::QuickWidgets
+)
+
+qt_extend_target(tst_qquickshortcut CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickshortcut CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquicksmoothedanimation/CMakeLists.txt b/tests/auto/quick/qquicksmoothedanimation/CMakeLists.txt
new file mode 100644
index 0000000000..2c1e59e459
--- /dev/null
+++ b/tests/auto/quick/qquicksmoothedanimation/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qquicksmoothedanimation.pro.
+
+#####################################################################
+## tst_qquicksmoothedanimation Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquicksmoothedanimation
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquicksmoothedanimation.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquicksmoothedanimation CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquicksmoothedanimation CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickspringanimation/CMakeLists.txt b/tests/auto/quick/qquickspringanimation/CMakeLists.txt
new file mode 100644
index 0000000000..ba86dacc82
--- /dev/null
+++ b/tests/auto/quick/qquickspringanimation/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qquickspringanimation.pro.
+
+#####################################################################
+## tst_qquickspringanimation Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickspringanimation
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickspringanimation.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickspringanimation CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickspringanimation CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickspritesequence/CMakeLists.txt b/tests/auto/quick/qquickspritesequence/CMakeLists.txt
new file mode 100644
index 0000000000..bc6711dae3
--- /dev/null
+++ b/tests/auto/quick/qquickspritesequence/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qquickspritesequence.pro.
+
+#####################################################################
+## tst_qquickspritesequence Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickspritesequence
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickspritesequence.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickspritesequence CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickspritesequence CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickstates/CMakeLists.txt b/tests/auto/quick/qquickstates/CMakeLists.txt
new file mode 100644
index 0000000000..b512e2c8d0
--- /dev/null
+++ b/tests/auto/quick/qquickstates/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qquickstates.pro.
+
+#####################################################################
+## tst_qquickstates Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickstates
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickstates.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickstates CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickstates CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickstyledtext/CMakeLists.txt b/tests/auto/quick/qquickstyledtext/CMakeLists.txt
new file mode 100644
index 0000000000..bc73e9178c
--- /dev/null
+++ b/tests/auto/quick/qquickstyledtext/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qquickstyledtext.pro.
+
+#####################################################################
+## tst_qquickstyledtext Test:
+#####################################################################
+
+qt_add_test(tst_qquickstyledtext
+ SOURCES
+ tst_qquickstyledtext.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/quick/qquicksystempalette/CMakeLists.txt b/tests/auto/quick/qquicksystempalette/CMakeLists.txt
new file mode 100644
index 0000000000..57efc14e65
--- /dev/null
+++ b/tests/auto/quick/qquicksystempalette/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from qquicksystempalette.pro.
+
+#####################################################################
+## tst_qquicksystempalette Test:
+#####################################################################
+
+qt_add_test(tst_qquicksystempalette
+ SOURCES
+ tst_qquicksystempalette.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquicksystempalette CONDITION TARGET Qt::Widgets
+ PUBLIC_LIBRARIES
+ Qt::Widgets
+)
diff --git a/tests/auto/quick/qquicktableview/CMakeLists.txt b/tests/auto/quick/qquicktableview/CMakeLists.txt
new file mode 100644
index 0000000000..9d61c40cdb
--- /dev/null
+++ b/tests/auto/quick/qquicktableview/CMakeLists.txt
@@ -0,0 +1,50 @@
+# Generated from qquicktableview.pro.
+
+#####################################################################
+## tst_qquicktableview Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquicktableview
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ testmodel.h
+ tst_qquicktableview.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTest
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquicktableview.pro:<TRUE>:
+# DISTFILES = <EMPTY>
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquicktableview CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquicktableview CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquicktext/CMakeLists.txt b/tests/auto/quick/qquicktext/CMakeLists.txt
new file mode 100644
index 0000000000..ba3f9dcbfa
--- /dev/null
+++ b/tests/auto/quick/qquicktext/CMakeLists.txt
@@ -0,0 +1,42 @@
+# Generated from qquicktext.pro.
+
+#####################################################################
+## tst_qquicktext Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquicktext
+ SOURCES
+ ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquicktext.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Network
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTest
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquicktext CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquicktext CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquicktextdocument/CMakeLists.txt b/tests/auto/quick/qquicktextdocument/CMakeLists.txt
new file mode 100644
index 0000000000..6785baad42
--- /dev/null
+++ b/tests/auto/quick/qquicktextdocument/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qquicktextdocument.pro.
+
+#####################################################################
+## tst_qquicktextdocument Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquicktextdocument
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquicktextdocument.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquicktextdocument CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquicktextdocument CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquicktextedit/CMakeLists.txt b/tests/auto/quick/qquicktextedit/CMakeLists.txt
new file mode 100644
index 0000000000..29b6df96c5
--- /dev/null
+++ b/tests/auto/quick/qquicktextedit/CMakeLists.txt
@@ -0,0 +1,51 @@
+# Generated from qquicktextedit.pro.
+
+#####################################################################
+## tst_qquicktextedit Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquicktextedit
+ SOURCES
+ ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquicktextedit.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::NetworkPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquicktextedit CONDITION APPLE_OSX
+ PUBLIC_LIBRARIES
+ ${FWAppKit}
+)
+
+qt_extend_target(tst_qquicktextedit CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquicktextedit CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquicktextinput/CMakeLists.txt b/tests/auto/quick/qquicktextinput/CMakeLists.txt
new file mode 100644
index 0000000000..22b3e3d953
--- /dev/null
+++ b/tests/auto/quick/qquicktextinput/CMakeLists.txt
@@ -0,0 +1,45 @@
+# Generated from qquicktextinput.pro.
+
+#####################################################################
+## tst_qquicktextinput Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquicktextinput
+ SOURCES
+ ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquicktextinput.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquicktextinput CONDITION APPLE_OSX
+ PUBLIC_LIBRARIES
+ ${FWAppKit}
+)
+
+qt_extend_target(tst_qquicktextinput CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquicktextinput CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquicktextmetrics/CMakeLists.txt b/tests/auto/quick/qquicktextmetrics/CMakeLists.txt
new file mode 100644
index 0000000000..74e5c2bf7e
--- /dev/null
+++ b/tests/auto/quick/qquicktextmetrics/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from qquicktextmetrics.pro.
+
+#####################################################################
+## tst_qquicktextmetrics Test:
+#####################################################################
+
+qt_add_test(tst_qquicktextmetrics
+ SOURCES
+ tst_qquicktextmetrics.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QuickPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/quick/qquicktimeline/CMakeLists.txt b/tests/auto/quick/qquicktimeline/CMakeLists.txt
new file mode 100644
index 0000000000..1d31d0b4b9
--- /dev/null
+++ b/tests/auto/quick/qquicktimeline/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from qquicktimeline.pro.
+
+#####################################################################
+## tst_qquicktimeline Test:
+#####################################################################
+
+qt_add_test(tst_qquicktimeline
+ SOURCES
+ tst_qquicktimeline.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+ Qt::Quick
+ Qt::QuickPrivate
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/quick/qquickview/CMakeLists.txt b/tests/auto/quick/qquickview/CMakeLists.txt
new file mode 100644
index 0000000000..3a677cad94
--- /dev/null
+++ b/tests/auto/quick/qquickview/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from qquickview.pro.
+
+#####################################################################
+## tst_qquickview Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickview
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickview.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickview CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickview CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickvisualdatamodel/CMakeLists.txt b/tests/auto/quick/qquickvisualdatamodel/CMakeLists.txt
new file mode 100644
index 0000000000..db88f6eb26
--- /dev/null
+++ b/tests/auto/quick/qquickvisualdatamodel/CMakeLists.txt
@@ -0,0 +1,50 @@
+# Generated from qquickvisualdatamodel.pro.
+
+#####################################################################
+## tst_qquickvisualdatamodel Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickvisualdatamodel
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickvisualdatamodel.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickvisualdatamodel CONDITION TARGET Qt::Widgets
+ PUBLIC_LIBRARIES
+ Qt::Widgets
+)
+
+qt_extend_target(tst_qquickvisualdatamodel CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickvisualdatamodel CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/qquickwindow/CMakeLists.txt b/tests/auto/quick/qquickwindow/CMakeLists.txt
new file mode 100644
index 0000000000..3cfe0b4660
--- /dev/null
+++ b/tests/auto/quick/qquickwindow/CMakeLists.txt
@@ -0,0 +1,47 @@
+# Generated from qquickwindow.pro.
+
+#####################################################################
+## tst_qquickwindow Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickwindow
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickwindow.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickwindow.pro:<TRUE>:
+# OTHER_FILES = "data/active.qml" "data/AnimationsWhileHidden.qml" "data/Headless.qml" "data/showHideAnimate.qml" "data/windoworder.qml" "data/grabContentItemToImage.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickwindow CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickwindow CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/rendernode/CMakeLists.txt b/tests/auto/quick/rendernode/CMakeLists.txt
new file mode 100644
index 0000000000..0291bcc3f4
--- /dev/null
+++ b/tests/auto/quick/rendernode/CMakeLists.txt
@@ -0,0 +1,42 @@
+# Generated from rendernode.pro.
+
+#####################################################################
+## tst_rendernode Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_rendernode
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_rendernode.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:rendernode.pro:<TRUE>:
+# OTHER_FILES = "data/RenderOrder.qml" "data/MessUpState.qml" "data/matrix.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_rendernode CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_rendernode CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/scenegraph/CMakeLists.txt b/tests/auto/quick/scenegraph/CMakeLists.txt
new file mode 100644
index 0000000000..4367ed69c7
--- /dev/null
+++ b/tests/auto/quick/scenegraph/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from scenegraph.pro.
+
+#####################################################################
+## tst_scenegraph Test:
+#####################################################################
+
+qt_add_test(tst_scenegraph
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_scenegraph.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+#### Keys ignored in scope 1:.:.:scenegraph.pro:<TRUE>:
+# OTHER_FILES = "data/render_OutOfFloatRange.qml" "data/simple.qml" "data/render_ImageFiltering.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_scenegraph CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_scenegraph CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quick/sharedimage/CMakeLists.txt b/tests/auto/quick/sharedimage/CMakeLists.txt
new file mode 100644
index 0000000000..17d2bec634
--- /dev/null
+++ b/tests/auto/quick/sharedimage/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from sharedimage.pro.
+
+#####################################################################
+## tst_sharedimage Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_sharedimage
+ SOURCES
+ tst_sharedimage.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:sharedimage.pro:<TRUE>:
+# OTHER_FILES = "data/yellow.png"
diff --git a/tests/auto/quick/touchmouse/CMakeLists.txt b/tests/auto/quick/touchmouse/CMakeLists.txt
new file mode 100644
index 0000000000..02e2c1401b
--- /dev/null
+++ b/tests/auto/quick/touchmouse/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from touchmouse.pro.
+
+#####################################################################
+## tst_touchmouse Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_touchmouse
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
+ ../shared/viewtestutil.cpp ../shared/viewtestutil.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_touchmouse.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_touchmouse CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_touchmouse CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quicktest/CMakeLists.txt b/tests/auto/quicktest/CMakeLists.txt
new file mode 100644
index 0000000000..3686db8417
--- /dev/null
+++ b/tests/auto/quicktest/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Generated from quicktest.pro.
+
+add_subdirectory(polish)
+add_subdirectory(signalspy)
+add_subdirectory(quicktestmainwithsetup)
+add_subdirectory(testfiltering)
diff --git a/tests/auto/quicktest/polish-qml/CMakeLists.txt b/tests/auto/quicktest/polish-qml/CMakeLists.txt
new file mode 100644
index 0000000000..bd7c739433
--- /dev/null
+++ b/tests/auto/quicktest/polish-qml/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from polish-qml.pro.
+
+#####################################################################
+## tst_polish-qml Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/data/*.qml)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_polish-qml
+ QMLTEST
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_polish-qml.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Quick
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_polish-qml CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_polish-qml CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quicktest/polish/CMakeLists.txt b/tests/auto/quicktest/polish/CMakeLists.txt
new file mode 100644
index 0000000000..946dd32980
--- /dev/null
+++ b/tests/auto/quicktest/polish/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from polish.pro.
+
+#####################################################################
+## tst_polish Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/data/*.qml)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_polish
+ QMLTEST
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_polish.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Quick
+ Qt::QuickPrivate
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_polish CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_polish CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quicktest/quicktestmainwithsetup/CMakeLists.txt b/tests/auto/quicktest/quicktestmainwithsetup/CMakeLists.txt
new file mode 100644
index 0000000000..4b10858548
--- /dev/null
+++ b/tests/auto/quicktest/quicktestmainwithsetup/CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from quicktestmainwithsetup.pro.
+
+#####################################################################
+## tst_quicktestmainwithsetup Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/data/*.qml)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_quicktestmainwithsetup
+ QMLTEST
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_quicktestmainwithsetup.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Quick
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_quicktestmainwithsetup CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_quicktestmainwithsetup CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quicktest/signalspy/CMakeLists.txt b/tests/auto/quicktest/signalspy/CMakeLists.txt
new file mode 100644
index 0000000000..eef90449ff
--- /dev/null
+++ b/tests/auto/quicktest/signalspy/CMakeLists.txt
@@ -0,0 +1,30 @@
+# Generated from signalspy.pro.
+
+#####################################################################
+## tst_signalspy Test:
+#####################################################################
+
+qt_add_test(tst_signalspy
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ mypropertymap.cpp mypropertymap.h
+ tst_signalspy.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Quick
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_signalspy CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_signalspy CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/quicktest/testfiltering/CMakeLists.txt b/tests/auto/quicktest/testfiltering/CMakeLists.txt
new file mode 100644
index 0000000000..77ece791dd
--- /dev/null
+++ b/tests/auto/quicktest/testfiltering/CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from testfiltering.pro.
+
+add_subdirectory(test)
+add_subdirectory(quicktestmain)
diff --git a/tests/auto/quicktest/testfiltering/quicktestmain/CMakeLists.txt b/tests/auto/quicktest/testfiltering/quicktestmain/CMakeLists.txt
new file mode 100644
index 0000000000..9baedbab97
--- /dev/null
+++ b/tests/auto/quicktest/testfiltering/quicktestmain/CMakeLists.txt
@@ -0,0 +1,27 @@
+# Generated from quicktestmain.pro.
+
+#####################################################################
+## quicktestmain Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/*.qml)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(quicktestmain
+ GUI
+ QMLTEST
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
+ SOURCES
+ quicktestmain.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/quicktest/testfiltering/test/.prev_CMakeLists.txt b/tests/auto/quicktest/testfiltering/test/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..f00249bfc4
--- /dev/null
+++ b/tests/auto/quicktest/testfiltering/test/.prev_CMakeLists.txt
@@ -0,0 +1,13 @@
+# Generated from test.pro.
+
+#####################################################################
+## tst_testfiltering Test:
+#####################################################################
+
+qt_add_test(tst_testfiltering
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
+ SOURCES
+ ../tst_testfiltering.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/quicktest/testfiltering/test/CMakeLists.txt b/tests/auto/quicktest/testfiltering/test/CMakeLists.txt
new file mode 100644
index 0000000000..b53bfec73b
--- /dev/null
+++ b/tests/auto/quicktest/testfiltering/test/CMakeLists.txt
@@ -0,0 +1,14 @@
+# Generated from test.pro.
+
+#####################################################################
+## tst_testfiltering Test:
+#####################################################################
+
+qt_add_test(tst_testfiltering
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
+ WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" # special case
+ SOURCES
+ ../tst_testfiltering.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/quickwidgets/CMakeLists.txt b/tests/auto/quickwidgets/CMakeLists.txt
new file mode 100644
index 0000000000..938dbd05c0
--- /dev/null
+++ b/tests/auto/quickwidgets/CMakeLists.txt
@@ -0,0 +1,3 @@
+# Generated from quickwidgets.pro.
+
+add_subdirectory(qquickwidget)
diff --git a/tests/auto/quickwidgets/qquickwidget/CMakeLists.txt b/tests/auto/quickwidgets/qquickwidget/CMakeLists.txt
new file mode 100644
index 0000000000..5c161885d2
--- /dev/null
+++ b/tests/auto/quickwidgets/qquickwidget/CMakeLists.txt
@@ -0,0 +1,45 @@
+# Generated from qquickwidget.pro.
+
+#####################################################################
+## tst_qquickwidget Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickwidget
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickwidget.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickWidgets
+ Qt::QuickWidgetsPrivate
+ Qt::WidgetsPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickwidget.pro:<TRUE>:
+# OTHER_FILES = "animating.qml" "error1.qml" "rectangle.qml" "resizemodeitem.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickwidget CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickwidget CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/toolsupport/CMakeLists.txt b/tests/auto/toolsupport/CMakeLists.txt
new file mode 100644
index 0000000000..65eff5e92e
--- /dev/null
+++ b/tests/auto/toolsupport/CMakeLists.txt
@@ -0,0 +1,13 @@
+# Generated from toolsupport.pro.
+
+#####################################################################
+## tst_toolsupport Test:
+#####################################################################
+
+qt_add_test(tst_toolsupport
+ SOURCES
+ tst_toolsupport.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+)
diff --git a/tests/benchmarks/CMakeLists.txt b/tests/benchmarks/CMakeLists.txt
new file mode 100644
index 0000000000..06cce61350
--- /dev/null
+++ b/tests/benchmarks/CMakeLists.txt
@@ -0,0 +1,7 @@
+# Generated from benchmarks.pro.
+
+add_subdirectory(qml)
+add_subdirectory(quick)
+if(QT_FEATURE_private_tests AND (QT_FEATURE_opengl OR QT_FEATURE_opengles2 OR QT_FEATURE_opengles3))
+ add_subdirectory(particles)
+endif()
diff --git a/tests/benchmarks/particles/CMakeLists.txt b/tests/benchmarks/particles/CMakeLists.txt
new file mode 100644
index 0000000000..8bfb0df4b6
--- /dev/null
+++ b/tests/benchmarks/particles/CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from particles.pro.
+
+add_subdirectory(emission)
+add_subdirectory(affectors)
diff --git a/tests/benchmarks/particles/affectors/CMakeLists.txt b/tests/benchmarks/particles/affectors/CMakeLists.txt
new file mode 100644
index 0000000000..7910d4256d
--- /dev/null
+++ b/tests/benchmarks/particles/affectors/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from affectors.pro.
+
+#####################################################################
+## tst_affectors Binary:
+#####################################################################
+
+qt_add_benchmark(tst_affectors
+ SOURCES
+ tst_affectors.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QuickParticlesPrivate
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:affectors.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/particles/emission/CMakeLists.txt b/tests/benchmarks/particles/emission/CMakeLists.txt
new file mode 100644
index 0000000000..831b42e7a9
--- /dev/null
+++ b/tests/benchmarks/particles/emission/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from emission.pro.
+
+#####################################################################
+## tst_emission Binary:
+#####################################################################
+
+qt_add_benchmark(tst_emission
+ SOURCES
+ tst_emission.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QuickParticlesPrivate
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:emission.pro:<TRUE>:
+# DEPLOYMENT = "testDataFiles"
+# testDataFiles.files = "data"
+# testDataFiles.path = "."
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/qml/CMakeLists.txt b/tests/benchmarks/qml/CMakeLists.txt
new file mode 100644
index 0000000000..816ad1856e
--- /dev/null
+++ b/tests/benchmarks/qml/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from qml.pro.
+
+add_subdirectory(binding)
+add_subdirectory(compilation)
+add_subdirectory(javascript)
+add_subdirectory(holistic)
+add_subdirectory(qqmlchangeset)
+add_subdirectory(qqmlcomponent)
+add_subdirectory(qqmlmetaproperty)
+add_subdirectory(librarymetrics_performance)
+add_subdirectory(script)
+add_subdirectory(js)
+add_subdirectory(creation)
+if(TARGET Qt::OpenGL)
+ add_subdirectory(painting)
+ add_subdirectory(qquickwindow)
+endif()
diff --git a/tests/benchmarks/qml/animation/CMakeLists.txt b/tests/benchmarks/qml/animation/CMakeLists.txt
new file mode 100644
index 0000000000..a3e2b5a46d
--- /dev/null
+++ b/tests/benchmarks/qml/animation/CMakeLists.txt
@@ -0,0 +1,26 @@
+# Generated from animation.pro.
+
+#####################################################################
+## tst_animation Binary:
+#####################################################################
+
+qt_add_benchmark(tst_animation
+ SOURCES
+ tst_animation.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:animation.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/qml/binding/CMakeLists.txt b/tests/benchmarks/qml/binding/CMakeLists.txt
new file mode 100644
index 0000000000..60ebf582de
--- /dev/null
+++ b/tests/benchmarks/qml/binding/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from binding.pro.
+
+#####################################################################
+## tst_binding Binary:
+#####################################################################
+
+qt_add_benchmark(tst_binding
+ SOURCES
+ testtypes.cpp testtypes.h
+ tst_binding.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:binding.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/qml/compilation/CMakeLists.txt b/tests/benchmarks/qml/compilation/CMakeLists.txt
new file mode 100644
index 0000000000..a43c62863b
--- /dev/null
+++ b/tests/benchmarks/qml/compilation/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from compilation.pro.
+
+#####################################################################
+## tst_compilation Binary:
+#####################################################################
+
+qt_add_benchmark(tst_compilation
+ SOURCES
+ tst_compilation.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlPrivate
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:compilation.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/qml/creation/CMakeLists.txt b/tests/benchmarks/qml/creation/CMakeLists.txt
new file mode 100644
index 0000000000..2210f0a24a
--- /dev/null
+++ b/tests/benchmarks/qml/creation/CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from creation.pro.
+
+#####################################################################
+## tst_creation Binary:
+#####################################################################
+
+qt_add_benchmark(tst_creation
+ SOURCES
+ tst_creation.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:creation.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/qml/holistic/CMakeLists.txt b/tests/benchmarks/qml/holistic/CMakeLists.txt
new file mode 100644
index 0000000000..746254cbea
--- /dev/null
+++ b/tests/benchmarks/qml/holistic/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from holistic.pro.
+
+#####################################################################
+## tst_holistic Binary:
+#####################################################################
+
+qt_add_benchmark(tst_holistic
+ SOURCES
+ testtypes.cpp testtypes.h
+ tst_holistic.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Network
+ Qt::Qml
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:holistic.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/qml/javascript/CMakeLists.txt b/tests/benchmarks/qml/javascript/CMakeLists.txt
new file mode 100644
index 0000000000..837d46df05
--- /dev/null
+++ b/tests/benchmarks/qml/javascript/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from javascript.pro.
+
+#####################################################################
+## tst_javascript Binary:
+#####################################################################
+
+qt_add_benchmark(tst_javascript
+ SOURCES
+ testtypes.cpp testtypes.h
+ tst_javascript.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:javascript.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/qml/js/CMakeLists.txt b/tests/benchmarks/qml/js/CMakeLists.txt
new file mode 100644
index 0000000000..e503e28ebe
--- /dev/null
+++ b/tests/benchmarks/qml/js/CMakeLists.txt
@@ -0,0 +1,5 @@
+# Generated from js.pro.
+
+add_subdirectory(qjsengine)
+add_subdirectory(qjsvalue)
+add_subdirectory(qjsvalueiterator)
diff --git a/tests/benchmarks/qml/js/qjsengine/CMakeLists.txt b/tests/benchmarks/qml/js/qjsengine/CMakeLists.txt
new file mode 100644
index 0000000000..577514e2ce
--- /dev/null
+++ b/tests/benchmarks/qml/js/qjsengine/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qjsengine.pro.
+
+#####################################################################
+## tst_bench_qjsengine Binary:
+#####################################################################
+
+qt_add_benchmark(tst_bench_qjsengine
+ SOURCES
+ tst_qjsengine.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:qjsengine.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/qml/js/qjsvalue/CMakeLists.txt b/tests/benchmarks/qml/js/qjsvalue/CMakeLists.txt
new file mode 100644
index 0000000000..8c56fa1820
--- /dev/null
+++ b/tests/benchmarks/qml/js/qjsvalue/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qjsvalue.pro.
+
+#####################################################################
+## tst_bench_qjsvalue Binary:
+#####################################################################
+
+qt_add_benchmark(tst_bench_qjsvalue
+ SOURCES
+ tst_qjsvalue.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:qjsvalue.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/qml/js/qjsvalueiterator/CMakeLists.txt b/tests/benchmarks/qml/js/qjsvalueiterator/CMakeLists.txt
new file mode 100644
index 0000000000..99e19d45a4
--- /dev/null
+++ b/tests/benchmarks/qml/js/qjsvalueiterator/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from qjsvalueiterator.pro.
+
+#####################################################################
+## tst_bench_qjsvalueiterator Binary:
+#####################################################################
+
+qt_add_benchmark(tst_bench_qjsvalueiterator
+ SOURCES
+ tst_qjsvalueiterator.cpp
+ PUBLIC_LIBRARIES
+ Qt::Qml
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:qjsvalueiterator.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/benchmarks/qml/librarymetrics_performance/CMakeLists.txt b/tests/benchmarks/qml/librarymetrics_performance/CMakeLists.txt
new file mode 100644
index 0000000000..e70db585a8
--- /dev/null
+++ b/tests/benchmarks/qml/librarymetrics_performance/CMakeLists.txt
@@ -0,0 +1,35 @@
+# Generated from librarymetrics_performance.pro.
+
+#####################################################################
+## tst_librarymetrics_performance Binary:
+#####################################################################
+
+qt_add_benchmark(tst_librarymetrics_performance
+ SOURCES
+ tst_librarymetrics_performance.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Network
+ Qt::Qml
+ Qt::Quick
+ Qt::Test
+)
+
+# Resources:
+set(qmake_immediate_resource_files
+ "data"
+)
+
+qt_add_resource(tst_librarymetrics_performance "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:librarymetrics_performance.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/qml/painting/CMakeLists.txt b/tests/benchmarks/qml/painting/CMakeLists.txt
new file mode 100644
index 0000000000..aa126450a6
--- /dev/null
+++ b/tests/benchmarks/qml/painting/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from painting.pro.
+
+#####################################################################
+## painting Binary:
+#####################################################################
+
+qt_add_benchmark(painting
+ SOURCES
+ paintbenchmark.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::OpenGL
+ Qt::OpenGLWidgets
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:.:painting.pro:<TRUE>:
+# _REQUIREMENTS = "qtHaveModule(opengl)" "qtHaveModule(widgets)"
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/qml/qqmlchangeset/CMakeLists.txt b/tests/benchmarks/qml/qqmlchangeset/CMakeLists.txt
new file mode 100644
index 0000000000..06a41df546
--- /dev/null
+++ b/tests/benchmarks/qml/qqmlchangeset/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from qqmlchangeset.pro.
+
+#####################################################################
+## tst_qqmlchangeset Binary:
+#####################################################################
+
+qt_add_benchmark(tst_qqmlchangeset
+ SOURCES
+ tst_qqmlchangeset.cpp
+ DEFINES
+ QT_DISABLE_DEPRECATED_BEFORE=0
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QuickPrivate
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:qqmlchangeset.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/qml/qqmlcomponent/.prev_CMakeLists.txt b/tests/benchmarks/qml/qqmlcomponent/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..d219c447d7
--- /dev/null
+++ b/tests/benchmarks/qml/qqmlcomponent/.prev_CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from qqmlcomponent.pro.
+
+#####################################################################
+## tst_qqmlcomponent Binary:
+#####################################################################
+
+qt_add_benchmark(tst_qqmlcomponent
+ SOURCES
+ testtypes.cpp testtypes.h
+ tst_qqmlcomponent.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:qqmlcomponent.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/qml/qqmlcomponent/CMakeLists.txt b/tests/benchmarks/qml/qqmlcomponent/CMakeLists.txt
new file mode 100644
index 0000000000..faa9dac56f
--- /dev/null
+++ b/tests/benchmarks/qml/qqmlcomponent/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from qqmlcomponent.pro.
+
+#####################################################################
+## tst_qqmlcomponent Binary:
+#####################################################################
+
+qt_add_benchmark(tst_qqmlcomponent_benchmark # special case avoid collision with auto test
+ GUI
+ SOURCES
+ testtypes.cpp testtypes.h
+ tst_qqmlcomponent.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:qqmlcomponent.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/qml/qqmlmetaproperty/CMakeLists.txt b/tests/benchmarks/qml/qqmlmetaproperty/CMakeLists.txt
new file mode 100644
index 0000000000..e0a7db012a
--- /dev/null
+++ b/tests/benchmarks/qml/qqmlmetaproperty/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from qqmlmetaproperty.pro.
+
+#####################################################################
+## tst_qqmlmetaproperty Binary:
+#####################################################################
+
+qt_add_benchmark(tst_qqmlmetaproperty
+ SOURCES
+ tst_qqmlmetaproperty.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:qqmlmetaproperty.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/qml/qquickwindow/CMakeLists.txt b/tests/benchmarks/qml/qquickwindow/CMakeLists.txt
new file mode 100644
index 0000000000..a4895d8202
--- /dev/null
+++ b/tests/benchmarks/qml/qquickwindow/CMakeLists.txt
@@ -0,0 +1,28 @@
+# Generated from qquickwindow.pro.
+
+#####################################################################
+## tst_qquickwindow Binary:
+#####################################################################
+
+qt_add_benchmark(tst_qquickwindow
+ SOURCES
+ tst_qquickwindow.cpp
+ DEFINES
+ QT_DISABLE_DEPRECATED_BEFORE=0
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::OpenGLPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:qquickwindow.pro:<TRUE>:
+# DEPLOYMENT = "testDataFiles"
+# testDataFiles.files = "data"
+# testDataFiles.path = "."
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/qml/script/CMakeLists.txt b/tests/benchmarks/qml/script/CMakeLists.txt
new file mode 100644
index 0000000000..76362dc0d9
--- /dev/null
+++ b/tests/benchmarks/qml/script/CMakeLists.txt
@@ -0,0 +1,26 @@
+# Generated from script.pro.
+
+#####################################################################
+## tst_script Binary:
+#####################################################################
+
+qt_add_benchmark(tst_script
+ SOURCES
+ tst_script.cpp
+ DEFINES
+ QT_DISABLE_DEPRECATED_BEFORE=0
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:script.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/qml/typeimports/CMakeLists.txt b/tests/benchmarks/qml/typeimports/CMakeLists.txt
new file mode 100644
index 0000000000..93f1f7c73b
--- /dev/null
+++ b/tests/benchmarks/qml/typeimports/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from typeimports.pro.
+
+#####################################################################
+## tst_typeimports Binary:
+#####################################################################
+
+qt_add_benchmark(tst_typeimports
+ SOURCES
+ tst_typeimports.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:typeimports.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/quick/CMakeLists.txt b/tests/benchmarks/quick/CMakeLists.txt
new file mode 100644
index 0000000000..533f382398
--- /dev/null
+++ b/tests/benchmarks/quick/CMakeLists.txt
@@ -0,0 +1,3 @@
+# Generated from quick.pro.
+
+add_subdirectory(events)
diff --git a/tests/benchmarks/quick/events/CMakeLists.txt b/tests/benchmarks/quick/events/CMakeLists.txt
new file mode 100644
index 0000000000..45300fdb5a
--- /dev/null
+++ b/tests/benchmarks/quick/events/CMakeLists.txt
@@ -0,0 +1,43 @@
+# Generated from events.pro.
+
+#####################################################################
+## tst_qevents Binary:
+#####################################################################
+
+qt_add_benchmark(tst_qevents
+ SOURCES
+ ../../../auto/quick/shared/geometrytestutil.cpp ../../../auto/quick/shared/geometrytestutil.h
+ ../../../auto/quick/shared/viewtestutil.cpp ../../../auto/quick/shared/viewtestutil.h
+ ../../../auto/quick/shared/visualtestutil.cpp ../../../auto/quick/shared/visualtestutil.h
+ ../../../auto/shared/util.cpp ../../../auto/shared/util.h
+ tst_events.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../../auto/shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::QmlPrivate
+ Qt::Quick
+ Qt::QuickPrivate
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:events.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qevents CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qevents CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt b/tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt
new file mode 100644
index 0000000000..2a41d5ed66
--- /dev/null
+++ b/tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt
@@ -0,0 +1,28 @@
+# Generated from evaluate.pro.
+
+#####################################################################
+## evaluate Binary:
+#####################################################################
+
+qt_add_executable(evaluate
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Qml
+)
+
+#### Keys ignored in scope 1:.:.:evaluate.pro:<TRUE>:
+# FUZZ_ENGINE = "$$(LIB_FUZZING_ENGINE)"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(evaluate CONDITION FUZZ_ENGINE_ISEMPTY
+ LINK_OPTIONS
+ "-fsanitize=fuzzer"
+)
+
+qt_extend_target(evaluate CONDITION NOT FUZZ_ENGINE_ISEMPTY
+ PUBLIC_LIBRARIES
+ $ENV{LIB_FUZZING_ENGINE}
+)
diff --git a/tests/manual/highdpi/CMakeLists.txt b/tests/manual/highdpi/CMakeLists.txt
new file mode 100644
index 0000000000..4ae749c660
--- /dev/null
+++ b/tests/manual/highdpi/CMakeLists.txt
@@ -0,0 +1,27 @@
+# Generated from highdpi.pro.
+
+#####################################################################
+## qmlimageproviderplugin Generic Library:
+#####################################################################
+
+qt_add_cmake_library(qmlimageproviderplugin
+ MODULE
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/quick/imageprovider/ImageProvider"
+ OUTPUT_DIRECTORY "ImageProvider"
+ SOURCES
+ imageprovider.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+#### Keys ignored in scope 1:.:.:highdpi.pro:<TRUE>:
+# INSTALLS = "target" "qml"
+# TEMPLATE = "lib"
+# qml.files = "ImageProvider/qmldir"
+# qml.path = "$$[QT_INSTALL_EXAMPLES]/quick/imageprovider/ImageProvider"
+# target.path = "$$[QT_INSTALL_EXAMPLES]/quick/imageprovider/ImageProvider"
+
+qt_autogen_tools_initial_setup(qmlimageproviderplugin)
diff --git a/tests/manual/httpserver/CMakeLists.txt b/tests/manual/httpserver/CMakeLists.txt
new file mode 100644
index 0000000000..105799e59e
--- /dev/null
+++ b/tests/manual/httpserver/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from httpserver.pro.
+
+#####################################################################
+## httpserver Binary:
+#####################################################################
+
+qt_add_manual_test(httpserver
+ SOURCES
+ ../../auto/shared/testhttpserver.cpp ../../auto/shared/testhttpserver.h
+ main.cpp
+ INCLUDE_DIRECTORIES
+ ../../auto/shared
+ PUBLIC_LIBRARIES
+ Qt::Network
+)
+
+#### Keys ignored in scope 1:.:.:httpserver.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/manual/mousearea/CMakeLists.txt b/tests/manual/mousearea/CMakeLists.txt
new file mode 100644
index 0000000000..f3b0003ea3
--- /dev/null
+++ b/tests/manual/mousearea/CMakeLists.txt
@@ -0,0 +1,87 @@
+# Generated from mousearea.pro.
+
+#####################################################################
+## mousearea Binary:
+#####################################################################
+
+qt_add_manual_test(mousearea
+ GUI
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(qml_resource_files
+ "main.qml"
+ "plainMouseArea.qml"
+)
+
+qt_add_resource(mousearea "qml"
+ PREFIX
+ "/"
+ FILES
+ ${qml_resource_files}
+)
+set_source_files_properties("../../../examples/quick/shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../../../examples/quick/shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../../../examples/quick/shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../../../examples/quick/shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set(quick_shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/slider_handle.png"
+)
+
+qt_add_resource(mousearea "quick_shared"
+ PREFIX
+ "/quick/shared"
+ BASE
+ "../../../examples/quick/shared"
+ FILES
+ ${quick_shared_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:mousearea.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/manual/nodetypes/CMakeLists.txt b/tests/manual/nodetypes/CMakeLists.txt
new file mode 100644
index 0000000000..cdb64701b8
--- /dev/null
+++ b/tests/manual/nodetypes/CMakeLists.txt
@@ -0,0 +1,47 @@
+# Generated from nodetypes.pro.
+
+#####################################################################
+## nodetypes Binary:
+#####################################################################
+
+qt_add_manual_test(nodetypes
+ GUI
+ SOURCES
+ nodetypes.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(nodetypes_resource_files
+ "Animators.qml"
+ "Effects.qml"
+ "Images.qml"
+ "Layers.qml"
+ "LotsOfImages.qml"
+ "LotsOfRects.qml"
+ "Painter.qml"
+ "Rects.qml"
+ "Text.qml"
+ "face-smile.png"
+ "main.qml"
+ "ps_shadow1.cso"
+ "ps_shadow2.cso"
+ "ps_wobble.cso"
+ "qt.png"
+ "shadow.png"
+ "vs_wobble.cso"
+)
+
+qt_add_resource(nodetypes "nodetypes"
+ PREFIX
+ "/"
+ FILES
+ ${nodetypes_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:nodetypes.pro:<TRUE>:
+# OTHER_FILES = "main.qml" "Rects.qml" "LotsOfRects.qml" "Images.qml" "LotsOfImages.qml" "Text.qml" "Animators.qml" "Layers.qml" "Effects.qml" "Painter.qml" "wobble.hlsl" "shadow1.hlsl" "shadow2.hlsl"
diff --git a/tests/manual/nodetypes_ng/CMakeLists.txt b/tests/manual/nodetypes_ng/CMakeLists.txt
new file mode 100644
index 0000000000..5687cb2768
--- /dev/null
+++ b/tests/manual/nodetypes_ng/CMakeLists.txt
@@ -0,0 +1,64 @@
+# Generated from nodetypes_ng.pro.
+
+#####################################################################
+## nodetypes_ng Binary:
+#####################################################################
+
+qt_add_manual_test(nodetypes_ng
+ GUI
+ SOURCES
+ nodetypes_ng.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(nodetypes_ng_resource_files
+ "AtlasedImages.qml"
+ "CompressedImages.qml"
+ "DistanceFieldText.qml"
+ "Images.qml"
+ "Layers.qml"
+ "LotsOfNodes.qml"
+ "LotsOfRects.qml"
+ "MoreWindows.qml"
+ "MultiClipRects.qml"
+ "Painter.qml"
+ "Rects.qml"
+ "ShaderEffect.qml"
+ "ShaderEffectNoAnim.qml"
+ "ShaderEffectSource.qml"
+ "SimpleRect.qml"
+ "Text.qml"
+ "arrow-down.png"
+ "arrow-up.png"
+ "blacknwhite.png"
+ "car_etc2_nomips.ktx"
+ "face-smile.png"
+ "main.qml"
+ "minus-sign.png"
+ "plus-sign.png"
+ "qt.png"
+ "qt_bc1_10mips.ktx"
+ "shadow_pass1.frag.qsb"
+ "shadow_pass1_legacy_gl.frag"
+ "shadow_pass2.frag.qsb"
+ "shadow_pass2_legacy_gl.frag"
+ "wobble.frag.qsb"
+ "wobble.vert.qsb"
+ "wobble_legacy_gl.frag"
+ "wobble_legacy_gl.vert"
+)
+
+qt_add_resource(nodetypes_ng "nodetypes_ng"
+ PREFIX
+ "/"
+ FILES
+ ${nodetypes_ng_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:nodetypes_ng.pro:<TRUE>:
+# OTHER_FILES = "main.qml" "SimpleRect.qml" "Rects.qml" "LotsOfRects.qml"
diff --git a/tests/manual/pointer/CMakeLists.txt b/tests/manual/pointer/CMakeLists.txt
new file mode 100644
index 0000000000..e58fc7f29f
--- /dev/null
+++ b/tests/manual/pointer/CMakeLists.txt
@@ -0,0 +1,136 @@
+# Generated from pointer.pro.
+
+#####################################################################
+## pointer Binary:
+#####################################################################
+
+qt_add_manual_test(pointer
+ GUI
+ SOURCES
+ inputinspector.cpp inputinspector.h
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickPrivate
+ Qt::Svg
+)
+
+# Resources:
+set(qml_resource_files
+ "content/CheckBox.qml"
+ "content/FakeFlickable.qml"
+ "content/FlashAnimation.qml"
+ "content/MomentumAnimation.qml"
+ "content/MouseAreaButton.qml"
+ "content/MouseAreaSlider.qml"
+ "content/MouseFeedbackSprite.qml"
+ "content/MptaButton.qml"
+ "content/MultiButton.qml"
+ "content/ScrollBar.qml"
+ "content/Slider.qml"
+ "content/TapHandlerButton.qml"
+ "content/TextBox.qml"
+ "content/TouchpointFeedbackSprite.qml"
+ "fakeFlickable.qml"
+ "flickableWithHandlers.qml"
+ "flingAnimation.qml"
+ "joystick.qml"
+ "main.qml"
+ "map.qml"
+ "map2.qml"
+ "mixer.qml"
+ "multibuttons.qml"
+ "photosurface.qml"
+ "pinchHandler.qml"
+ "pointerDrag.qml"
+ "resources/arrowhead.png"
+ "resources/balloon.png"
+ "resources/cursor-airbrush.png"
+ "resources/cursor-eraser.png"
+ "resources/cursor-felt-marker.png"
+ "resources/cursor-pencil.png"
+ "resources/fighter.png"
+ "resources/fingersprite.png"
+ "resources/grabbing-location.svg"
+ "resources/joystick-outer-case-pov.jpg"
+ "resources/map.svgz"
+ "resources/missile.png"
+ "resources/mixer-knob.png"
+ "resources/mouse.png"
+ "resources/mouse_left.png"
+ "resources/mouse_middle.png"
+ "resources/mouse_right.png"
+ "resources/redball.png"
+ "sidebar.qml"
+ "singlePointHandlerProperties.qml"
+ "tabletCanvasDrawing.qml"
+ "tapHandler.qml"
+)
+
+qt_add_resource(pointer "qml"
+ PREFIX
+ "/"
+ FILES
+ ${qml_resource_files}
+)
+set_source_files_properties("../../../examples/quick/shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../../../examples/quick/shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../../../examples/quick/shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../../../examples/quick/shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set(quick_shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/slider_handle.png"
+)
+
+qt_add_resource(pointer "quick_shared"
+ PREFIX
+ "/quick/shared"
+ BASE
+ "../../../examples/quick/shared"
+ FILES
+ ${quick_shared_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:pointer.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/manual/qmltypememory/CMakeLists.txt b/tests/manual/qmltypememory/CMakeLists.txt
new file mode 100644
index 0000000000..ae3a10e944
--- /dev/null
+++ b/tests/manual/qmltypememory/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qmltypememory.pro.
+
+#####################################################################
+## qmltypememory Binary:
+#####################################################################
+
+qt_add_manual_test(qmltypememory
+ GUI
+ SOURCES
+ main.cpp
+ testdriver.cpp testdriver.h
+ INCLUDE_DIRECTORIES
+ .
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+#### Keys ignored in scope 1:.:.:qmltypememory.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/manual/qmltypememory/TestPlugin/CMakeLists.txt b/tests/manual/qmltypememory/TestPlugin/CMakeLists.txt
new file mode 100644
index 0000000000..d05139d0ea
--- /dev/null
+++ b/tests/manual/qmltypememory/TestPlugin/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from plugin.pro.
+
+#####################################################################
+## testplugin Generic Library:
+#####################################################################
+
+qt_add_cmake_library(testplugin
+ MODULE
+ SOURCES
+ plugin.cpp
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### Keys ignored in scope 1:.:.:plugin.pro:<TRUE>:
+# TEMPLATE = "lib"
+
+qt_autogen_tools_initial_setup(testplugin)
diff --git a/tests/manual/quickwidgetviewer/CMakeLists.txt b/tests/manual/quickwidgetviewer/CMakeLists.txt
new file mode 100644
index 0000000000..00245e4942
--- /dev/null
+++ b/tests/manual/quickwidgetviewer/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from quickwidgetviewer.pro.
+
+#####################################################################
+## quickwidgetviewer Binary:
+#####################################################################
+
+qt_add_manual_test(quickwidgetviewer
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QuickWidgets
+)
+
+#### Keys ignored in scope 1:.:.:quickwidgetviewer.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/manual/scalablepath/CMakeLists.txt b/tests/manual/scalablepath/CMakeLists.txt
new file mode 100644
index 0000000000..738c6ebb45
--- /dev/null
+++ b/tests/manual/scalablepath/CMakeLists.txt
@@ -0,0 +1,32 @@
+# Generated from scalablepath.pro.
+
+#####################################################################
+## scalablepath Binary:
+#####################################################################
+
+qt_add_manual_test(scalablepath
+ GUI
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(qml_resource_files
+ "ShapeTestScale.qml"
+ "main.qml"
+)
+
+qt_add_resource(scalablepath "qml"
+ PREFIX
+ "/"
+ FILES
+ ${qml_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:scalablepath.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/manual/scenegraph_lancelot/CMakeLists.txt b/tests/manual/scenegraph_lancelot/CMakeLists.txt
new file mode 100644
index 0000000000..6f35f4e47b
--- /dev/null
+++ b/tests/manual/scenegraph_lancelot/CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from scenegraph_lancelot.pro.
+
+add_subdirectory(scenegrabber)
+add_subdirectory(scenegraph)
diff --git a/tests/manual/scenegraph_lancelot/scenegrabber/CMakeLists.txt b/tests/manual/scenegraph_lancelot/scenegrabber/CMakeLists.txt
new file mode 100644
index 0000000000..42f38f8404
--- /dev/null
+++ b/tests/manual/scenegraph_lancelot/scenegrabber/CMakeLists.txt
@@ -0,0 +1,124 @@
+# Generated from scenegrabber.pro.
+
+#####################################################################
+## qmlscenegrabber Binary:
+#####################################################################
+
+qt_add_manual_test(qmlscenegrabber
+ OUTPUT_DIRECTORY ".."
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Quick
+)
+
+# Resources:
+set_source_files_properties("../data/shared/shaders/+qsb/basic.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/+qsb/basic.frag"
+)
+set_source_files_properties("../data/shared/shaders/+qsb/cmyk.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/+qsb/cmyk.frag"
+)
+set_source_files_properties("../data/shared/shaders/+qsb/culling.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/+qsb/culling.frag"
+)
+set_source_files_properties("../data/shared/shaders/+qsb/edge.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/+qsb/edge.frag"
+)
+set_source_files_properties("../data/shared/shaders/+qsb/gradient.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/+qsb/gradient.frag"
+)
+set_source_files_properties("../data/shared/shaders/+qsb/gradient2.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/+qsb/gradient2.frag"
+)
+set_source_files_properties("../data/shared/shaders/+qsb/gradient3.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/+qsb/gradient3.frag"
+)
+set_source_files_properties("../data/shared/shaders/+qsb/gradient4.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/+qsb/gradient4.frag"
+)
+set_source_files_properties("../data/shared/shaders/+qsb/gradient5.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/+qsb/gradient5.frag"
+)
+set_source_files_properties("../data/shared/shaders/+qsb/shadow.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/+qsb/shadow.frag"
+)
+set_source_files_properties("../data/shared/shaders/+qsb/stencil.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/+qsb/stencil.frag"
+)
+set_source_files_properties("../data/shared/shaders/+qsb/wave.vert"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/+qsb/wave.vert"
+)
+set_source_files_properties("../data/shared/shaders/basic.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/basic.frag"
+)
+set_source_files_properties("../data/shared/shaders/cmyk.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/cmyk.frag"
+)
+set_source_files_properties("../data/shared/shaders/culling.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/culling.frag"
+)
+set_source_files_properties("../data/shared/shaders/edge.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/edge.frag"
+)
+set_source_files_properties("../data/shared/shaders/gradient.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/gradient.frag"
+)
+set_source_files_properties("../data/shared/shaders/gradient2.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/gradient2.frag"
+)
+set_source_files_properties("../data/shared/shaders/gradient3.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/gradient3.frag"
+)
+set_source_files_properties("../data/shared/shaders/gradient4.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/gradient4.frag"
+)
+set_source_files_properties("../data/shared/shaders/gradient5.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/gradient5.frag"
+)
+set_source_files_properties("../data/shared/shaders/shadow.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/shadow.frag"
+)
+set_source_files_properties("../data/shared/shaders/stencil.frag"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/stencil.frag"
+)
+set_source_files_properties("../data/shared/shaders/wave.vert"
+ PROPERTIES QT_RESOURCE_ALIAS "shaders/wave.vert"
+)
+set(shared_resource_files
+ "shaders/+qsb/basic.frag"
+ "shaders/+qsb/cmyk.frag"
+ "shaders/+qsb/culling.frag"
+ "shaders/+qsb/edge.frag"
+ "shaders/+qsb/gradient.frag"
+ "shaders/+qsb/gradient2.frag"
+ "shaders/+qsb/gradient3.frag"
+ "shaders/+qsb/gradient4.frag"
+ "shaders/+qsb/gradient5.frag"
+ "shaders/+qsb/shadow.frag"
+ "shaders/+qsb/stencil.frag"
+ "shaders/+qsb/wave.vert"
+ "shaders/basic.frag"
+ "shaders/cmyk.frag"
+ "shaders/culling.frag"
+ "shaders/edge.frag"
+ "shaders/gradient.frag"
+ "shaders/gradient2.frag"
+ "shaders/gradient3.frag"
+ "shaders/gradient4.frag"
+ "shaders/gradient5.frag"
+ "shaders/shadow.frag"
+ "shaders/stencil.frag"
+ "shaders/wave.vert"
+)
+
+qt_add_resource(qmlscenegrabber "shared"
+ PREFIX
+ "/"
+ BASE
+ "../data/shared"
+ FILES
+ ${shared_resource_files}
+)
+
diff --git a/tests/manual/scenegraph_lancelot/scenegraph/CMakeLists.txt b/tests/manual/scenegraph_lancelot/scenegraph/CMakeLists.txt
new file mode 100644
index 0000000000..86f5c102a9
--- /dev/null
+++ b/tests/manual/scenegraph_lancelot/scenegraph/CMakeLists.txt
@@ -0,0 +1,34 @@
+# Generated from scenegraph.pro.
+
+#####################################################################
+## tst_scenegraph Test:
+#####################################################################
+
+# Collect test data
+list(APPEND test_data "../data")
+
+qt_add_test(tst_scenegraph
+ OUTPUT_DIRECTORY ".."
+ SOURCES
+ ../../../../../qtbase/tests/baselineserver/shared/baselineprotocol.cpp ../../../../../qtbase/tests/baselineserver/shared/baselineprotocol.h
+ ../../../../../qtbase/tests/baselineserver/shared/lookup3.cpp
+ ../../../../../qtbase/tests/baselineserver/shared/qbaselinetest.cpp ../../../../../qtbase/tests/baselineserver/shared/qbaselinetest.h
+ tst_scenegraph.cpp
+ DEFINES
+ QMAKESPEC=\\\"\\\"
+ INCLUDE_DIRECTORIES
+ ../../../../../qtbase/tests/baselineserver/shared
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Network
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 3:.:.:scenegraph.pro:WIN32:
+# TEST_HELPER_INSTALLS = ".././qmlscenegrabber.exe"
+
+#### Keys ignored in scope 6:.:.:scenegraph.pro:else:
+# TEST_HELPER_INSTALLS = ".././qmlscenegrabber"
diff --git a/tests/manual/shapestest/CMakeLists.txt b/tests/manual/shapestest/CMakeLists.txt
new file mode 100644
index 0000000000..6fd93cdc11
--- /dev/null
+++ b/tests/manual/shapestest/CMakeLists.txt
@@ -0,0 +1,32 @@
+# Generated from shapestest.pro.
+
+#####################################################################
+## shapestest Binary:
+#####################################################################
+
+qt_add_manual_test(shapestest
+ GUI
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(shapestest_resource_files
+ "shapestest.qml"
+)
+
+qt_add_resource(shapestest "shapestest"
+ PREFIX
+ "/shapestest"
+ FILES
+ ${shapestest_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:shapestest.pro:<TRUE>:
+# OTHER_FILES = "shapestest.qml"
+# TEMPLATE = "app"
diff --git a/tests/manual/tableview/CMakeLists.txt b/tests/manual/tableview/CMakeLists.txt
new file mode 100644
index 0000000000..19f4807174
--- /dev/null
+++ b/tests/manual/tableview/CMakeLists.txt
@@ -0,0 +1,5 @@
+# Generated from tableview.pro.
+
+add_subdirectory(abstracttablemodel)
+add_subdirectory(listmodel)
+add_subdirectory(storagemodel)
diff --git a/tests/manual/tableview/abstracttablemodel/CMakeLists.txt b/tests/manual/tableview/abstracttablemodel/CMakeLists.txt
new file mode 100644
index 0000000000..2aa3d5b797
--- /dev/null
+++ b/tests/manual/tableview/abstracttablemodel/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from abstracttablemodel.pro.
+
+#####################################################################
+## tableview_abstracttablemodel Binary:
+#####################################################################
+
+qt_add_manual_test(tableview_abstracttablemodel
+ GUI
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(qmake_immediate_resource_files
+ "Button.qml"
+ "main.qml"
+)
+
+qt_add_resource(tableview_abstracttablemodel "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:abstracttablemodel.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:abstracttablemodel.pro:QNX:
+# target.path = "/tmp/$${TARGET}/bin"
+
+#### Keys ignored in scope 4:.:.:abstracttablemodel.pro:UNIX AND NOT ANDROID:
+# target.path = "/opt/$${TARGET}/bin"
+
+#### Keys ignored in scope 5:.:.:abstracttablemodel.pro:NOT target.path_ISEMPTY:
+# INSTALLS = "target"
diff --git a/tests/manual/tableview/listmodel/CMakeLists.txt b/tests/manual/tableview/listmodel/CMakeLists.txt
new file mode 100644
index 0000000000..9e4b8871cc
--- /dev/null
+++ b/tests/manual/tableview/listmodel/CMakeLists.txt
@@ -0,0 +1,43 @@
+# Generated from listmodel.pro.
+
+#####################################################################
+## tableview_listmodel Binary:
+#####################################################################
+
+qt_add_manual_test(tableview_listmodel
+ GUI
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(qmake_immediate_resource_files
+ "main.qml"
+)
+
+qt_add_resource(tableview_listmodel "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:listmodel.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:listmodel.pro:QNX:
+# target.path = "/tmp/$${TARGET}/bin"
+
+#### Keys ignored in scope 4:.:.:listmodel.pro:UNIX AND NOT ANDROID:
+# target.path = "/opt/$${TARGET}/bin"
+
+#### Keys ignored in scope 5:.:.:listmodel.pro:NOT target.path_ISEMPTY:
+# INSTALLS = "target"
diff --git a/tests/manual/tableview/storagemodel/CMakeLists.txt b/tests/manual/tableview/storagemodel/CMakeLists.txt
new file mode 100644
index 0000000000..747d5f5b40
--- /dev/null
+++ b/tests/manual/tableview/storagemodel/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from storagemodel.pro.
+
+#####################################################################
+## tableview_storage Binary:
+#####################################################################
+
+qt_add_manual_test(tableview_storage
+ GUI
+ SOURCES
+ main.cpp
+ storagemodel.cpp storagemodel.h
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(qmake_immediate_resource_files
+ "main.qml"
+)
+
+qt_add_resource(tableview_storage "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:storagemodel.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:storagemodel.pro:QNX:
+# target.path = "/tmp/$${TARGET}/bin"
+
+#### Keys ignored in scope 4:.:.:storagemodel.pro:UNIX AND NOT ANDROID:
+# target.path = "/opt/$${TARGET}/bin"
+
+#### Keys ignored in scope 5:.:.:storagemodel.pro:NOT target.path_ISEMPTY:
+# INSTALLS = "target"
diff --git a/tests/manual/tableview/tablemodel/CMakeLists.txt b/tests/manual/tableview/tablemodel/CMakeLists.txt
new file mode 100644
index 0000000000..487e004af0
--- /dev/null
+++ b/tests/manual/tableview/tablemodel/CMakeLists.txt
@@ -0,0 +1,3 @@
+# Generated from tablemodel.pro.
+
+add_subdirectory(form)
diff --git a/tests/manual/tableview/tablemodel/form/CMakeLists.txt b/tests/manual/tableview/tablemodel/form/CMakeLists.txt
new file mode 100644
index 0000000000..4a4a7e28fe
--- /dev/null
+++ b/tests/manual/tableview/tablemodel/form/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from form.pro.
+
+#####################################################################
+## form Binary:
+#####################################################################
+
+qt_add_manual_test(form
+ GUI
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(qmake_immediate_resource_files
+ "RowForm.qml"
+ "main.qml"
+)
+
+qt_add_resource(form "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:form.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:form.pro:QNX:
+# target.path = "/tmp/$${TARGET}/bin"
+
+#### Keys ignored in scope 4:.:.:form.pro:UNIX AND NOT ANDROID:
+# target.path = "/opt/$${TARGET}/bin"
+
+#### Keys ignored in scope 5:.:.:form.pro:NOT target.path_ISEMPTY:
+# INSTALLS = "target"
diff --git a/tests/manual/tableview/tablemodel/json/CMakeLists.txt b/tests/manual/tableview/tablemodel/json/CMakeLists.txt
new file mode 100644
index 0000000000..4251d08269
--- /dev/null
+++ b/tests/manual/tableview/tablemodel/json/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from json.pro.
+
+#####################################################################
+## json Binary:
+#####################################################################
+
+qt_add_manual_test(json
+ GUI
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(qmake_immediate_resource_files
+ "JsonData.js"
+ "main.qml"
+)
+
+qt_add_resource(json "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:json.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:json.pro:QNX:
+# target.path = "/tmp/$${TARGET}/bin"
+
+#### Keys ignored in scope 4:.:.:json.pro:UNIX AND NOT ANDROID:
+# target.path = "/opt/$${TARGET}/bin"
+
+#### Keys ignored in scope 5:.:.:json.pro:NOT target.path_ISEMPTY:
+# INSTALLS = "target"
diff --git a/tests/manual/text/CMakeLists.txt b/tests/manual/text/CMakeLists.txt
new file mode 100644
index 0000000000..09c6d780e7
--- /dev/null
+++ b/tests/manual/text/CMakeLists.txt
@@ -0,0 +1,88 @@
+# Generated from text.pro.
+
+#####################################################################
+## text Binary:
+#####################################################################
+
+qt_add_manual_test(text
+ GUI
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(qml_resource_files
+ "SignalIndicator.qml"
+ "main.qml"
+ "textInputPropertiesAndSignals.qml"
+)
+
+qt_add_resource(text "qml"
+ PREFIX
+ "/"
+ FILES
+ ${qml_resource_files}
+)
+set_source_files_properties("../../../examples/quick/shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../../../examples/quick/shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../../../examples/quick/shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../../../examples/quick/shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set(quick_shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/slider_handle.png"
+)
+
+qt_add_resource(text "quick_shared"
+ PREFIX
+ "/quick/shared"
+ BASE
+ "../../../examples/quick/shared"
+ FILES
+ ${quick_shared_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:text.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/manual/touch/CMakeLists.txt b/tests/manual/touch/CMakeLists.txt
new file mode 100644
index 0000000000..261bab2d49
--- /dev/null
+++ b/tests/manual/touch/CMakeLists.txt
@@ -0,0 +1,88 @@
+# Generated from touch.pro.
+
+#####################################################################
+## touch Binary:
+#####################################################################
+
+qt_add_manual_test(touch
+ GUI
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(qml_resource_files
+ "flicktext.qml"
+ "main.qml"
+ "mpta-crosshairs.qml"
+)
+
+qt_add_resource(touch "qml"
+ PREFIX
+ "/"
+ FILES
+ ${qml_resource_files}
+)
+set_source_files_properties("../../../examples/quick/shared/Button.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/CheckBox.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/Label.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/LauncherList.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/SimpleLauncherDelegate.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/Slider.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/TextField.qml"
+ PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
+)
+set_source_files_properties("../../../examples/quick/shared/images/back.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
+)
+set_source_files_properties("../../../examples/quick/shared/images/checkmark.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
+)
+set_source_files_properties("../../../examples/quick/shared/images/next.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
+)
+set_source_files_properties("../../../examples/quick/shared/images/slider_handle.png"
+ PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
+)
+set(quick_shared_resource_files
+ "Button.qml"
+ "CheckBox.qml"
+ "Label.qml"
+ "LauncherList.qml"
+ "SimpleLauncherDelegate.qml"
+ "Slider.qml"
+ "TextField.qml"
+ "images/back.png"
+ "images/checkmark.png"
+ "images/next.png"
+ "images/slider_handle.png"
+)
+
+qt_add_resource(touch "quick_shared"
+ PREFIX
+ "/quick/shared"
+ BASE
+ "../../../examples/quick/shared"
+ FILES
+ ${quick_shared_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:touch.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/manual/v4/auto/CMakeLists.txt b/tests/manual/v4/auto/CMakeLists.txt
new file mode 100644
index 0000000000..02063ad4f8
--- /dev/null
+++ b/tests/manual/v4/auto/CMakeLists.txt
@@ -0,0 +1,3 @@
+# Generated from auto.pro.
+
+add_subdirectory(executableallocator)
diff --git a/tests/manual/v4/auto/executableallocator/CMakeLists.txt b/tests/manual/v4/auto/executableallocator/CMakeLists.txt
new file mode 100644
index 0000000000..7001a270b6
--- /dev/null
+++ b/tests/manual/v4/auto/executableallocator/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from executableallocator.pro.
+
+#####################################################################
+## tst_executableallocator Binary:
+#####################################################################
+
+qt_add_manual_test(tst_executableallocator
+ SOURCES
+ tst_executableallocator.cpp
+ PUBLIC_LIBRARIES
+ Qt::Test
+ v4Private
+)
+
+#### Keys ignored in scope 1:.:.:executableallocator.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tools/.prev_CMakeLists.txt b/tools/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..0233f2e8d0
--- /dev/null
+++ b/tools/.prev_CMakeLists.txt
@@ -0,0 +1,54 @@
+# Generated from tools.pro.
+
+
+if(QT_FEATURE_qml_devtools)
+ add_subdirectory(qmllint)
+ add_subdirectory(qmlmin)
+ add_subdirectory(qmlimportscanner)
+
+ if(QT_FEATURE_commandlineparser AND QT_FEATURE_xmlstreamwriter)
+ add_subdirectory(qmlcachegen)
+ endif()
+endif()
+
+if(QT_FEATURE_thread AND NOT ANDROID OR android_app AND NOT WASM AND NOT rtems)
+ add_subdirectory(qml)
+
+ if(QT_FEATURE_qml_profiler)
+ add_subdirectory(qmlprofiler)
+ endif()
+
+ if(QT_FEATURE_qml_preview)
+ add_subdirectory(qmlpreview)
+ endif()
+
+ if(TARGET Qt::Quick)
+
+ if(NOT static)
+ add_subdirectory(qmlscene)
+ add_subdirectory(qmltime)
+
+ if(QT_FEATURE_regularexpression AND QT_FEATURE_process)
+ add_subdirectory(qmlplugindump)
+ endif()
+ endif()
+
+ if(TARGET Qt::Widgets)
+
+ if(QT_FEATURE_dialogbuttonbox)
+ add_subdirectory(qmleasing)
+ endif()
+ endif()
+ endif()
+
+ if(TARGET Qt::QuickTest)
+ add_subdirectory(qmltestrunner)
+ endif()
+
+ if(QT_FEATURE_private_tests)
+ add_subdirectory(qmljs)
+ endif()
+endif()
+
+if(QT_FEATURE_qml_devtools)
+endif()
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
new file mode 100644
index 0000000000..b1c05782b3
--- /dev/null
+++ b/tools/CMakeLists.txt
@@ -0,0 +1,53 @@
+# Generated from tools.pro.
+
+
+if(QT_FEATURE_qml_devtools)
+ add_subdirectory(qmllint)
+ add_subdirectory(qmlimportscanner)
+ add_subdirectory(qmlformat)
+ # special case: Do not build qmlcachegen here but build it at src/
+ # time, so that we can use it for our own .qml files in src/imports.
+endif()
+
+if(QT_FEATURE_thread AND NOT ANDROID OR android_app AND NOT WASM AND NOT rtems)
+ add_subdirectory(qml)
+
+ if(QT_FEATURE_qml_profiler)
+ add_subdirectory(qmlprofiler)
+ endif()
+
+ if(QT_FEATURE_qml_preview)
+ add_subdirectory(qmlpreview)
+ endif()
+
+ if(TARGET Qt::Quick)
+
+ if(BUILD_SHARED_LIBS) # special case
+ add_subdirectory(qmlscene)
+ add_subdirectory(qmltime)
+
+ if(QT_FEATURE_regularexpression AND QT_FEATURE_process)
+ add_subdirectory(qmlplugindump)
+ endif()
+ endif()
+
+ if(TARGET Qt::Widgets)
+
+ if(QT_FEATURE_dialogbuttonbox)
+ add_subdirectory(qmleasing)
+ endif()
+ endif()
+ endif()
+
+ if(TARGET Qt::QuickTest)
+ add_subdirectory(qmltestrunner)
+ endif()
+
+ if(QT_FEATURE_private_tests)
+ add_subdirectory(qmljs)
+ endif()
+endif()
+
+if(QT_FEATURE_qml_devtools)
+endif()
+
diff --git a/tools/qml/.prev_CMakeLists.txt b/tools/qml/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..b9b93d02d3
--- /dev/null
+++ b/tools/qml/.prev_CMakeLists.txt
@@ -0,0 +1,71 @@
+# Generated from qml.pro.
+
+#####################################################################
+## qml Tool:
+#####################################################################
+
+qt_add_tool(qml
+ SOURCES
+ conf.h
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+)
+
+# Resources:
+set(qml_resource_files
+ "conf/content/resizeItemToWindow.qml"
+ "conf/content/resizeWindowToItem.qml"
+ "conf/default.qml"
+ "conf/resizeToItem.qml"
+ "resources/qml-64.png"
+)
+
+qt_add_resource(qml "qml"
+ PREFIX
+ "/qt-project.org/QmlRuntime"
+ FILES
+ ${qml_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:qml.pro:<TRUE>:
+# ICON = "resources/qml-64.png"
+# QMAKE_TARGET_DESCRIPTION = "QML" "Runtime"
+# QML_IMPORT_NAME = "QmlRuntime.Config"
+# QML_IMPORT_VERSION = "1.0"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(qml CONDITION TARGET Qt::Gui
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
+
+qt_extend_target(qml CONDITION TARGET Qt::Widgets
+ PUBLIC_LIBRARIES
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 4:.:.:qml.pro:WIN32:
+# RC_ICONS = "resources/qml.ico"
+
+#### Keys ignored in scope 5:.:.:qml.pro:APPLE:
+# ICON = "resources/qml.icns"
+# OTHER_FILES = "resources/Info.plist"
+# QMAKE_INFO_PLIST = "resources/Info.plist"
+
+qt_extend_target(qml CONDITION QT_FEATURE_qml_debug
+ DEFINES
+ QT_QML_DEBUG_NO_WARNING
+)
+
+set_target_properties(qml PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI QmlRuntime.Config
+)
+
+qt6_qml_type_registration(qml)
diff --git a/tools/qml/CMakeLists.txt b/tools/qml/CMakeLists.txt
new file mode 100644
index 0000000000..6edf190389
--- /dev/null
+++ b/tools/qml/CMakeLists.txt
@@ -0,0 +1,88 @@
+# Generated from qml.pro.
+
+#####################################################################
+## qml Tool:
+#####################################################################
+
+qt_add_tool(qml
+ TOOLS_TARGET Qml # special case
+ SOURCES
+ conf.h
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+)
+
+# special case begin
+# Don't set properties on a host tool when cross compiling, because it
+# is not being built.
+if(CMAKE_CROSSCOMPILING)
+ return()
+endif()
+
+set_source_files_properties(
+ conf/default.qml
+ conf/resizeToItem.qml
+ conf/content/resizeItemToWindow.qml
+ conf/content/resizeWindowToItem.qml
+ PROPERTIES QT_SKIP_QUICKCOMPILER 1
+)
+# special case end
+
+# Resources:
+set(qml_resource_files
+ "conf/content/resizeItemToWindow.qml"
+ "conf/content/resizeWindowToItem.qml"
+ "conf/default.qml"
+ "conf/resizeToItem.qml"
+ "resources/qml-64.png"
+)
+
+qt_add_resource(qml "qml"
+ PREFIX
+ "/qt-project.org/QmlRuntime"
+ FILES
+ ${qml_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:qml.pro:<TRUE>:
+# ICON = "resources/qml-64.png"
+# QMAKE_TARGET_DESCRIPTION = "QML" "Runtime"
+# QML_IMPORT_NAME = "QmlRuntime.Config"
+# QML_IMPORT_VERSION = "1.0"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(qml CONDITION TARGET Qt::Gui
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
+
+qt_extend_target(qml CONDITION TARGET Qt::Widgets
+ PUBLIC_LIBRARIES
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 4:.:.:qml.pro:WIN32:
+# RC_ICONS = "resources/qml.ico"
+
+#### Keys ignored in scope 5:.:.:qml.pro:APPLE:
+# ICON = "resources/qml.icns"
+# OTHER_FILES = "resources/Info.plist"
+# QMAKE_INFO_PLIST = "resources/Info.plist"
+
+qt_extend_target(qml CONDITION QT_FEATURE_qml_debug
+ DEFINES
+ QT_QML_DEBUG_NO_WARNING
+)
+
+set_target_properties(qml PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI QmlRuntime.Config
+)
+qt6_qml_type_registration(qml)
+
diff --git a/tools/qmlcachegen/.prev_CMakeLists.txt b/tools/qmlcachegen/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..40ba09bc07
--- /dev/null
+++ b/tools/qmlcachegen/.prev_CMakeLists.txt
@@ -0,0 +1,49 @@
+# Generated from qmlcachegen.pro.
+
+#####################################################################
+## qmlcachegen Tool:
+#####################################################################
+
+qt_add_tool(qmlcachegen
+ SOURCES
+ ../shared/qmlstreamwriter.cpp ../shared/qmlstreamwriter.h
+ ../shared/resourcefilemapper.cpp ../shared/resourcefilemapper.h
+ generateloader.cpp
+ qmlcachegen.cpp
+ resourcefilter.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ INCLUDE_DIRECTORIES
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::QmlDevToolsPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmlcachegen.pro:<TRUE>:
+# CMAKE_BIN_DIR = "$$cmakeRelativePath($$[QT_HOST_BINS], $$[QT_INSTALL_PREFIX])"
+# QMAKE_SUBSTITUTES = "cmake_config_file"
+# QMAKE_TARGET_DESCRIPTION = "QML" "Cache" "Generator"
+# _OPTION = "host_build"
+# build_integration.files = "qmlcache.prf" "qtquickcompiler.prf"
+# build_integration.path = "$$[QT_HOST_DATA]/mkspecs/features"
+# cmake_build_integration.files = "$$cmake_config_file.output"
+# cmake_build_integration.path = "$$[QT_INSTALL_LIBS]/cmake/Qt5QuickCompiler"
+# cmake_config_file.input = "$$PWD/Qt5QuickCompilerConfig.cmake.in"
+# cmake_config_file.output = "$$MODULE_BASE_OUTDIR/lib/cmake/Qt5QuickCompiler/Qt5QuickCompilerConfig.cmake"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:qmlcachegen.pro:prefix_build:
+# INSTALLS = "cmake_build_integration" "build_integration"
+
+#### Keys ignored in scope 3:.:.:qmlcachegen.pro:else:
+# COPIES = "cmake_build_integration" "build_integration"
+
+#### Keys ignored in scope 4:.:.:qmlcachegen.pro:CMAKE_BIN_DIR___contains___^\\.\\./._x_:
+# CMAKE_BIN_DIR = "$$[QT_HOST_BINS]/"
+# CMAKE_BIN_DIR_IS_ABSOLUTE = "True"
+
+#### Keys ignored in scope 5:.:.:qmlcachegen.pro:QMAKE_HOST.os___equals___Windows:
+# CMAKE_BIN_SUFFIX = ".exe"
diff --git a/tools/qmlcachegen/CMakeLists.txt b/tools/qmlcachegen/CMakeLists.txt
new file mode 100644
index 0000000000..29302c1ef6
--- /dev/null
+++ b/tools/qmlcachegen/CMakeLists.txt
@@ -0,0 +1,50 @@
+# Generated from qmlcachegen.pro.
+
+#####################################################################
+## qmlcachegen Tool:
+#####################################################################
+
+qt_add_tool(qmlcachegen
+ TOOLS_TARGET Qml # special case
+ SOURCES
+ ../shared/qmlstreamwriter.cpp ../shared/qmlstreamwriter.h
+ ../shared/resourcefilemapper.cpp ../shared/resourcefilemapper.h
+ generateloader.cpp
+ qmlcachegen.cpp
+ resourcefilter.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ INCLUDE_DIRECTORIES
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::QmlDevToolsPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmlcachegen.pro:<TRUE>:
+# CMAKE_BIN_DIR = "$$cmakeRelativePath($$[QT_HOST_BINS], $$[QT_INSTALL_PREFIX])"
+# QMAKE_SUBSTITUTES = "cmake_config_file"
+# QMAKE_TARGET_DESCRIPTION = "QML" "Cache" "Generator"
+# _OPTION = "host_build"
+# build_integration.files = "qmlcache.prf" "qtquickcompiler.prf"
+# build_integration.path = "$$[QT_HOST_DATA]/mkspecs/features"
+# cmake_build_integration.files = "$$cmake_config_file.output"
+# cmake_build_integration.path = "$$[QT_INSTALL_LIBS]/cmake/Qt5QuickCompiler"
+# cmake_config_file.input = "$$PWD/Qt5QuickCompilerConfig.cmake.in"
+# cmake_config_file.output = "$$MODULE_BASE_OUTDIR/lib/cmake/Qt5QuickCompiler/Qt5QuickCompilerConfig.cmake"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:qmlcachegen.pro:prefix_build:
+# INSTALLS = "cmake_build_integration" "build_integration"
+
+#### Keys ignored in scope 3:.:.:qmlcachegen.pro:else:
+# COPIES = "cmake_build_integration" "build_integration"
+
+#### Keys ignored in scope 4:.:.:qmlcachegen.pro:CMAKE_BIN_DIR___contains___^\\.\\./._x_:
+# CMAKE_BIN_DIR = "$$[QT_HOST_BINS]/"
+# CMAKE_BIN_DIR_IS_ABSOLUTE = "True"
+
+#### Keys ignored in scope 5:.:.:qmlcachegen.pro:QMAKE_HOST.os___equals___Windows:
+# CMAKE_BIN_SUFFIX = ".exe"
diff --git a/tools/qmlcachegen/qmlcachegen.cpp b/tools/qmlcachegen/qmlcachegen.cpp
index bc74e7b08e..174cd547f6 100644
--- a/tools/qmlcachegen/qmlcachegen.cpp
+++ b/tools/qmlcachegen/qmlcachegen.cpp
@@ -109,6 +109,36 @@ void Error::appendDiagnostics(const QString &inputFileName, const QList<Diagnost
appendDiagnostic(inputFileName, diagnostic);
}
+static bool argumentsFromCommandLineAndFile(QStringList& allArguments, const QStringList &arguments)
+{
+ allArguments.reserve(arguments.size());
+ for (const QString &argument : arguments) {
+ // "@file" doesn't start with a '-' so we can't use QCommandLineParser for it
+ if (argument.startsWith(QLatin1Char('@'))) {
+ QString optionsFile = argument;
+ optionsFile.remove(0, 1);
+ if (optionsFile.isEmpty()) {
+ fprintf(stderr, "The @ option requires an input file");
+ return false;
+ }
+ QFile f(optionsFile);
+ if (!f.open(QIODevice::ReadOnly | QIODevice::Text)) {
+ fprintf(stderr, "Cannot open options file specified with @");
+ return false;
+ }
+ while (!f.atEnd()) {
+ QString line = QString::fromLocal8Bit(f.readLine().trimmed());
+ if (!line.isEmpty())
+ allArguments << line;
+ }
+ } else {
+ allArguments << argument;
+ }
+ }
+ return true;
+}
+
+
// Ensure that ListElement objects keep all property assignments in their string form
static void annotateListElements(QmlIR::Document *document)
{
@@ -426,6 +456,10 @@ int main(int argc, char **argv)
parser.addOption(resourceOption);
QCommandLineOption resourcePathOption(QStringLiteral("resource-path"), QCoreApplication::translate("main", "Qt resource file path corresponding to the file being compiled"), QCoreApplication::translate("main", "resource-path"));
parser.addOption(resourcePathOption);
+ QCommandLineOption resourceNameOption(QStringLiteral("resource-name"),
+ QCoreApplication::translate("main", "Required to generate qmlcache_loader without qrc files. This is the name of the Qt resource the input files belong to."),
+ QCoreApplication::translate("main", "compiled-file-list"));
+ parser.addOption(resourceNameOption);
QCommandLineOption outputFileOption(QStringLiteral("o"), QCoreApplication::translate("main", "Output file name"), QCoreApplication::translate("main", "file name"));
parser.addOption(outputFileOption);
@@ -435,12 +469,18 @@ int main(int argc, char **argv)
parser.setSingleDashWordOptionMode(QCommandLineParser::ParseAsLongOptions);
- parser.process(app);
+
+ QStringList arguments;
+ if (!argumentsFromCommandLineAndFile(arguments, app.arguments()))
+ return EXIT_FAILURE;
+
+ parser.process(arguments);
enum Output {
GenerateCpp,
GenerateCacheFile,
- GenerateLoader
+ GenerateLoader,
+ GenerateLoaderStandAlone,
} target = GenerateCacheFile;
QString outputFileName;
@@ -453,15 +493,18 @@ int main(int argc, char **argv)
target = GenerateLoader;
}
+ if (target == GenerateLoader && parser.isSet(resourceNameOption))
+ target = GenerateLoaderStandAlone;
+
const QStringList sources = parser.positionalArguments();
if (sources.isEmpty()){
parser.showHelp();
- } else if (sources.count() > 1 && target != GenerateLoader) {
+ } else if (sources.count() > 1 && (target != GenerateLoader && target != GenerateLoaderStandAlone)) {
fprintf(stderr, "%s\n", qPrintable(QStringLiteral("Too many input files specified: '") + sources.join(QStringLiteral("' '")) + QLatin1Char('\'')));
return EXIT_FAILURE;
}
- const QString inputFile = sources.first();
+ const QString inputFile = !sources.isEmpty() ? sources.first() : QString();
if (outputFileName.isEmpty())
outputFileName = inputFile + QLatin1Char('c');
@@ -481,6 +524,15 @@ int main(int argc, char **argv)
return EXIT_SUCCESS;
}
+ if (target == GenerateLoaderStandAlone) {
+ Error error;
+ if (!generateLoader(sources, outputFileName,
+ parser.values(resourceNameOption), &error.message)) {
+ error.augment(QLatin1String("Error generating loader stub: ")).print();
+ return EXIT_FAILURE;
+ }
+ return EXIT_SUCCESS;
+ }
QString inputFileUrl = inputFile;
SaveFunction saveFunction;
diff --git a/tools/qmleasing/CMakeLists.txt b/tools/qmleasing/CMakeLists.txt
new file mode 100644
index 0000000000..a057e4c50c
--- /dev/null
+++ b/tools/qmleasing/CMakeLists.txt
@@ -0,0 +1,41 @@
+# Generated from qmleasing.pro.
+
+#####################################################################
+## qmleasing Binary:
+#####################################################################
+
+qt_add_executable(qmleasing
+ GUI
+ SOURCES
+ import.ui
+ main.cpp
+ mainwindow.cpp mainwindow.h
+ pane.ui
+ properties.ui
+ segmentproperties.cpp segmentproperties.h
+ splineeditor.cpp splineeditor.h
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::Widgets
+ ENABLE_AUTOGEN_TOOLS
+ uic
+)
+
+# Resources:
+set(resources_resource_files
+ "Button.qml"
+ "preview.qml"
+)
+
+qt_add_resource(qmleasing "resources"
+ PREFIX
+ "/"
+ FILES
+ ${resources_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:qmleasing.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "Easing" "Curve" "Editor"
diff --git a/tools/qmlformat/.prev_CMakeLists.txt b/tools/qmlformat/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..4f1f038f9b
--- /dev/null
+++ b/tools/qmlformat/.prev_CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from qmlformat.pro.
+
+#####################################################################
+## qmlformat Tool:
+#####################################################################
+
+qt_add_tool(qmlformat
+ SOURCES
+ commentastvisitor.cpp commentastvisitor.h
+ dumpastvisitor.cpp dumpastvisitor.h
+ main.cpp
+ restructureastvisitor.cpp restructureastvisitor.h
+ PUBLIC_LIBRARIES
+ Qt::QmlDevToolsPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmlformat.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "Formatter"
+# _OPTION = "host_build"
diff --git a/tools/qmlformat/CMakeLists.txt b/tools/qmlformat/CMakeLists.txt
new file mode 100644
index 0000000000..b83b8745d2
--- /dev/null
+++ b/tools/qmlformat/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qmlformat.pro.
+
+#####################################################################
+## qmlformat Tool:
+#####################################################################
+
+qt_add_tool(qmlformat
+ TOOLS_TARGET Qml # special case
+ SOURCES
+ commentastvisitor.cpp commentastvisitor.h
+ dumpastvisitor.cpp dumpastvisitor.h
+ main.cpp
+ restructureastvisitor.cpp restructureastvisitor.h
+ PUBLIC_LIBRARIES
+ Qt::QmlDevToolsPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmlformat.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "Formatter"
+# _OPTION = "host_build"
diff --git a/tools/qmlimportscanner/.prev_CMakeLists.txt b/tools/qmlimportscanner/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..fbab757807
--- /dev/null
+++ b/tools/qmlimportscanner/.prev_CMakeLists.txt
@@ -0,0 +1,77 @@
+# Generated from qmlimportscanner.pro.
+
+#####################################################################
+## qmlimportscanner Tool:
+#####################################################################
+
+qt_add_tool(qmlimportscanner
+ SOURCES
+ ../shared/qmlstreamwriter.cpp ../shared/qmlstreamwriter.h
+ ../shared/resourcefilemapper.cpp ../shared/resourcefilemapper.h
+ main.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ INCLUDE_DIRECTORIES
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::QmlDevToolsPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmlimportscanner.pro:<TRUE>:
+# CMAKE_BIN_DIR = "$$cmakeRelativePath($$[QT_HOST_BINS], $$[QT_INSTALL_PREFIX])"
+# CMAKE_DEBUG_TYPE = <EMPTY>
+# CMAKE_QML_DIR = "$$cmakeRelativePath($$[QT_INSTALL_QML], $$[QT_INSTALL_PREFIX])"
+# CMAKE_QML_PLUGIN_SUFFIX_RELEASE = <EMPTY>
+# CMAKE_RELEASE_TYPE = <EMPTY>
+# QMAKE_SUBSTITUTES = "cmake_config_file"
+# QMAKE_TARGET_DESCRIPTION = "QML" "Import" "Scanner"
+# _OPTION = "host_build"
+# cmake_build_integration.files = "$$cmake_config_file.output" "$$PWD/Qt5QmlImportScannerTemplate.cpp.in"
+# cmake_build_integration.path = "$$[QT_INSTALL_LIBS]/cmake/Qt5QmlImportScanner"
+# cmake_config_file.input = "$$PWD/Qt5QmlImportScannerConfig.cmake.in"
+# cmake_config_file.output = "$$MODULE_BASE_OUTDIR/lib/cmake/Qt5QmlImportScanner/Qt5QmlImportScannerConfig.cmake"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:qmlimportscanner.pro:CMAKE_BIN_DIR___contains___^\\.\\./._x_:
+# CMAKE_BIN_DIR = "$$[QT_HOST_BINS]/"
+# CMAKE_BIN_DIR_IS_ABSOLUTE = "True"
+
+#### Keys ignored in scope 3:.:.:qmlimportscanner.pro:CMAKE_QML_DIR___contains___^\\.\\./._x_:
+# CMAKE_QML_DIR = "$$[QT_INSTALL_QML]/"
+# CMAKE_QML_DIR_IS_ABSOLUTE = "True"
+
+#### Keys ignored in scope 4:.:.:qmlimportscanner.pro:static OR staticlib:
+# CMAKE_STATIC_TYPE = "true"
+
+#### Keys ignored in scope 5:.:.:qmlimportscanner.pro:WIN32:
+# CMAKE_QML_PLUGIN_SUFFIX_DEBUG = "d"
+
+#### Keys ignored in scope 7:.:.:qmlimportscanner.pro:APPLE:
+# CMAKE_QML_PLUGIN_SUFFIX_DEBUG = "_debug"
+
+#### Keys ignored in scope 8:.:.:qmlimportscanner.pro:else:
+# CMAKE_QML_PLUGIN_SUFFIX_DEBUG = <EMPTY>
+
+#### Keys ignored in scope 9:.:.:qmlimportscanner.pro:( QT_FEATURE_debug_and_release OR QT_CONFIG___contains___debug,debug OR release ):
+# CMAKE_DEBUG_TYPE = "debug"
+
+#### Keys ignored in scope 10:.:.:qmlimportscanner.pro:( QT_FEATURE_debug_and_release OR QT_CONFIG___contains___release,debug OR release ):
+# CMAKE_RELEASE_TYPE = "release"
+
+#### Keys ignored in scope 11:.:.:qmlimportscanner.pro:QT_FEATURE_debug_and_release:
+# CMAKE_DEBUG_AND_RELEASE = "TRUE"
+
+#### Keys ignored in scope 12:.:.:qmlimportscanner.pro:else:
+# CMAKE_DEBUG_AND_RELEASE = "FALSE"
+
+#### Keys ignored in scope 13:.:.:qmlimportscanner.pro:QMAKE_HOST.os___equals___Windows:
+# CMAKE_BIN_SUFFIX = ".exe"
+
+#### Keys ignored in scope 14:.:.:qmlimportscanner.pro:prefix_build:
+# INSTALLS = "cmake_build_integration"
+
+#### Keys ignored in scope 15:.:.:qmlimportscanner.pro:else:
+# COPIES = "cmake_build_integration"
diff --git a/tools/qmlimportscanner/CMakeLists.txt b/tools/qmlimportscanner/CMakeLists.txt
new file mode 100644
index 0000000000..30a4babfcd
--- /dev/null
+++ b/tools/qmlimportscanner/CMakeLists.txt
@@ -0,0 +1,78 @@
+# Generated from qmlimportscanner.pro.
+
+#####################################################################
+## qmlimportscanner Tool:
+#####################################################################
+
+qt_add_tool(qmlimportscanner
+ TOOLS_TARGET Qml # special case
+ SOURCES
+ ../shared/qmlstreamwriter.cpp ../shared/qmlstreamwriter.h
+ ../shared/resourcefilemapper.cpp ../shared/resourcefilemapper.h
+ main.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ INCLUDE_DIRECTORIES
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::QmlDevToolsPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmlimportscanner.pro:<TRUE>:
+# CMAKE_BIN_DIR = "$$cmakeRelativePath($$[QT_HOST_BINS], $$[QT_INSTALL_PREFIX])"
+# CMAKE_DEBUG_TYPE = <EMPTY>
+# CMAKE_QML_DIR = "$$cmakeRelativePath($$[QT_INSTALL_QML], $$[QT_INSTALL_PREFIX])"
+# CMAKE_QML_PLUGIN_SUFFIX_RELEASE = <EMPTY>
+# CMAKE_RELEASE_TYPE = <EMPTY>
+# QMAKE_SUBSTITUTES = "cmake_config_file"
+# QMAKE_TARGET_DESCRIPTION = "QML" "Import" "Scanner"
+# _OPTION = "host_build"
+# cmake_build_integration.files = "$$cmake_config_file.output" "$$PWD/Qt5QmlImportScannerTemplate.cpp.in"
+# cmake_build_integration.path = "$$[QT_INSTALL_LIBS]/cmake/Qt5QmlImportScanner"
+# cmake_config_file.input = "$$PWD/Qt5QmlImportScannerConfig.cmake.in"
+# cmake_config_file.output = "$$MODULE_BASE_OUTDIR/lib/cmake/Qt5QmlImportScanner/Qt5QmlImportScannerConfig.cmake"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:qmlimportscanner.pro:CMAKE_BIN_DIR___contains___^\\.\\./._x_:
+# CMAKE_BIN_DIR = "$$[QT_HOST_BINS]/"
+# CMAKE_BIN_DIR_IS_ABSOLUTE = "True"
+
+#### Keys ignored in scope 3:.:.:qmlimportscanner.pro:CMAKE_QML_DIR___contains___^\\.\\./._x_:
+# CMAKE_QML_DIR = "$$[QT_INSTALL_QML]/"
+# CMAKE_QML_DIR_IS_ABSOLUTE = "True"
+
+#### Keys ignored in scope 4:.:.:qmlimportscanner.pro:static OR staticlib:
+# CMAKE_STATIC_TYPE = "true"
+
+#### Keys ignored in scope 5:.:.:qmlimportscanner.pro:WIN32:
+# CMAKE_QML_PLUGIN_SUFFIX_DEBUG = "d"
+
+#### Keys ignored in scope 7:.:.:qmlimportscanner.pro:APPLE:
+# CMAKE_QML_PLUGIN_SUFFIX_DEBUG = "_debug"
+
+#### Keys ignored in scope 8:.:.:qmlimportscanner.pro:else:
+# CMAKE_QML_PLUGIN_SUFFIX_DEBUG = <EMPTY>
+
+#### Keys ignored in scope 9:.:.:qmlimportscanner.pro:( QT_FEATURE_debug_and_release OR QT_CONFIG___contains___debug,debug OR release ):
+# CMAKE_DEBUG_TYPE = "debug"
+
+#### Keys ignored in scope 10:.:.:qmlimportscanner.pro:( QT_FEATURE_debug_and_release OR QT_CONFIG___contains___release,debug OR release ):
+# CMAKE_RELEASE_TYPE = "release"
+
+#### Keys ignored in scope 11:.:.:qmlimportscanner.pro:QT_FEATURE_debug_and_release:
+# CMAKE_DEBUG_AND_RELEASE = "TRUE"
+
+#### Keys ignored in scope 12:.:.:qmlimportscanner.pro:else:
+# CMAKE_DEBUG_AND_RELEASE = "FALSE"
+
+#### Keys ignored in scope 13:.:.:qmlimportscanner.pro:QMAKE_HOST.os___equals___Windows:
+# CMAKE_BIN_SUFFIX = ".exe"
+
+#### Keys ignored in scope 14:.:.:qmlimportscanner.pro:prefix_build:
+# INSTALLS = "cmake_build_integration"
+
+#### Keys ignored in scope 15:.:.:qmlimportscanner.pro:else:
+# COPIES = "cmake_build_integration"
diff --git a/tools/qmljs/.prev_CMakeLists.txt b/tools/qmljs/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..0096f335ae
--- /dev/null
+++ b/tools/qmljs/.prev_CMakeLists.txt
@@ -0,0 +1,87 @@
+# Generated from qmljs.pro.
+
+#####################################################################
+## qmljs Tool:
+#####################################################################
+
+qt_add_tool(qmljs
+ SOURCES
+ qmljs.cpp
+ DEFINES
+ BUILDING_QT__
+ ENABLE_ASSEMBLER_WX_EXCLUSIVE=1
+ ENABLE_DFG_JIT=0
+ ENABLE_DFG_JIT_UTILITY_METHODS=1
+ ENABLE_JIT_CONSTANT_BLINDING=0
+ ENABLE_LLINT=0
+ JS_EXPORT_PRIVATE=""
+ WTFInvokeCrashHook=qmlWTFInvokeCrashHook
+ WTFReportAssertionFailure=qmlWTFReportAssertionFailure
+ WTFReportAssertionFailureWithMessage=qmlWTFReportAssertionFailureWithMessage
+ WTFReportBacktrace=qmlWTFReportBacktrace
+ WTF_EXPORT_PRIVATE=""
+ INCLUDE_DIRECTORIES
+ ../../src/3rdparty/masm
+ ../../src/3rdparty/masm/assembler
+ ../../src/3rdparty/masm/disassembler
+ ../../src/3rdparty/masm/disassembler/udis86
+ ../../src/3rdparty/masm/jit
+ ../../src/3rdparty/masm/runtime
+ ../../src/3rdparty/masm/stubs
+ ../../src/3rdparty/masm/stubs/runtime
+ ../../src/3rdparty/masm/stubs/wtf
+ ../../src/3rdparty/masm/wtf
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmljs.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "JavaScript" "Tool"
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(qmljs CONDITION WIN32
+ DEFINES
+ NOMINMAX
+)
+
+qt_extend_target(qmljs CONDITION disassembler AND ((TEST_architecture_arch STREQUAL "i386") OR (TEST_architecture_arch STREQUAL "x86_64"))
+ DEFINES
+ WTF_USE_UDIS86=1
+)
+
+qt_extend_target(qmljs CONDITION (TEST_architecture_arch STREQUAL "arm") AND disassembler
+ DEFINES
+ WTF_USE_ARMV7_DISASSEMBLER=1
+)
+
+qt_extend_target(qmljs CONDITION (TEST_architecture_arch STREQUAL "arm64") AND disassembler
+ DEFINES
+ WTF_USE_ARM64_DISASSEMBLER=1
+)
+
+qt_extend_target(qmljs CONDITION (TEST_architecture_arch STREQUAL "mips") AND disassembler
+ DEFINES
+ WTF_USE_MIPS32_DISASSEMBLER=1
+)
+
+qt_extend_target(qmljs CONDITION NOT disassembler
+ DEFINES
+ WTF_USE_UDIS86=0
+)
+
+qt_extend_target(qmljs CONDITION CMAKE_BUILD_TYPE STREQUAL Release
+ DEFINES
+ NDEBUG
+)
+
+qt_extend_target(qmljs CONDITION GCC AND QT_COMPILER_VERSION_MAJOR STRGREATER 6 AND NOT CLANG AND NOT ICC
+ COMPILE_OPTIONS
+ -Wno-expansion-to-defined
+)
+
+#### Keys ignored in scope 12:.:../../src/3rdparty/masm:../../src/3rdparty/masm/masm-defs.pri:(QT_COMPILER_VERSION_MAJOR STRGREATER 6):
+# QMAKE_CXXFLAGS_WARN_ON = "-Wno-expansion-to-defined"
diff --git a/tools/qmljs/CMakeLists.txt b/tools/qmljs/CMakeLists.txt
new file mode 100644
index 0000000000..a972a8ba1b
--- /dev/null
+++ b/tools/qmljs/CMakeLists.txt
@@ -0,0 +1,88 @@
+# Generated from qmljs.pro.
+
+#####################################################################
+## qmljs Tool:
+#####################################################################
+
+qt_add_tool(qmljs
+ TOOLS_TARGET Qml # special case
+ SOURCES
+ qmljs.cpp
+ DEFINES
+ BUILDING_QT__
+ ENABLE_ASSEMBLER_WX_EXCLUSIVE=1
+ ENABLE_DFG_JIT=0
+ ENABLE_DFG_JIT_UTILITY_METHODS=1
+ ENABLE_JIT_CONSTANT_BLINDING=0
+ ENABLE_LLINT=0
+ JS_EXPORT_PRIVATE= # special case
+ WTFInvokeCrashHook=qmlWTFInvokeCrashHook
+ WTFReportAssertionFailure=qmlWTFReportAssertionFailure
+ WTFReportAssertionFailureWithMessage=qmlWTFReportAssertionFailureWithMessage
+ WTFReportBacktrace=qmlWTFReportBacktrace
+ WTF_EXPORT_PRIVATE= # special case
+ INCLUDE_DIRECTORIES
+ ../../src/3rdparty/masm
+ ../../src/3rdparty/masm/assembler
+ ../../src/3rdparty/masm/disassembler
+ ../../src/3rdparty/masm/disassembler/udis86
+ ../../src/3rdparty/masm/jit
+ ../../src/3rdparty/masm/runtime
+ ../../src/3rdparty/masm/stubs
+ ../../src/3rdparty/masm/stubs/runtime
+ ../../src/3rdparty/masm/stubs/wtf
+ ../../src/3rdparty/masm/wtf
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmljs.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "JavaScript" "Tool"
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(qmljs CONDITION WIN32
+ DEFINES
+ NOMINMAX
+)
+
+qt_extend_target(qmljs CONDITION disassembler AND ((TEST_architecture_arch STREQUAL "i386") OR (TEST_architecture_arch STREQUAL "x86_64"))
+ DEFINES
+ WTF_USE_UDIS86=1
+)
+
+qt_extend_target(qmljs CONDITION (TEST_architecture_arch STREQUAL "arm") AND disassembler
+ DEFINES
+ WTF_USE_ARMV7_DISASSEMBLER=1
+)
+
+qt_extend_target(qmljs CONDITION (TEST_architecture_arch STREQUAL "arm64") AND disassembler
+ DEFINES
+ WTF_USE_ARM64_DISASSEMBLER=1
+)
+
+qt_extend_target(qmljs CONDITION (TEST_architecture_arch STREQUAL "mips") AND disassembler
+ DEFINES
+ WTF_USE_MIPS32_DISASSEMBLER=1
+)
+
+qt_extend_target(qmljs CONDITION NOT disassembler
+ DEFINES
+ WTF_USE_UDIS86=0
+)
+
+qt_extend_target(qmljs CONDITION CMAKE_BUILD_TYPE STREQUAL Release
+ DEFINES
+ NDEBUG
+)
+
+qt_extend_target(qmljs CONDITION GCC AND QT_COMPILER_VERSION_MAJOR STRGREATER 6 AND NOT CLANG AND NOT ICC
+ COMPILE_OPTIONS
+ -Wno-expansion-to-defined
+)
+
+#### Keys ignored in scope 12:.:../../src/3rdparty/masm:../../src/3rdparty/masm/masm-defs.pri:(QT_COMPILER_VERSION_MAJOR STRGREATER 6):
+# QMAKE_CXXFLAGS_WARN_ON = "-Wno-expansion-to-defined"
diff --git a/tools/qmllint/.prev_CMakeLists.txt b/tools/qmllint/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..9e3667fead
--- /dev/null
+++ b/tools/qmllint/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from qmllint.pro.
+
+#####################################################################
+## qmllint Tool:
+#####################################################################
+
+qt_add_tool(qmllint
+ SOURCES
+ componentversion.cpp componentversion.h
+ findunqualified.cpp findunqualified.h
+ importedmembersvisitor.cpp importedmembersvisitor.h
+ main.cpp
+ metatypes.h
+ qcoloroutput.cpp qcoloroutput.h
+ scopetree.cpp scopetree.h
+ typedescriptionreader.cpp typedescriptionreader.h
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlDevToolsPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmllint.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "Syntax" "Verifier"
+# _OPTION = "host_build"
diff --git a/tools/qmllint/CMakeLists.txt b/tools/qmllint/CMakeLists.txt
new file mode 100644
index 0000000000..d4b0aad760
--- /dev/null
+++ b/tools/qmllint/CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from qmllint.pro.
+
+#####################################################################
+## qmllint Tool:
+#####################################################################
+
+qt_add_tool(qmllint
+ TOOLS_TARGET Qml # special case
+ SOURCES
+ componentversion.cpp componentversion.h
+ findunqualified.cpp findunqualified.h
+ importedmembersvisitor.cpp importedmembersvisitor.h
+ main.cpp
+ metatypes.h
+ qcoloroutput.cpp qcoloroutput.h
+ scopetree.cpp scopetree.h
+ typedescriptionreader.cpp typedescriptionreader.h
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlDevToolsPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmllint.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "Syntax" "Verifier"
+# _OPTION = "host_build"
diff --git a/tools/qmlplugindump/.prev_CMakeLists.txt b/tools/qmlplugindump/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..c161a13077
--- /dev/null
+++ b/tools/qmlplugindump/.prev_CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from qmlplugindump.pro.
+
+#####################################################################
+## qmlplugindump Tool:
+#####################################################################
+
+qt_add_tool(qmlplugindump
+ SOURCES
+ ../shared/qmlstreamwriter.cpp ../shared/qmlstreamwriter.h
+ main.cpp
+ qmltypereader.cpp qmltypereader.h
+ INCLUDE_DIRECTORIES
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmlplugindump.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "Plugin" "Metadata" "Dumper"
+# QTPLUGIN.platforms = "qminimal"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(qmlplugindump CONDITION TARGET Qt::Widgets
+ PUBLIC_LIBRARIES
+ Qt::Widgets
+)
+
+qt_extend_target(qmlplugindump CONDITION APPLE_OSX
+ LINK_OPTIONS
+ "-Wl,-sectcreate,__TEXT,__info_plist,$$shell_quote$$PWD/Info.plist"
+)
diff --git a/tools/qmlplugindump/CMakeLists.txt b/tools/qmlplugindump/CMakeLists.txt
new file mode 100644
index 0000000000..c2a84fcccc
--- /dev/null
+++ b/tools/qmlplugindump/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from qmlplugindump.pro.
+
+#####################################################################
+## qmlplugindump Tool:
+#####################################################################
+
+qt_add_tool(qmlplugindump
+ TOOLS_TARGET Qml # special case
+ SOURCES
+ ../shared/qmlstreamwriter.cpp ../shared/qmlstreamwriter.h
+ main.cpp
+ qmltypereader.cpp qmltypereader.h
+ INCLUDE_DIRECTORIES
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmlplugindump.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "Plugin" "Metadata" "Dumper"
+# QTPLUGIN.platforms = "qminimal"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(qmlplugindump CONDITION TARGET Qt::Widgets
+ PUBLIC_LIBRARIES
+ Qt::Widgets
+)
+
+qt_extend_target(qmlplugindump CONDITION APPLE_OSX
+ LINK_OPTIONS
+ "-Wl,-sectcreate,__TEXT,__info_plist,${CMAKE_CURRENT_SOURCE_DIR}/Info.plist" # special case
+)
diff --git a/tools/qmlpreview/.prev_CMakeLists.txt b/tools/qmlpreview/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..05eb333bb2
--- /dev/null
+++ b/tools/qmlpreview/.prev_CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from qmlpreview.pro.
+
+#####################################################################
+## qmlpreview Tool:
+#####################################################################
+
+qt_add_tool(qmlpreview
+ SOURCES
+ main.cpp
+ qmlpreviewapplication.cpp qmlpreviewapplication.h
+ qmlpreviewfilesystemwatcher.cpp qmlpreviewfilesystemwatcher.h
+ PUBLIC_LIBRARIES
+ Qt::Network
+ Qt::QmlDebugPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmlpreview.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "Preview"
diff --git a/tools/qmlpreview/CMakeLists.txt b/tools/qmlpreview/CMakeLists.txt
new file mode 100644
index 0000000000..2adec05254
--- /dev/null
+++ b/tools/qmlpreview/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from qmlpreview.pro.
+
+#####################################################################
+## qmlpreview Tool:
+#####################################################################
+
+qt_add_tool(qmlpreview
+ TOOLS_TARGET Qml # special case
+ SOURCES
+ main.cpp
+ qmlpreviewapplication.cpp qmlpreviewapplication.h
+ qmlpreviewfilesystemwatcher.cpp qmlpreviewfilesystemwatcher.h
+ PUBLIC_LIBRARIES
+ Qt::Network
+ Qt::QmlDebugPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmlpreview.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "Preview"
diff --git a/tools/qmlprofiler/.prev_CMakeLists.txt b/tools/qmlprofiler/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..eb51932918
--- /dev/null
+++ b/tools/qmlprofiler/.prev_CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from qmlprofiler.pro.
+
+#####################################################################
+## qmlprofiler Tool:
+#####################################################################
+
+qt_add_tool(qmlprofiler
+ SOURCES
+ commandlistener.cpp commandlistener.h
+ constants.h
+ main.cpp
+ qmlprofilerapplication.cpp qmlprofilerapplication.h
+ qmlprofilerclient.cpp qmlprofilerclient.h
+ qmlprofilerdata.cpp qmlprofilerdata.h
+ PUBLIC_LIBRARIES
+ Qt::Network
+ Qt::QmlDebugPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmlprofiler.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "Profiler"
diff --git a/tools/qmlprofiler/CMakeLists.txt b/tools/qmlprofiler/CMakeLists.txt
new file mode 100644
index 0000000000..6bc6fff823
--- /dev/null
+++ b/tools/qmlprofiler/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from qmlprofiler.pro.
+
+#####################################################################
+## qmlprofiler Tool:
+#####################################################################
+
+qt_add_tool(qmlprofiler
+ TOOLS_TARGET Qml # special case
+ SOURCES
+ commandlistener.cpp commandlistener.h
+ constants.h
+ main.cpp
+ qmlprofilerapplication.cpp qmlprofilerapplication.h
+ qmlprofilerclient.cpp qmlprofilerclient.h
+ qmlprofilerdata.cpp qmlprofilerdata.h
+ PUBLIC_LIBRARIES
+ Qt::Network
+ Qt::QmlDebugPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmlprofiler.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "Profiler"
diff --git a/tools/qmlscene/.prev_CMakeLists.txt b/tools/qmlscene/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..df4bfeaf44
--- /dev/null
+++ b/tools/qmlscene/.prev_CMakeLists.txt
@@ -0,0 +1,35 @@
+# Generated from qmlscene.pro.
+
+#####################################################################
+## qmlscene Tool:
+#####################################################################
+
+qt_add_tool(qmlscene
+ SOURCES
+ main.cpp
+ DEFINES
+ QML_RUNTIME_TESTING
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmlscene.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "Scene" "Viewer"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(qmlscene CONDITION TARGET Qt::Widgets
+ PUBLIC_LIBRARIES
+ Qt::Widgets
+)
+
+qt_extend_target(qmlscene CONDITION QT_FEATURE_qml_debug
+ DEFINES
+ QT_QML_DEBUG_NO_WARNING
+)
diff --git a/tools/qmlscene/CMakeLists.txt b/tools/qmlscene/CMakeLists.txt
new file mode 100644
index 0000000000..b53816c494
--- /dev/null
+++ b/tools/qmlscene/CMakeLists.txt
@@ -0,0 +1,36 @@
+# Generated from qmlscene.pro.
+
+#####################################################################
+## qmlscene Tool:
+#####################################################################
+
+qt_add_tool(qmlscene
+ TOOLS_TARGET Qml # special case
+ SOURCES
+ main.cpp
+ DEFINES
+ QML_RUNTIME_TESTING
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmlscene.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "Scene" "Viewer"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(qmlscene CONDITION TARGET Qt::Widgets
+ PUBLIC_LIBRARIES
+ Qt::Widgets
+)
+
+qt_extend_target(qmlscene CONDITION QT_FEATURE_qml_debug
+ DEFINES
+ QT_QML_DEBUG_NO_WARNING
+)
diff --git a/tools/qmltestrunner/.prev_CMakeLists.txt b/tools/qmltestrunner/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..0033cc0679
--- /dev/null
+++ b/tools/qmltestrunner/.prev_CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from qmltestrunner.pro.
+
+#####################################################################
+## qmltestrunner Tool:
+#####################################################################
+
+qt_add_tool(qmltestrunner
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QuickTest
+)
+
+#### Keys ignored in scope 1:.:.:qmltestrunner.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "Test" "Runner"
diff --git a/tools/qmltestrunner/CMakeLists.txt b/tools/qmltestrunner/CMakeLists.txt
new file mode 100644
index 0000000000..03d6cb77fb
--- /dev/null
+++ b/tools/qmltestrunner/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from qmltestrunner.pro.
+
+#####################################################################
+## qmltestrunner Tool:
+#####################################################################
+
+qt_add_tool(qmltestrunner
+ TOOLS_TARGET Qml # special case
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QuickTest
+)
+
+#### Keys ignored in scope 1:.:.:qmltestrunner.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "Test" "Runner"
diff --git a/tools/qmltime/CMakeLists.txt b/tools/qmltime/CMakeLists.txt
new file mode 100644
index 0000000000..03425e9ecf
--- /dev/null
+++ b/tools/qmltime/CMakeLists.txt
@@ -0,0 +1,33 @@
+# Generated from qmltime.pro.
+
+#####################################################################
+## qmltime Binary:
+#####################################################################
+
+qt_add_executable(qmltime
+ GUI
+ SOURCES
+ qmltime.cpp qmltime.h
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qmltime.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "QML" "Time"
+# QML_IMPORT_NAME = "QmlTime"
+# QML_IMPORT_VERSION = "1.0"
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
+
+set_target_properties(qmltime PROPERTIES
+ QT_QML_MODULE_INSTALL_QMLTYPES TRUE
+ QT_QML_MODULE_VERSION 1.0
+ QT_QML_MODULE_URI QmlTime
+)
+
+qt6_qml_type_registration(qmltime)