aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-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/CMakeLists.txt87
-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.txt21
-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/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.txt31
-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/qmllint/CMakeLists.txt35
-rw-r--r--tests/auto/qml/qmlplugindump/CMakeLists.txt44
-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.txt62
-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.txt61
-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.txt94
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt112
-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.txt43
-rw-r--r--tests/auto/qml/qqmlpromise/CMakeLists.txt44
-rw-r--r--tests/auto/qml/qqmlproperty/CMakeLists.txt38
-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/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.txt13
-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
321 files changed, 10645 insertions, 1 deletions
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
new file mode 100644
index 0000000000..106a7fe10e
--- /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)
+# add_subdirectory(cmake) # special case remove
+# special case begin
+# add_subdirectory(installed_cmake)
+# special case end
+add_subdirectory(toolsupport)
+if(NOT APPLE_UIKIT)
+ add_subdirectory(qmltest)
+endif()
+if(QT_FEATURE_opengles2 OR QT_FEATURE_opengles3 OR (QT_FEATURE_opengl AND TARGET Qt::Gui))
+ add_subdirectory(particles)
+endif()
+if(QT_FEATURE_opengles2 OR (QT_FEATURE_opengl AND TARGET Qt::Gui) OR (QT_FEATURE_opengles3 AND TARGET Qt::Widgets))
+ 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/CMakeLists.txt b/tests/auto/qml/CMakeLists.txt
new file mode 100644
index 0000000000..cccfe6105c
--- /dev/null
+++ b/tests/auto/qml/CMakeLists.txt
@@ -0,0 +1,87 @@
+# 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(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..7c0bd2e1cb
--- /dev/null
+++ b/tests/auto/qml/debugger/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from debugger.pro.
+
+add_subdirectory(qqmldebugjsserver)
+add_subdirectory(qdebugmessageservice)
+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/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..00357fb36b
--- /dev/null
+++ b/tests/auto/qml/ecmascripttests/CMakeLists.txt
@@ -0,0 +1,31 @@
+# Generated from ecmascripttests.pro.
+
+#####################################################################
+## tst_ecmascripttests Test:
+#####################################################################
+
+add_qt_test(tst_ecmascripttests
+ GUI
+ SOURCES
+ qjstest/test262runner.cpp qjstest/test262runner.h
+ tst_ecmascripttests.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ LIBRARIES
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Qml
+)
+
+#### Keys ignored in scope 2:.:.:testcase.pro:<TRUE>:
+# CONFIG = "testcase"
+# QT_TOOL_ENV = "checkenv"
+# checkenv.name = "QTEST_FUNCTION_TIMEOUT"
+# checkenv.value = "500000"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 3:.:.:testcase.pro:APPLE_OSX:
+# CONFIG = "-app_bundle"
+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/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..f8204d1057
--- /dev/null
+++ b/tests/auto/qml/qmlplugindump/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from qmlplugindump.pro.
+
+#####################################################################
+## tst_qmlplugindump Test:
+#####################################################################
+
+add_qt_test(tst_qmlplugindump
+ GUI
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qmlplugindump.cpp
+ DEFINES
+ QT_QMLTEST_DIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ LIBRARIES
+ Qt::GuiPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+#### Keys ignored in scope 2:.:.:tst_qmlplugindump.pro:<TRUE>:
+# CONFIG = "testcase"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 3:.:.:tst_qmlplugindump.pro:APPLE_OSX:
+# CONFIG = "-app_bundle"
+
+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..9508ebfa9b
--- /dev/null
+++ b/tests/auto/qml/qqmlapplicationengine/CMakeLists.txt
@@ -0,0 +1,62 @@
+# Generated from qqmlapplicationengine.pro.
+
+#####################################################################
+## tst_qqmlapplicationengine Test:
+#####################################################################
+
+# Collect test data
+
+file(GLOB test_data_glob
+ LIST_DIRECTORIES true
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ "data/*")
+list(APPEND test_data ${test_data_glob})
+
+add_qt_test(tst_qqmlapplicationengine
+ GUI
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlapplicationengine.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Network
+ Qt::Qml
+ TESTDATA ${test_data}
+)
+
+# Resources:
+add_qt_resource(tst_qqmlapplicationengine "tst_qqmlapplicationengine"
+ PREFIX
+ "/"
+ FILES
+ data/i18n/qml.qm
+ data/loadTranslation.qml
+)
+
+
+#### Keys ignored in scope 2:.:.:tst_qqmlapplicationengine.pro:<TRUE>:
+# CONFIG = "testcase"
+# TRANSLATIONS = "data/i18n/qml_ja.ts"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 3:.:.:tst_qqmlapplicationengine.pro:APPLE_OSX:
+# CONFIG = "-app_bundle"
+
+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..2e2ad71601
--- /dev/null
+++ b/tests/auto/qml/qqmllanguage/CMakeLists.txt
@@ -0,0 +1,61 @@
+# 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"
+
+## 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\\\"
+)
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..746774c593
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/.prev_CMakeLists.txt
@@ -0,0 +1,94 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Network
+ Qt::Qml
+ 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..85538c3a89
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt
@@ -0,0 +1,112 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Network
+ Qt::Qml
+ 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..f6fad897ca
--- /dev/null
+++ b/tests/auto/qml/qqmlparser/CMakeLists.txt
@@ -0,0 +1,43 @@
+# 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/util.cpp ../../shared/util.h
+ tst_qqmlparser.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ INCLUDE_DIRECTORIES
+ ../../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..dbe648bd2f
--- /dev/null
+++ b/tests/auto/qml/qqmlproperty/CMakeLists.txt
@@ -0,0 +1,38 @@
+# 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
+ tst_qqmlproperty.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ TESTDATA ${test_data}
+)
+
+## 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\\\"
+)
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/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..be23ca12ad
--- /dev/null
+++ b/tests/auto/quick/pointerhandlers/CMakeLists.txt
@@ -0,0 +1,13 @@
+# Generated from pointerhandlers.pro.
+
+if(QT_FEATURE_private_tests)
+ add_subdirectory(flickableinterop)
+ 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
+)