aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml')
-rw-r--r--tests/auto/qml/CMakeLists.txt88
-rw-r--r--tests/auto/qml/animation/CMakeLists.txt7
-rw-r--r--tests/auto/qml/animation/qabstractanimationjob/CMakeLists.txt18
-rw-r--r--tests/auto/qml/animation/qanimationgroupjob/CMakeLists.txt18
-rw-r--r--tests/auto/qml/animation/qparallelanimationgroupjob/CMakeLists.txt20
-rw-r--r--tests/auto/qml/animation/qpauseanimationjob/CMakeLists.txt20
-rw-r--r--tests/auto/qml/animation/qsequentialanimationgroupjob/CMakeLists.txt18
-rw-r--r--tests/auto/qml/bindingdependencyapi/CMakeLists.txt42
-rw-r--r--tests/auto/qml/debugger/CMakeLists.txt21
-rw-r--r--tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt47
-rw-r--r--tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt37
-rw-r--r--tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt42
-rw-r--r--tests/auto/qml/debugger/qqmldebuggingenabler/CMakeLists.txt4
-rw-r--r--tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt40
-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.txt46
-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.txt41
-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.txt51
-rw-r--r--tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt46
-rw-r--r--tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt43
-rw-r--r--tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt39
-rw-r--r--tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt43
-rw-r--r--tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt21
-rw-r--r--tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt47
-rw-r--r--tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt45
-rw-r--r--tests/auto/qml/debugger/qv4debugger/CMakeLists.txt26
-rw-r--r--tests/auto/qml/ecmascripttests/CMakeLists.txt31
-rw-r--r--tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt24
-rw-r--r--tests/auto/qml/parserstress/CMakeLists.txt27
-rw-r--r--tests/auto/qml/qjsengine/CMakeLists.txt56
-rw-r--r--tests/auto/qml/qjsonbinding/CMakeLists.txt38
-rw-r--r--tests/auto/qml/qjsvalue/CMakeLists.txt20
-rw-r--r--tests/auto/qml/qjsvalueiterator/CMakeLists.txt15
-rw-r--r--tests/auto/qml/qmlcachegen/CMakeLists.txt125
-rw-r--r--tests/auto/qml/qmldiskcache/.prev_CMakeLists.txt34
-rw-r--r--tests/auto/qml/qmldiskcache/CMakeLists.txt45
-rw-r--r--tests/auto/qml/qmllint/CMakeLists.txt35
-rw-r--r--tests/auto/qml/qmlmin/CMakeLists.txt25
-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.txt42
-rw-r--r--tests/auto/qml/qqmlchangeset/CMakeLists.txt22
-rw-r--r--tests/auto/qml/qqmlcomponent/CMakeLists.txt57
-rw-r--r--tests/auto/qml/qqmlconnections/CMakeLists.txt42
-rw-r--r--tests/auto/qml/qqmlconsole/CMakeLists.txt38
-rw-r--r--tests/auto/qml/qqmlcontext/CMakeLists.txt40
-rw-r--r--tests/auto/qml/qqmlcpputils/CMakeLists.txt20
-rw-r--r--tests/auto/qml/qqmldirparser/CMakeLists.txt38
-rw-r--r--tests/auto/qml/qqmlecmascript/.prev_CMakeLists.txt64
-rw-r--r--tests/auto/qml/qqmlecmascript/CMakeLists.txt71
-rw-r--r--tests/auto/qml/qqmlengine/CMakeLists.txt60
-rw-r--r--tests/auto/qml/qqmlenginecleanup/CMakeLists.txt31
-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.txt40
-rw-r--r--tests/auto/qml/qqmlexpression/CMakeLists.txt40
-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.txt40
-rw-r--r--tests/auto/qml/qqmlglobal/CMakeLists.txt20
-rw-r--r--tests/auto/qml/qqmlimport/CMakeLists.txt51
-rw-r--r--tests/auto/qml/qqmlincubator/CMakeLists.txt42
-rw-r--r--tests/auto/qml/qqmlinfo/CMakeLists.txt40
-rw-r--r--tests/auto/qml/qqmlinstantiator/CMakeLists.txt43
-rw-r--r--tests/auto/qml/qqmlitemmodels/CMakeLists.txt41
-rw-r--r--tests/auto/qml/qqmllanguage/CMakeLists.txt63
-rw-r--r--tests/auto/qml/qqmllistcompositor/CMakeLists.txt24
-rw-r--r--tests/auto/qml/qqmllistmodel/CMakeLists.txt44
-rw-r--r--tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt44
-rw-r--r--tests/auto/qml/qqmllistreference/CMakeLists.txt42
-rw-r--r--tests/auto/qml/qqmllocale/CMakeLists.txt38
-rw-r--r--tests/auto/qml/qqmlmetaobject/CMakeLists.txt38
-rw-r--r--tests/auto/qml/qqmlmetatype/CMakeLists.txt65
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/.prev_CMakeLists.txt95
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt110
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/.prev_CMakeLists.txt26
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/CMakeLists.txt31
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/.prev_CMakeLists.txt26
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/CMakeLists.txt31
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/nestedPlugin/.prev_CMakeLists.txt23
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/nestedPlugin/CMakeLists.txt30
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/nonstrictModule/.prev_CMakeLists.txt26
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/nonstrictModule/CMakeLists.txt31
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2.1/.prev_CMakeLists.txt26
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt32
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/.prev_CMakeLists.txt23
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/CMakeLists.txt31
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2.2/.prev_CMakeLists.txt26
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt32
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2/.prev_CMakeLists.txt26
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt32
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/.prev_CMakeLists.txt24
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/CMakeLists.txt32
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin/.prev_CMakeLists.txt26
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin/CMakeLists.txt31
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/.prev_CMakeLists.txt23
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/CMakeLists.txt30
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/pluginMixed/.prev_CMakeLists.txt26
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/pluginMixed/CMakeLists.txt31
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/pluginVersion/.prev_CMakeLists.txt26
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/pluginVersion/CMakeLists.txt31
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/.prev_CMakeLists.txt26
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/CMakeLists.txt31
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/.prev_CMakeLists.txt26
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/CMakeLists.txt31
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/.prev_CMakeLists.txt26
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/CMakeLists.txt31
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/preemptiveModule/.prev_CMakeLists.txt26
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/preemptiveModule/CMakeLists.txt31
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/protectedModule/.prev_CMakeLists.txt26
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/protectedModule/CMakeLists.txt31
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/strictModule.2/.prev_CMakeLists.txt26
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/strictModule.2/CMakeLists.txt32
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/strictModule/.prev_CMakeLists.txt26
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/strictModule/CMakeLists.txt31
-rw-r--r--tests/auto/qml/qqmlnotifier/CMakeLists.txt36
-rw-r--r--tests/auto/qml/qqmlobjectmodel/CMakeLists.txt21
-rw-r--r--tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt20
-rw-r--r--tests/auto/qml/qqmlparser/CMakeLists.txt45
-rw-r--r--tests/auto/qml/qqmlpromise/CMakeLists.txt46
-rw-r--r--tests/auto/qml/qqmlproperty/CMakeLists.txt40
-rw-r--r--tests/auto/qml/qqmlpropertycache/CMakeLists.txt40
-rw-r--r--tests/auto/qml/qqmlpropertymap/CMakeLists.txt42
-rw-r--r--tests/auto/qml/qqmlqt/CMakeLists.txt42
-rw-r--r--tests/auto/qml/qqmlsettings/CMakeLists.txt36
-rw-r--r--tests/auto/qml/qqmlsqldatabase/CMakeLists.txt43
-rw-r--r--tests/auto/qml/qqmlstatemachine/CMakeLists.txt35
-rw-r--r--tests/auto/qml/qqmltablemodel/CMakeLists.txt42
-rw-r--r--tests/auto/qml/qqmltimer/CMakeLists.txt22
-rw-r--r--tests/auto/qml/qqmltranslation/.prev_CMakeLists.txt56
-rw-r--r--tests/auto/qml/qqmltranslation/CMakeLists.txt70
-rw-r--r--tests/auto/qml/qqmltypeloader/CMakeLists.txt40
-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.txt43
-rw-r--r--tests/auto/qml/qqmlvaluetypes/CMakeLists.txt46
-rw-r--r--tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt42
-rw-r--r--tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt55
-rw-r--r--tests/auto/qml/qquickfolderlistmodel/CMakeLists.txt58
-rw-r--r--tests/auto/qml/qquickworkerscript/CMakeLists.txt42
-rw-r--r--tests/auto/qml/qrcqml/CMakeLists.txt90
-rw-r--r--tests/auto/qml/qtqmlmodules/CMakeLists.txt40
-rw-r--r--tests/auto/qml/qv4assembler/CMakeLists.txt38
-rw-r--r--tests/auto/qml/qv4identifiertable/CMakeLists.txt18
-rw-r--r--tests/auto/qml/qv4mm/CMakeLists.txt38
-rw-r--r--tests/auto/qml/qv4regexp/CMakeLists.txt18
-rw-r--r--tests/auto/qml/qwidgetsinqml/CMakeLists.txt21
-rw-r--r--tests/auto/qml/v4misc/CMakeLists.txt19
164 files changed, 5875 insertions, 0 deletions
diff --git a/tests/auto/qml/CMakeLists.txt b/tests/auto/qml/CMakeLists.txt
new file mode 100644
index 0000000000..3237749513
--- /dev/null
+++ b/tests/auto/qml/CMakeLists.txt
@@ -0,0 +1,88 @@
+# Generated from qml.pro.
+
+add_subdirectory(parserstress)
+add_subdirectory(qjsvalueiterator)
+add_subdirectory(qjsonbinding)
+add_subdirectory(qqmlfile)
+add_subdirectory(qqmlfileselector)
+add_subdirectory(qmlmin)
+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..f6b8b2aa69
--- /dev/null
+++ b/tests/auto/qml/animation/qabstractanimationjob/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from qabstractanimationjob.pro.
+
+#####################################################################
+## tst_qabstractanimationjob Test:
+#####################################################################
+
+qt_add_test(tst_qabstractanimationjob
+ SOURCES
+ tst_qabstractanimationjob.cpp
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Qml
+)
+
+## 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..d62512b489
--- /dev/null
+++ b/tests/auto/qml/animation/qanimationgroupjob/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from qanimationgroupjob.pro.
+
+#####################################################################
+## tst_qanimationgroupjob Test:
+#####################################################################
+
+qt_add_test(tst_qanimationgroupjob
+ SOURCES
+ tst_qanimationgroupjob.cpp
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Qml
+)
+
+## 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..02fa824cd2
--- /dev/null
+++ b/tests/auto/qml/animation/qparallelanimationgroupjob/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qparallelanimationgroupjob.pro.
+
+#####################################################################
+## tst_qparallelanimationgroupjob Test:
+#####################################################################
+
+qt_add_test(tst_qparallelanimationgroupjob
+ SOURCES
+ tst_qparallelanimationgroupjob.cpp
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+## 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..e337d8aea9
--- /dev/null
+++ b/tests/auto/qml/animation/qpauseanimationjob/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qpauseanimationjob.pro.
+
+#####################################################################
+## tst_qpauseanimationjob Test:
+#####################################################################
+
+qt_add_test(tst_qpauseanimationjob
+ SOURCES
+ tst_qpauseanimationjob.cpp
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+## 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..925f0c618b
--- /dev/null
+++ b/tests/auto/qml/animation/qsequentialanimationgroupjob/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from qsequentialanimationgroupjob.pro.
+
+#####################################################################
+## tst_qsequentialanimationgroupjob Test:
+#####################################################################
+
+qt_add_test(tst_qsequentialanimationgroupjob
+ SOURCES
+ tst_qsequentialanimationgroupjob.cpp
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Qml
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/bindingdependencyapi/CMakeLists.txt b/tests/auto/qml/bindingdependencyapi/CMakeLists.txt
new file mode 100644
index 0000000000..3f44aa3c0e
--- /dev/null
+++ b/tests/auto/qml/bindingdependencyapi/CMakeLists.txt
@@ -0,0 +1,42 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ 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..1a28e73cea
--- /dev/null
+++ b/tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt
@@ -0,0 +1,47 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Network
+ Qt::QmlDebug
+ 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..89e7b098bd
--- /dev/null
+++ b/tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt
@@ -0,0 +1,37 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Network
+ Qt::QmlDebug
+)
+
+## 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..578bc9bd21
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt
@@ -0,0 +1,42 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlDebug
+)
+
+## 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..c90cc0e9de
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt
@@ -0,0 +1,40 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlDebug
+)
+
+#### 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..4f9777eeba
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt
@@ -0,0 +1,46 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QmlDebug
+ 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..791ea18adb
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt
@@ -0,0 +1,41 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlDebug
+)
+
+## 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..9b369053cc
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt
@@ -0,0 +1,51 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlDebug
+ 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..a0f76b270a
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt
@@ -0,0 +1,46 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QmlDebug
+ 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..b8c377a268
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt
@@ -0,0 +1,43 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QmlDebug
+ 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..6e54b5c7f5
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt
@@ -0,0 +1,39 @@
+# 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
+ LIBRARIES
+ Qt::QmlDebugPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlDebug
+ 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..822f59a2cb
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt
@@ -0,0 +1,43 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QmlDebug
+ 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..c818c158dc
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from qqmlnativeconnector.pro.
+
+#####################################################################
+## tst_qqmlnativeconnector Test:
+#####################################################################
+
+qt_add_test(tst_qqmlnativeconnector
+ SOURCES
+ tst_qqmlnativeconnector.cpp
+ DEFINES
+ QT_QML_DEBUG
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ 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..1d31348b6d
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt
@@ -0,0 +1,47 @@
+# 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
+ LIBRARIES
+ Qt::QmlDebugPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlDebug
+ 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..c1c588b798
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt
@@ -0,0 +1,45 @@
+# 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
+ LIBRARIES
+ Qt::GuiPrivate
+ Qt::QmlDebugPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QmlDebug
+ 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..61ba310c9e
--- /dev/null
+++ b/tests/auto/qml/debugger/qv4debugger/CMakeLists.txt
@@ -0,0 +1,26 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Network
+ Qt::Qml
+)
+
+## 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..5ec6cb6257
--- /dev/null
+++ b/tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from qjstest.pro.
+
+#####################################################################
+## qjstest Tool:
+#####################################################################
+
+qt_add_tool(qjstest
+ SOURCES
+ main.cpp
+ test262runner.cpp test262runner.h
+ DEFINES
+ QT_DEPRECATED_WARNINGS
+ INCLUDE_DIRECTORIES
+ .
+ LIBRARIES
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+#### Keys ignored in scope 1:.:.:qjstest.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "Javascript" "test" "runner"
+# TEMPLATE = "app"
diff --git a/tests/auto/qml/parserstress/CMakeLists.txt b/tests/auto/qml/parserstress/CMakeLists.txt
new file mode 100644
index 0000000000..bbd29fa6a5
--- /dev/null
+++ b/tests/auto/qml/parserstress/CMakeLists.txt
@@ -0,0 +1,27 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..8e406e92ca
--- /dev/null
+++ b/tests/auto/qml/qjsengine/CMakeLists.txt
@@ -0,0 +1,56 @@
+# 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
+ LIBRARIES
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..ef9612d5db
--- /dev/null
+++ b/tests/auto/qml/qjsonbinding/CMakeLists.txt
@@ -0,0 +1,38 @@
+# 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
+ LIBRARIES
+ Qt::GuiPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ 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..43f4a0d543
--- /dev/null
+++ b/tests/auto/qml/qjsvalue/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qjsvalue.pro.
+
+#####################################################################
+## tst_qjsvalue Test:
+#####################################################################
+
+qt_add_test(tst_qjsvalue
+ SOURCES
+ tst_qjsvalue.cpp tst_qjsvalue.h
+ LIBRARIES
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..fcd4be8633
--- /dev/null
+++ b/tests/auto/qml/qmlcachegen/CMakeLists.txt
@@ -0,0 +1,125 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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/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..47bd9f64cd
--- /dev/null
+++ b/tests/auto/qml/qmldiskcache/.prev_CMakeLists.txt
@@ -0,0 +1,34 @@
+# Generated from qmldiskcache.pro.
+
+#####################################################################
+## tst_qmldiskcache Test:
+#####################################################################
+
+qt_add_test(tst_qmldiskcache
+ SOURCES
+ tst_qmldiskcache.cpp
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+# 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..2d46117815
--- /dev/null
+++ b/tests/auto/qml/qmldiskcache/CMakeLists.txt
@@ -0,0 +1,45 @@
+# Generated from qmldiskcache.pro.
+
+#####################################################################
+## tst_qmldiskcache Test:
+#####################################################################
+
+qt_add_test(tst_qmldiskcache
+ SOURCES
+ tst_qmldiskcache.cpp
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+# 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/qmlmin/CMakeLists.txt b/tests/auto/qml/qmlmin/CMakeLists.txt
new file mode 100644
index 0000000000..b1a8037cca
--- /dev/null
+++ b/tests/auto/qml/qmlmin/CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from qmlmin.pro.
+
+#####################################################################
+## tst_qmlmin Test:
+#####################################################################
+
+qt_add_test(tst_qmlmin
+ SOURCES
+ tst_qmlmin.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ LIBRARIES
+ Qt::GuiPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qmlmin CONDITION cross_compile AND NOT boot2qt
+ DEFINES
+ QTEST_CROSS_COMPILED
+)
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..aeb3308336
--- /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"
+# 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..cf776a58ff
--- /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"
+# 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
+ 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..d4ac2e7dad
--- /dev/null
+++ b/tests/auto/qml/qqmlbinding/CMakeLists.txt
@@ -0,0 +1,42 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ 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..c8da32eff8
--- /dev/null
+++ b/tests/auto/qml/qqmlchangeset/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from qqmlchangeset.pro.
+
+#####################################################################
+## tst_qqmlhangeset Test:
+#####################################################################
+
+qt_add_test(tst_qqmlhangeset
+ SOURCES
+ tst_qqmlchangeset.cpp
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlModels
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qqmlcomponent/CMakeLists.txt b/tests/auto/qml/qqmlcomponent/CMakeLists.txt
new file mode 100644
index 0000000000..41f844d369
--- /dev/null
+++ b/tests/auto/qml/qqmlcomponent/CMakeLists.txt
@@ -0,0 +1,57 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Network
+ Qt::Qml
+ Qt::Quick
+ 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..22f2a86278
--- /dev/null
+++ b/tests/auto/qml/qqmlconnections/CMakeLists.txt
@@ -0,0 +1,42 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ 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..25c726e8fd
--- /dev/null
+++ b/tests/auto/qml/qqmlconsole/CMakeLists.txt
@@ -0,0 +1,38 @@
+# 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
+ LIBRARIES
+ Qt::GuiPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ 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..a3c08a67f7
--- /dev/null
+++ b/tests/auto/qml/qqmlcontext/CMakeLists.txt
@@ -0,0 +1,40 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..8b12231c2a
--- /dev/null
+++ b/tests/auto/qml/qqmlcpputils/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qqmlcpputils.pro.
+
+#####################################################################
+## tst_qqmlcpputils Test:
+#####################################################################
+
+qt_add_test(tst_qqmlcpputils
+ SOURCES
+ tst_qqmlcpputils.cpp
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qqmldirparser/CMakeLists.txt b/tests/auto/qml/qqmldirparser/CMakeLists.txt
new file mode 100644
index 0000000000..9a408dfd4a
--- /dev/null
+++ b/tests/auto/qml/qqmldirparser/CMakeLists.txt
@@ -0,0 +1,38 @@
+# 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
+ LIBRARIES
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..8c57d85eb7
--- /dev/null
+++ b/tests/auto/qml/qqmlecmascript/.prev_CMakeLists.txt
@@ -0,0 +1,64 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Network
+ Qt::Qml
+ 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..72ec67ba9f
--- /dev/null
+++ b/tests/auto/qml/qqmlecmascript/CMakeLists.txt
@@ -0,0 +1,71 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Network
+ Qt::Qml
+ 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..0c87451873
--- /dev/null
+++ b/tests/auto/qml/qqmlengine/CMakeLists.txt
@@ -0,0 +1,60 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Network
+ Qt::Qml
+ 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..3dad2d2ce9
--- /dev/null
+++ b/tests/auto/qml/qqmlenginecleanup/CMakeLists.txt
@@ -0,0 +1,31 @@
+# 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
+ LIBRARIES
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+## 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..a63125137b
--- /dev/null
+++ b/tests/auto/qml/qqmlerror/CMakeLists.txt
@@ -0,0 +1,40 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..39ded1e25d
--- /dev/null
+++ b/tests/auto/qml/qqmlexpression/CMakeLists.txt
@@ -0,0 +1,40 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..4b85b1c94b
--- /dev/null
+++ b/tests/auto/qml/qqmlfileselector/CMakeLists.txt
@@ -0,0 +1,40 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..fa6832b178
--- /dev/null
+++ b/tests/auto/qml/qqmlglobal/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qqmlglobal.pro.
+
+#####################################################################
+## tst_qqmlglobal Test:
+#####################################################################
+
+qt_add_test(tst_qqmlglobal
+ SOURCES
+ tst_qqmlglobal.cpp
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qqmlimport/CMakeLists.txt b/tests/auto/qml/qqmlimport/CMakeLists.txt
new file mode 100644
index 0000000000..b965a224c6
--- /dev/null
+++ b/tests/auto/qml/qqmlimport/CMakeLists.txt
@@ -0,0 +1,51 @@
+# 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
+ LIBRARIES
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..a2feb956dc
--- /dev/null
+++ b/tests/auto/qml/qqmlincubator/CMakeLists.txt
@@ -0,0 +1,42 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Network
+ Qt::Qml
+ 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..d6e345a859
--- /dev/null
+++ b/tests/auto/qml/qqmlinfo/CMakeLists.txt
@@ -0,0 +1,40 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..3503458a9a
--- /dev/null
+++ b/tests/auto/qml/qqmlinstantiator/CMakeLists.txt
@@ -0,0 +1,43 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlModels
+ 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..eec5b82607
--- /dev/null
+++ b/tests/auto/qml/qqmllanguage/CMakeLists.txt
@@ -0,0 +1,63 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Network
+ Qt::Qml
+ 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..49859e70f2
--- /dev/null
+++ b/tests/auto/qml/qqmllistcompositor/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from qqmllistcompositor.pro.
+
+#####################################################################
+## tst_qqmllistcompositor Test:
+#####################################################################
+
+qt_add_test(tst_qqmllistcompositor
+ SOURCES
+ tst_qqmllistcompositor.cpp
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlModels
+ Qt::Quick
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qqmllistmodel/CMakeLists.txt b/tests/auto/qml/qqmllistmodel/CMakeLists.txt
new file mode 100644
index 0000000000..44589cbc76
--- /dev/null
+++ b/tests/auto/qml/qqmllistmodel/CMakeLists.txt
@@ -0,0 +1,44 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlModels
+ Qt::Quick
+ 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..2e689e0afe
--- /dev/null
+++ b/tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt
@@ -0,0 +1,44 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlModels
+ Qt::Quick
+ 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..0dc3394971
--- /dev/null
+++ b/tests/auto/qml/qqmllistreference/CMakeLists.txt
@@ -0,0 +1,42 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ 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..139582c1a7
--- /dev/null
+++ b/tests/auto/qml/qqmllocale/CMakeLists.txt
@@ -0,0 +1,38 @@
+# 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
+ LIBRARIES
+ Qt::GuiPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ 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..2ca7b78d11
--- /dev/null
+++ b/tests/auto/qml/qqmlmetaobject/CMakeLists.txt
@@ -0,0 +1,38 @@
+# 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
+ LIBRARIES
+ Qt::GuiPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ 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..1f22d176f9
--- /dev/null
+++ b/tests/auto/qml/qqmlmetatype/CMakeLists.txt
@@ -0,0 +1,65 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..02db3b8bf3
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/.prev_CMakeLists.txt
@@ -0,0 +1,95 @@
+# Generated from qqmlmoduleplugin.pro.
+
+#####################################################################
+## tst_qqmlmoduleplugin 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})
+
+file(GLOB test_data_glob
+ LIST_DIRECTORIES true
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ "imports/*")
+list(APPEND test_data ${test_data_glob})
+
+file(GLOB test_data_glob
+ LIST_DIRECTORIES true
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ "${CMAKE_CURRENT_BINARY_DIR}/imports/*")
+list(APPEND test_data ${test_data_glob})
+
+add_qt_test(tst_qqmlmoduleplugin
+ GUI
+ 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:
+add_qt_resource(tst_qqmlmoduleplugin "qmake_waitingPlugin"
+ PREFIX
+ "/qt-project.org/imports/"
+ FILES
+ moduleWithWaitingPlugin
+)
+add_qt_resource(tst_qqmlmoduleplugin "qmake_staticPlugin"
+ PREFIX
+ "/qt-project.org/imports/"
+ FILES
+ moduleWithStaticPlugin
+)
+
+
+#### Keys ignored in scope 2:.:.:tst_qqmlmoduleplugin.pro:<TRUE>:
+# CONFIG = "testcase" "-app_bundle"
+
+## 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)
diff --git a/tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt
new file mode 100644
index 0000000000..715e75b1f5
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt
@@ -0,0 +1,110 @@
+# Generated from qqmlmoduleplugin.pro.
+
+#####################################################################
+## tst_qqmlmoduleplugin 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})
+
+file(GLOB test_data_glob
+ LIST_DIRECTORIES true
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ "imports/*")
+list(APPEND test_data ${test_data_glob})
+
+file(GLOB test_data_glob
+ LIST_DIRECTORIES true
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ "${CMAKE_CURRENT_BINARY_DIR}/imports/*")
+list(APPEND test_data ${test_data_glob})
+
+add_qt_test(tst_qqmlmoduleplugin
+ GUI
+ 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:
+add_qt_resource(tst_qqmlmoduleplugin "qmake_waitingPlugin"
+ PREFIX
+ "/qt-project.org/imports/"
+ FILES
+ moduleWithWaitingPlugin
+)
+add_qt_resource(tst_qqmlmoduleplugin "qmake_staticPlugin"
+ PREFIX
+ "/qt-project.org/imports/"
+ FILES
+ moduleWithStaticPlugin
+)
+
+
+#### 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)
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..d03442b163
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/.prev_CMakeLists.txt
@@ -0,0 +1,26 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..6bb1cbb689
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/CMakeLists.txt
@@ -0,0 +1,31 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..bf9ed44b68
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/.prev_CMakeLists.txt
@@ -0,0 +1,26 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..416916a9c8
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/CMakeLists.txt
@@ -0,0 +1,31 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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/nestedPlugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..59bc23604e
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/.prev_CMakeLists.txt
@@ -0,0 +1,23 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..ea035b9815
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/CMakeLists.txt
@@ -0,0 +1,30 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..793ef68eb8
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/.prev_CMakeLists.txt
@@ -0,0 +1,26 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..6739b18c53
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/CMakeLists.txt
@@ -0,0 +1,31 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..0ace521a5d
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/.prev_CMakeLists.txt
@@ -0,0 +1,26 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..5f008737f7
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt
@@ -0,0 +1,32 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..caa119c2d3
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/.prev_CMakeLists.txt
@@ -0,0 +1,23 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..8cb9cc3740
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/CMakeLists.txt
@@ -0,0 +1,31 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..8d344ca55a
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/.prev_CMakeLists.txt
@@ -0,0 +1,26 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..48ebf86a07
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt
@@ -0,0 +1,32 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..ece805b2a8
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2/.prev_CMakeLists.txt
@@ -0,0 +1,26 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..c1827202e0
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt
@@ -0,0 +1,32 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..7446fa49c3
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/.prev_CMakeLists.txt
@@ -0,0 +1,24 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..ebf8b65f38
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/CMakeLists.txt
@@ -0,0 +1,32 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..f9f5f1ea92
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin/.prev_CMakeLists.txt
@@ -0,0 +1,26 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..ced3e394bc
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin/CMakeLists.txt
@@ -0,0 +1,31 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..ff70bc3f61
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/.prev_CMakeLists.txt
@@ -0,0 +1,23 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..0490d76d80
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/CMakeLists.txt
@@ -0,0 +1,30 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..651a4e124b
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/pluginMixed/.prev_CMakeLists.txt
@@ -0,0 +1,26 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..a31f9d7a91
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/pluginMixed/CMakeLists.txt
@@ -0,0 +1,31 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..fe49c797b4
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/pluginVersion/.prev_CMakeLists.txt
@@ -0,0 +1,26 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..2c7d69e408
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/pluginVersion/CMakeLists.txt
@@ -0,0 +1,31 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..825d30bea9
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/.prev_CMakeLists.txt
@@ -0,0 +1,26 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..29fa258de8
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/CMakeLists.txt
@@ -0,0 +1,31 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..94e7013e32
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/.prev_CMakeLists.txt
@@ -0,0 +1,26 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..b14b40fd78
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/CMakeLists.txt
@@ -0,0 +1,31 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..9b37de6443
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/.prev_CMakeLists.txt
@@ -0,0 +1,26 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..7068f51f03
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/CMakeLists.txt
@@ -0,0 +1,31 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..5ed3768a75
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/.prev_CMakeLists.txt
@@ -0,0 +1,26 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..7e8b4d0739
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/CMakeLists.txt
@@ -0,0 +1,31 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..65b4d1bc40
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/protectedModule/.prev_CMakeLists.txt
@@ -0,0 +1,26 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..be50685c09
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/protectedModule/CMakeLists.txt
@@ -0,0 +1,31 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..d57f762100
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/strictModule.2/.prev_CMakeLists.txt
@@ -0,0 +1,26 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..6229b9efaf
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/strictModule.2/CMakeLists.txt
@@ -0,0 +1,32 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..d76e1600ae
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/strictModule/.prev_CMakeLists.txt
@@ -0,0 +1,26 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..4a5a79be4d
--- /dev/null
+++ b/tests/auto/qml/qqmlmoduleplugin/strictModule/CMakeLists.txt
@@ -0,0 +1,31 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+#### 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..6be3149ccb
--- /dev/null
+++ b/tests/auto/qml/qqmlobjectmodel/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from qqmlobjectmodel.pro.
+
+#####################################################################
+## tst_qqmlobjectmodel Test:
+#####################################################################
+
+qt_add_test(tst_qqmlobjectmodel
+ SOURCES
+ tst_qqmlobjectmodel.cpp
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlModels
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt b/tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt
new file mode 100644
index 0000000000..b20b8363e3
--- /dev/null
+++ b/tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qqmlopenmetaobject.pro.
+
+#####################################################################
+## tst_qqmlopenmetaobject Test:
+#####################################################################
+
+qt_add_test(tst_qqmlopenmetaobject
+ SOURCES
+ tst_qqmlopenmetaobject.cpp
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qqmlparser/CMakeLists.txt b/tests/auto/qml/qqmlparser/CMakeLists.txt
new file mode 100644
index 0000000000..074e979d86
--- /dev/null
+++ b/tests/auto/qml/qqmlparser/CMakeLists.txt
@@ -0,0 +1,45 @@
+# 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
+ LIBRARIES
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qqmlparser CONDITION cross_compile
+ 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..06cbfdf714
--- /dev/null
+++ b/tests/auto/qml/qqmlpromise/CMakeLists.txt
@@ -0,0 +1,46 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..0bb6c9e2e7
--- /dev/null
+++ b/tests/auto/qml/qqmlproperty/CMakeLists.txt
@@ -0,0 +1,40 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..5666ca191c
--- /dev/null
+++ b/tests/auto/qml/qqmlpropertycache/CMakeLists.txt
@@ -0,0 +1,40 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..b388266e88
--- /dev/null
+++ b/tests/auto/qml/qqmlpropertymap/CMakeLists.txt
@@ -0,0 +1,42 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ 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..e81e9cba58
--- /dev/null
+++ b/tests/auto/qml/qqmlqt/CMakeLists.txt
@@ -0,0 +1,42 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ 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..23b57c97fb
--- /dev/null
+++ b/tests/auto/qml/qqmlsqldatabase/CMakeLists.txt
@@ -0,0 +1,43 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ 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..dc954aea26
--- /dev/null
+++ b/tests/auto/qml/qqmlstatemachine/CMakeLists.txt
@@ -0,0 +1,35 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+## 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..519f3334ad
--- /dev/null
+++ b/tests/auto/qml/qqmltablemodel/CMakeLists.txt
@@ -0,0 +1,42 @@
+# 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
+ LIBRARIES
+ Qt::QmlModelsPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlModels
+ Qt::Quick
+ 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..eadc846d71
--- /dev/null
+++ b/tests/auto/qml/qqmltimer/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from qqmltimer.pro.
+
+#####################################################################
+## tst_qqmltimer Test:
+#####################################################################
+
+qt_add_test(tst_qqmltimer
+ SOURCES
+ tst_qqmltimer.cpp
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+## 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..d835cf8773
--- /dev/null
+++ b/tests/auto/qml/qqmltranslation/.prev_CMakeLists.txt
@@ -0,0 +1,56 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..45fc4c234f
--- /dev/null
+++ b/tests/auto/qml/qqmltranslation/CMakeLists.txt
@@ -0,0 +1,70 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..8e71ea4315
--- /dev/null
+++ b/tests/auto/qml/qqmltypeloader/CMakeLists.txt
@@ -0,0 +1,40 @@
+# 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
+ tst_qqmltypeloader.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ LIBRARIES
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ TESTDATA ${test_data}
+)
+
+## 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\\\"
+)
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..c11d932c65
--- /dev/null
+++ b/tests/auto/qml/qqmlvaluetypeproviders/CMakeLists.txt
@@ -0,0 +1,43 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ 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..ce5ff68040
--- /dev/null
+++ b/tests/auto/qml/qqmlvaluetypes/CMakeLists.txt
@@ -0,0 +1,46 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ 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..547f323190
--- /dev/null
+++ b/tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt
@@ -0,0 +1,42 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Network
+ Qt::Qml
+ 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..eee005c48a
--- /dev/null
+++ b/tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt
@@ -0,0 +1,55 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..5938a36f6f
--- /dev/null
+++ b/tests/auto/qml/qquickfolderlistmodel/CMakeLists.txt
@@ -0,0 +1,58 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..511144c6af
--- /dev/null
+++ b/tests/auto/qml/qquickworkerscript/CMakeLists.txt
@@ -0,0 +1,42 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QmlWorkerScriptPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::QmlWorkerScript
+ 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..190a8d3034
--- /dev/null
+++ b/tests/auto/qml/qtqmlmodules/CMakeLists.txt
@@ -0,0 +1,40 @@
+# 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
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..b16aaf9f3f
--- /dev/null
+++ b/tests/auto/qml/qv4assembler/CMakeLists.txt
@@ -0,0 +1,38 @@
+# 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
+ LIBRARIES
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..dd31cde5ad
--- /dev/null
+++ b/tests/auto/qml/qv4identifiertable/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from qv4identifiertable.pro.
+
+#####################################################################
+## tst_qv4identifiertable Test:
+#####################################################################
+
+qt_add_test(tst_qv4identifiertable
+ SOURCES
+ tst_qv4identifiertable.cpp
+ LIBRARIES
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qv4mm/CMakeLists.txt b/tests/auto/qml/qv4mm/CMakeLists.txt
new file mode 100644
index 0000000000..bd7c328acf
--- /dev/null
+++ b/tests/auto/qml/qv4mm/CMakeLists.txt
@@ -0,0 +1,38 @@
+# 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
+ LIBRARIES
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ 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..5eb99906b1
--- /dev/null
+++ b/tests/auto/qml/qv4regexp/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from qv4regexp.pro.
+
+#####################################################################
+## tst_qv4regexp Test:
+#####################################################################
+
+qt_add_test(tst_qv4regexp
+ SOURCES
+ tst_qv4regexp.cpp
+ LIBRARIES
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qml/qwidgetsinqml/CMakeLists.txt b/tests/auto/qml/qwidgetsinqml/CMakeLists.txt
new file mode 100644
index 0000000000..fb6f9c9d6b
--- /dev/null
+++ b/tests/auto/qml/qwidgetsinqml/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from qwidgetsinqml.pro.
+
+#####################################################################
+## tst_qwidgetsinqml Test:
+#####################################################################
+
+qt_add_test(tst_qwidgetsinqml
+ SOURCES
+ tst_qwidgetsinqml.cpp
+ DEFINES
+ QT_DISABLE_DEPRECATED_BEFORE=0
+ LIBRARIES
+ Qt::GuiPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ 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..75e7dcc88b
--- /dev/null
+++ b/tests/auto/qml/v4misc/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from v4misc.pro.
+
+#####################################################################
+## tst_v4misc Test:
+#####################################################################
+
+qt_add_test(tst_v4misc
+ SOURCES
+ tst_v4misc.cpp
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+## Scopes:
+#####################################################################