aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.prev_CMakeLists.txt19
-rw-r--r--CMakeLists.txt19
-rw-r--r--coin/module_config.yaml13
-rw-r--r--dependencies.yaml7
-rw-r--r--examples/.prev_CMakeLists.txt7
-rw-r--r--examples/CMakeLists.txt9
-rw-r--r--examples/quickcontrols2/CMakeLists.txt14
-rw-r--r--examples/quickcontrols2/chattutorial/CMakeLists.txt7
-rw-r--r--examples/quickcontrols2/chattutorial/chapter1-settingup/CMakeLists.txt46
-rw-r--r--examples/quickcontrols2/chattutorial/chapter2-lists/CMakeLists.txt105
-rw-r--r--examples/quickcontrols2/chattutorial/chapter3-navigation/CMakeLists.txt107
-rw-r--r--examples/quickcontrols2/chattutorial/chapter4-models/CMakeLists.txt111
-rw-r--r--examples/quickcontrols2/chattutorial/chapter5-styling/CMakeLists.txt114
-rw-r--r--examples/quickcontrols2/contactlist/CMakeLists.txt51
-rw-r--r--examples/quickcontrols2/flatstyle/CMakeLists.txt55
-rw-r--r--examples/quickcontrols2/gallery/CMakeLists.txt99
-rw-r--r--examples/quickcontrols2/imagine/automotive/CMakeLists.txt184
-rw-r--r--examples/quickcontrols2/imagine/musicplayer/CMakeLists.txt215
-rw-r--r--examples/quickcontrols2/sidepanel/CMakeLists.txt50
-rw-r--r--examples/quickcontrols2/swipetoremove/CMakeLists.txt45
-rw-r--r--examples/quickcontrols2/texteditor/CMakeLists.txt65
-rw-r--r--examples/quickcontrols2/wearable/CMakeLists.txt196
-rw-r--r--src/CMakeLists.txt5
-rw-r--r--src/imports/.prev_CMakeLists.txt10
-rw-r--r--src/imports/CMakeLists.txt10
-rw-r--r--src/imports/calendar/CMakeLists.txt67
-rw-r--r--src/imports/controls/.prev_CMakeLists.txt146
-rw-r--r--src/imports/controls/CMakeLists.txt146
-rw-r--r--src/imports/controls/fusion/.prev_CMakeLists.txt128
-rw-r--r--src/imports/controls/fusion/CMakeLists.txt128
-rw-r--r--src/imports/controls/imagine/.prev_CMakeLists.txt122
-rw-r--r--src/imports/controls/imagine/CMakeLists.txt122
-rw-r--r--src/imports/controls/material/.prev_CMakeLists.txt136
-rw-r--r--src/imports/controls/material/CMakeLists.txt136
-rw-r--r--src/imports/controls/universal/.prev_CMakeLists.txt130
-rw-r--r--src/imports/controls/universal/CMakeLists.txt130
-rw-r--r--src/imports/platform/CMakeLists.txt101
-rw-r--r--src/imports/templates/CMakeLists.txt36
-rw-r--r--src/quickcontrols2/CMakeLists.txt52
-rw-r--r--src/quickcontrols2/configure.cmake43
-rw-r--r--src/quicktemplates2/CMakeLists.txt147
-rw-r--r--src/quicktemplates2/configure.cmake26
-rw-r--r--tests/.prev_CMakeLists.txt11
-rw-r--r--tests/CMakeLists.txt13
-rw-r--r--tests/auto/CMakeLists.txt32
-rw-r--r--tests/auto/accessibility/CMakeLists.txt51
-rw-r--r--tests/auto/calendar/CMakeLists.txt25
-rw-r--r--tests/auto/controls/CMakeLists.txt7
-rw-r--r--tests/auto/controls/default/CMakeLists.txt27
-rw-r--r--tests/auto/controls/fusion/CMakeLists.txt28
-rw-r--r--tests/auto/controls/imagine/CMakeLists.txt28
-rw-r--r--tests/auto/controls/material/CMakeLists.txt28
-rw-r--r--tests/auto/controls/universal/CMakeLists.txt28
-rw-r--r--tests/auto/cursor/CMakeLists.txt51
-rw-r--r--tests/auto/customization/CMakeLists.txt48
-rw-r--r--tests/auto/designer/CMakeLists.txt22
-rw-r--r--tests/auto/focus/CMakeLists.txt48
-rw-r--r--tests/auto/font/CMakeLists.txt52
-rw-r--r--tests/auto/palette/CMakeLists.txt65
-rw-r--r--tests/auto/platform/CMakeLists.txt25
-rw-r--r--tests/auto/pressandhold/CMakeLists.txt19
-rw-r--r--tests/auto/qquickapplicationwindow/CMakeLists.txt52
-rw-r--r--tests/auto/qquickcolor/CMakeLists.txt25
-rw-r--r--tests/auto/qquickdrawer/CMakeLists.txt51
-rw-r--r--tests/auto/qquickiconimage/CMakeLists.txt83
-rw-r--r--tests/auto/qquickiconlabel/CMakeLists.txt49
-rw-r--r--tests/auto/qquickimaginestyle/CMakeLists.txt39
-rw-r--r--tests/auto/qquickmaterialstyle/CMakeLists.txt38
-rw-r--r--tests/auto/qquickmaterialstyleconf/CMakeLists.txt67
-rw-r--r--tests/auto/qquickmenu/CMakeLists.txt51
-rw-r--r--tests/auto/qquickmenubar/CMakeLists.txt51
-rw-r--r--tests/auto/qquickninepatchimage/CMakeLists.txt53
-rw-r--r--tests/auto/qquickpopup/CMakeLists.txt51
-rw-r--r--tests/auto/qquickstyle/CMakeLists.txt112
-rw-r--r--tests/auto/qquickstyleselector/CMakeLists.txt65
-rw-r--r--tests/auto/qquickuniversalstyle/CMakeLists.txt38
-rw-r--r--tests/auto/qquickuniversalstyleconf/CMakeLists.txt65
-rw-r--r--tests/auto/revisions/CMakeLists.txt16
-rw-r--r--tests/auto/sanity/CMakeLists.txt45
-rw-r--r--tests/auto/snippets/CMakeLists.txt30
-rw-r--r--tests/benchmarks/CMakeLists.txt4
-rw-r--r--tests/benchmarks/creationtime/CMakeLists.txt44
-rw-r--r--tests/benchmarks/objectcount/CMakeLists.txt44
83 files changed, 5033 insertions, 7 deletions
diff --git a/.prev_CMakeLists.txt b/.prev_CMakeLists.txt
new file mode 100644
index 00000000..89d3074c
--- /dev/null
+++ b/.prev_CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from qtquickcontrols2.pro.
+
+cmake_minimum_required(VERSION 3.15.0)
+
+project(QtQuickControls2
+ VERSION 6.0.0
+ DESCRIPTION "Qt QuickControls2 Libraries"
+ HOMEPAGE_URL "https://qt.io/"
+ LANGUAGES CXX C
+)
+
+find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core SET_ME_TO_SOMETHING_USEFUL)
+find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS SET_ME_TO_SOMETHING_USEFUL)
+
+if(NOT TARGET Qt::Quick)
+ message(NOTICE "Skipping the build as the condition \"TARGET Qt::Quick\" is not met.")
+ return()
+endif()
+qt_build_repo()
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 00000000..d9a9361f
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from qtquickcontrols2.pro.
+
+cmake_minimum_required(VERSION 3.15.0)
+
+project(QtQuickControls2
+ VERSION 6.0.0
+ DESCRIPTION "Qt QuickControls2 Libraries"
+ HOMEPAGE_URL "https://qt.io/"
+ LANGUAGES CXX C
+)
+
+find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Gui Widgets Network Qml Quick QmlTools # special case
+ OPTIONAL_COMPONENTS QuickTest # special case
+)
+if(NOT TARGET Qt::Quick)
+ message(NOTICE "Skipping the build as the condition \"TARGET Qt::Quick\" is not met.")
+ return()
+endif()
+qt_build_repo()
diff --git a/coin/module_config.yaml b/coin/module_config.yaml
new file mode 100644
index 00000000..9f29e113
--- /dev/null
+++ b/coin/module_config.yaml
@@ -0,0 +1,13 @@
+version: 1
+accept_configuration:
+ condition: property
+ property: host.os
+ equals_property: target.os
+
+build_instructions:
+ - !include "{{qt/qtbase}}/prepare_building_env.yaml"
+ - !include "{{qt/qtbase}}/cmake_module_build_instructions.yaml"
+ - !include "{{qt/qtbase}}/cmake_build_and_upload_test_artifacts.yaml"
+
+test_instructions:
+ - !include "{{qt/qtbase}}/cmake_regular_test_instructions.yaml"
diff --git a/dependencies.yaml b/dependencies.yaml
deleted file mode 100644
index 02ceb625..00000000
--- a/dependencies.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
-dependencies:
- ../qtgraphicaleffects:
- ref: eaf26fe37b8b58b61f2e88c9d61dc551cf6158a7
- required: true
- ../qtimageformats:
- ref: adee2b2f2155b6b384ad61a42bccfc85364c320a
- required: false
diff --git a/examples/.prev_CMakeLists.txt b/examples/.prev_CMakeLists.txt
new file mode 100644
index 00000000..e77c42b1
--- /dev/null
+++ b/examples/.prev_CMakeLists.txt
@@ -0,0 +1,7 @@
+# Generated from examples.pro.
+
+qt_examples_build_begin()
+
+add_subdirectory(quickcontrols2)
+
+qt_examples_build_end()
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
new file mode 100644
index 00000000..80aa41e9
--- /dev/null
+++ b/examples/CMakeLists.txt
@@ -0,0 +1,9 @@
+# Generated from examples.pro.
+
+find_package(Qt6 COMPONENTS Sql) # special case
+
+qt_examples_build_begin()
+
+add_subdirectory(quickcontrols2)
+
+qt_examples_build_end()
diff --git a/examples/quickcontrols2/CMakeLists.txt b/examples/quickcontrols2/CMakeLists.txt
new file mode 100644
index 00000000..7ca535e9
--- /dev/null
+++ b/examples/quickcontrols2/CMakeLists.txt
@@ -0,0 +1,14 @@
+# Generated from quickcontrols2.pro.
+
+add_subdirectory(gallery)
+add_subdirectory(chattutorial)
+add_subdirectory(texteditor)
+add_subdirectory(contactlist)
+add_subdirectory(sidepanel)
+add_subdirectory(swipetoremove)
+add_subdirectory(wearable)
+add_subdirectory(imagine/automotive)
+add_subdirectory(imagine/musicplayer)
+if(TARGET Qt::Widgets)
+ add_subdirectory(flatstyle)
+endif()
diff --git a/examples/quickcontrols2/chattutorial/CMakeLists.txt b/examples/quickcontrols2/chattutorial/CMakeLists.txt
new file mode 100644
index 00000000..9a4bd9cb
--- /dev/null
+++ b/examples/quickcontrols2/chattutorial/CMakeLists.txt
@@ -0,0 +1,7 @@
+# Generated from chattutorial.pro.
+
+add_subdirectory(chapter1-settingup)
+add_subdirectory(chapter2-lists)
+add_subdirectory(chapter3-navigation)
+add_subdirectory(chapter4-models)
+add_subdirectory(chapter5-styling)
diff --git a/examples/quickcontrols2/chattutorial/chapter1-settingup/CMakeLists.txt b/examples/quickcontrols2/chattutorial/chapter1-settingup/CMakeLists.txt
new file mode 100644
index 00000000..90f06968
--- /dev/null
+++ b/examples/quickcontrols2/chattutorial/chapter1-settingup/CMakeLists.txt
@@ -0,0 +1,46 @@
+# Generated from chapter1-settingup.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(chapter1-settingup LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quickcontrols2/chattutorial/chapter1-settingup")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(chapter1-settingup
+ main.cpp
+)
+target_link_libraries(chapter1-settingup PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(qml_resource_files
+ "main.qml"
+)
+
+qt6_add_resources(chapter1-settingup "qml"
+ PREFIX
+ "/"
+ FILES
+ ${qml_resource_files}
+)
+
+install(TARGETS chapter1-settingup
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quickcontrols2/chattutorial/chapter2-lists/CMakeLists.txt b/examples/quickcontrols2/chattutorial/chapter2-lists/CMakeLists.txt
new file mode 100644
index 00000000..1d4d124d
--- /dev/null
+++ b/examples/quickcontrols2/chattutorial/chapter2-lists/CMakeLists.txt
@@ -0,0 +1,105 @@
+# Generated from chapter2-lists.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(chapter2-lists LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quickcontrols2/chattutorial/chapter2-lists")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(chapter2-lists
+ main.cpp
+)
+target_link_libraries(chapter2-lists PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(qml_resource_files
+ "main.qml"
+)
+
+qt6_add_resources(chapter2-lists "qml"
+ PREFIX
+ "/"
+ FILES
+ ${qml_resource_files}
+)
+set_source_files_properties("../shared/Albert_Einstein.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Albert_Einstein.png"
+)
+set_source_files_properties("../shared/Albert_Einstein@2x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Albert_Einstein@2x.png"
+)
+set_source_files_properties("../shared/Albert_Einstein@3x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Albert_Einstein@3x.png"
+)
+set_source_files_properties("../shared/Albert_Einstein@4x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Albert_Einstein@4x.png"
+)
+set_source_files_properties("../shared/Ernest_Hemingway.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Ernest_Hemingway.png"
+)
+set_source_files_properties("../shared/Ernest_Hemingway@2x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Ernest_Hemingway@2x.png"
+)
+set_source_files_properties("../shared/Ernest_Hemingway@3x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Ernest_Hemingway@3x.png"
+)
+set_source_files_properties("../shared/Ernest_Hemingway@4x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Ernest_Hemingway@4x.png"
+)
+set_source_files_properties("../shared/Hans_Gude.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Hans_Gude.png"
+)
+set_source_files_properties("../shared/Hans_Gude@2x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Hans_Gude@2x.png"
+)
+set_source_files_properties("../shared/Hans_Gude@3x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Hans_Gude@3x.png"
+)
+set_source_files_properties("../shared/Hans_Gude@4x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Hans_Gude@4x.png"
+)
+set(shared_resource_files
+ "Albert_Einstein.png"
+ "Albert_Einstein@2x.png"
+ "Albert_Einstein@3x.png"
+ "Albert_Einstein@4x.png"
+ "Ernest_Hemingway.png"
+ "Ernest_Hemingway@2x.png"
+ "Ernest_Hemingway@3x.png"
+ "Ernest_Hemingway@4x.png"
+ "Hans_Gude.png"
+ "Hans_Gude@2x.png"
+ "Hans_Gude@3x.png"
+ "Hans_Gude@4x.png"
+)
+
+qt6_add_resources(chapter2-lists "shared"
+ PREFIX
+ "/"
+ BASE
+ "../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS chapter2-lists
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quickcontrols2/chattutorial/chapter3-navigation/CMakeLists.txt b/examples/quickcontrols2/chattutorial/chapter3-navigation/CMakeLists.txt
new file mode 100644
index 00000000..9b405c47
--- /dev/null
+++ b/examples/quickcontrols2/chattutorial/chapter3-navigation/CMakeLists.txt
@@ -0,0 +1,107 @@
+# Generated from chapter3-navigation.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(chapter3-navigation LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quickcontrols2/chattutorial/chapter3-navigation")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(chapter3-navigation
+ main.cpp
+)
+target_link_libraries(chapter3-navigation PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+
+# Resources:
+set(qml_resource_files
+ "ContactPage.qml"
+ "ConversationPage.qml"
+ "main.qml"
+)
+
+qt6_add_resources(chapter3-navigation "qml"
+ PREFIX
+ "/"
+ FILES
+ ${qml_resource_files}
+)
+set_source_files_properties("../shared/Albert_Einstein.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Albert_Einstein.png"
+)
+set_source_files_properties("../shared/Albert_Einstein@2x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Albert_Einstein@2x.png"
+)
+set_source_files_properties("../shared/Albert_Einstein@3x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Albert_Einstein@3x.png"
+)
+set_source_files_properties("../shared/Albert_Einstein@4x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Albert_Einstein@4x.png"
+)
+set_source_files_properties("../shared/Ernest_Hemingway.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Ernest_Hemingway.png"
+)
+set_source_files_properties("../shared/Ernest_Hemingway@2x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Ernest_Hemingway@2x.png"
+)
+set_source_files_properties("../shared/Ernest_Hemingway@3x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Ernest_Hemingway@3x.png"
+)
+set_source_files_properties("../shared/Ernest_Hemingway@4x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Ernest_Hemingway@4x.png"
+)
+set_source_files_properties("../shared/Hans_Gude.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Hans_Gude.png"
+)
+set_source_files_properties("../shared/Hans_Gude@2x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Hans_Gude@2x.png"
+)
+set_source_files_properties("../shared/Hans_Gude@3x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Hans_Gude@3x.png"
+)
+set_source_files_properties("../shared/Hans_Gude@4x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Hans_Gude@4x.png"
+)
+set(shared_resource_files
+ "Albert_Einstein.png"
+ "Albert_Einstein@2x.png"
+ "Albert_Einstein@3x.png"
+ "Albert_Einstein@4x.png"
+ "Ernest_Hemingway.png"
+ "Ernest_Hemingway@2x.png"
+ "Ernest_Hemingway@3x.png"
+ "Ernest_Hemingway@4x.png"
+ "Hans_Gude.png"
+ "Hans_Gude@2x.png"
+ "Hans_Gude@3x.png"
+ "Hans_Gude@4x.png"
+)
+
+qt6_add_resources(chapter3-navigation "shared"
+ PREFIX
+ "/"
+ BASE
+ "../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS chapter3-navigation
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quickcontrols2/chattutorial/chapter4-models/CMakeLists.txt b/examples/quickcontrols2/chattutorial/chapter4-models/CMakeLists.txt
new file mode 100644
index 00000000..dfccc0ca
--- /dev/null
+++ b/examples/quickcontrols2/chattutorial/chapter4-models/CMakeLists.txt
@@ -0,0 +1,111 @@
+# Generated from chapter4-models.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(chapter4-models LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quickcontrols2/chattutorial/chapter4-models")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Sql)
+
+add_qt_gui_executable(chapter4-models
+ main.cpp
+ sqlcontactmodel.cpp sqlcontactmodel.h
+ sqlconversationmodel.cpp sqlconversationmodel.h
+)
+target_link_libraries(chapter4-models PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::Sql
+)
+
+
+# Resources:
+set(qml_resource_files
+ "ContactPage.qml"
+ "ConversationPage.qml"
+ "main.qml"
+)
+
+qt6_add_resources(chapter4-models "qml"
+ PREFIX
+ "/"
+ FILES
+ ${qml_resource_files}
+)
+set_source_files_properties("../shared/Albert_Einstein.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Albert_Einstein.png"
+)
+set_source_files_properties("../shared/Albert_Einstein@2x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Albert_Einstein@2x.png"
+)
+set_source_files_properties("../shared/Albert_Einstein@3x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Albert_Einstein@3x.png"
+)
+set_source_files_properties("../shared/Albert_Einstein@4x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Albert_Einstein@4x.png"
+)
+set_source_files_properties("../shared/Ernest_Hemingway.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Ernest_Hemingway.png"
+)
+set_source_files_properties("../shared/Ernest_Hemingway@2x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Ernest_Hemingway@2x.png"
+)
+set_source_files_properties("../shared/Ernest_Hemingway@3x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Ernest_Hemingway@3x.png"
+)
+set_source_files_properties("../shared/Ernest_Hemingway@4x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Ernest_Hemingway@4x.png"
+)
+set_source_files_properties("../shared/Hans_Gude.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Hans_Gude.png"
+)
+set_source_files_properties("../shared/Hans_Gude@2x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Hans_Gude@2x.png"
+)
+set_source_files_properties("../shared/Hans_Gude@3x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Hans_Gude@3x.png"
+)
+set_source_files_properties("../shared/Hans_Gude@4x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Hans_Gude@4x.png"
+)
+set(shared_resource_files
+ "Albert_Einstein.png"
+ "Albert_Einstein@2x.png"
+ "Albert_Einstein@3x.png"
+ "Albert_Einstein@4x.png"
+ "Ernest_Hemingway.png"
+ "Ernest_Hemingway@2x.png"
+ "Ernest_Hemingway@3x.png"
+ "Ernest_Hemingway@4x.png"
+ "Hans_Gude.png"
+ "Hans_Gude@2x.png"
+ "Hans_Gude@3x.png"
+ "Hans_Gude@4x.png"
+)
+
+qt6_add_resources(chapter4-models "shared"
+ PREFIX
+ "/"
+ BASE
+ "../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS chapter4-models
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quickcontrols2/chattutorial/chapter5-styling/CMakeLists.txt b/examples/quickcontrols2/chattutorial/chapter5-styling/CMakeLists.txt
new file mode 100644
index 00000000..73b493d1
--- /dev/null
+++ b/examples/quickcontrols2/chattutorial/chapter5-styling/CMakeLists.txt
@@ -0,0 +1,114 @@
+# Generated from chapter5-styling.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(chapter5-styling LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quickcontrols2/chattutorial/chapter5-styling")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS Sql)
+
+add_qt_gui_executable(chapter5-styling
+ main.cpp
+ sqlcontactmodel.cpp sqlcontactmodel.h
+ sqlconversationmodel.cpp sqlconversationmodel.h
+)
+target_link_libraries(chapter5-styling PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::Sql
+)
+
+
+# Resources:
+set(qml_resource_files
+ "+material/ChatToolBar.qml"
+ "ChatToolBar.qml"
+ "ContactPage.qml"
+ "ConversationPage.qml"
+ "main.qml"
+ "qtquickcontrols2.conf"
+)
+
+qt6_add_resources(chapter5-styling "qml"
+ PREFIX
+ "/"
+ FILES
+ ${qml_resource_files}
+)
+set_source_files_properties("../shared/Albert_Einstein.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Albert_Einstein.png"
+)
+set_source_files_properties("../shared/Albert_Einstein@2x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Albert_Einstein@2x.png"
+)
+set_source_files_properties("../shared/Albert_Einstein@3x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Albert_Einstein@3x.png"
+)
+set_source_files_properties("../shared/Albert_Einstein@4x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Albert_Einstein@4x.png"
+)
+set_source_files_properties("../shared/Ernest_Hemingway.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Ernest_Hemingway.png"
+)
+set_source_files_properties("../shared/Ernest_Hemingway@2x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Ernest_Hemingway@2x.png"
+)
+set_source_files_properties("../shared/Ernest_Hemingway@3x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Ernest_Hemingway@3x.png"
+)
+set_source_files_properties("../shared/Ernest_Hemingway@4x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Ernest_Hemingway@4x.png"
+)
+set_source_files_properties("../shared/Hans_Gude.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Hans_Gude.png"
+)
+set_source_files_properties("../shared/Hans_Gude@2x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Hans_Gude@2x.png"
+)
+set_source_files_properties("../shared/Hans_Gude@3x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Hans_Gude@3x.png"
+)
+set_source_files_properties("../shared/Hans_Gude@4x.png"
+ PROPERTIES QT_RESOURCE_ALIAS "Hans_Gude@4x.png"
+)
+set(shared_resource_files
+ "Albert_Einstein.png"
+ "Albert_Einstein@2x.png"
+ "Albert_Einstein@3x.png"
+ "Albert_Einstein@4x.png"
+ "Ernest_Hemingway.png"
+ "Ernest_Hemingway@2x.png"
+ "Ernest_Hemingway@3x.png"
+ "Ernest_Hemingway@4x.png"
+ "Hans_Gude.png"
+ "Hans_Gude@2x.png"
+ "Hans_Gude@3x.png"
+ "Hans_Gude@4x.png"
+)
+
+qt6_add_resources(chapter5-styling "shared"
+ PREFIX
+ "/"
+ BASE
+ "../shared"
+ FILES
+ ${shared_resource_files}
+)
+
+install(TARGETS chapter5-styling
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quickcontrols2/contactlist/CMakeLists.txt b/examples/quickcontrols2/contactlist/CMakeLists.txt
new file mode 100644
index 00000000..ee2a020f
--- /dev/null
+++ b/examples/quickcontrols2/contactlist/CMakeLists.txt
@@ -0,0 +1,51 @@
+# Generated from contactlist.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(contactlist LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quickcontrols2/contactlist")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(contactlist
+ contactmodel.cpp contactmodel.h
+ main.cpp
+)
+target_link_libraries(contactlist PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Quick
+)
+
+
+# Resources:
+set(qmake_immediate_resource_files
+ "ContactDelegate.ui.qml"
+ "ContactDialog.qml"
+ "ContactForm.ui.qml"
+ "ContactView.ui.qml"
+ "SectionDelegate.ui.qml"
+ "contactlist.qml"
+ "designer/Backend/ContactModel.qml"
+)
+
+qt6_add_resources(contactlist "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+install(TARGETS contactlist
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quickcontrols2/flatstyle/CMakeLists.txt b/examples/quickcontrols2/flatstyle/CMakeLists.txt
new file mode 100644
index 00000000..54b84b38
--- /dev/null
+++ b/examples/quickcontrols2/flatstyle/CMakeLists.txt
@@ -0,0 +1,55 @@
+# Generated from flatstyle.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(flatstyle LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quickcontrols2/flatstyle")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS QuickControls2)
+find_package(Qt6 COMPONENTS Widgets)
+
+add_qt_gui_executable(flatstyle
+ main.cpp
+)
+target_link_libraries(flatstyle PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::Widgets
+)
+
+
+# Resources:
+set(qmake_immediate_resource_files
+ "Flat/Button.qml"
+ "Flat/CheckBox.qml"
+ "Flat/Switch.qml"
+ "MainForm.ui.qml"
+ "flatstyle.qml"
+ "imports/Theme/Theme.qml"
+ "imports/Theme/qmldir"
+ "qtquickcontrols2.conf"
+)
+
+qt6_add_resources(flatstyle "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+install(TARGETS flatstyle
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quickcontrols2/gallery/CMakeLists.txt b/examples/quickcontrols2/gallery/CMakeLists.txt
new file mode 100644
index 00000000..d62169e1
--- /dev/null
+++ b/examples/quickcontrols2/gallery/CMakeLists.txt
@@ -0,0 +1,99 @@
+# Generated from gallery.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(gallery LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quickcontrols2/gallery")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS QuickControls2)
+
+add_qt_gui_executable(gallery
+ gallery.cpp
+)
+target_link_libraries(gallery PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Quick
+ Qt::QuickControls2
+)
+
+
+# Resources:
+set(qmake_immediate_resource_files
+ "gallery.qml"
+ "icons/gallery/20x20/back.png"
+ "icons/gallery/20x20/drawer.png"
+ "icons/gallery/20x20/menu.png"
+ "icons/gallery/20x20@2/back.png"
+ "icons/gallery/20x20@2/drawer.png"
+ "icons/gallery/20x20@2/menu.png"
+ "icons/gallery/20x20@3/back.png"
+ "icons/gallery/20x20@3/drawer.png"
+ "icons/gallery/20x20@3/menu.png"
+ "icons/gallery/20x20@4/back.png"
+ "icons/gallery/20x20@4/drawer.png"
+ "icons/gallery/20x20@4/menu.png"
+ "icons/gallery/index.theme"
+ "images/arrow.png"
+ "images/arrow@2x.png"
+ "images/arrow@3x.png"
+ "images/arrow@4x.png"
+ "images/arrows.png"
+ "images/arrows@2x.png"
+ "images/arrows@3x.png"
+ "images/arrows@4x.png"
+ "images/qt-logo.png"
+ "images/qt-logo@2x.png"
+ "images/qt-logo@3x.png"
+ "images/qt-logo@4x.png"
+ "pages/BusyIndicatorPage.qml"
+ "pages/ButtonPage.qml"
+ "pages/CheckBoxPage.qml"
+ "pages/ComboBoxPage.qml"
+ "pages/DelayButtonPage.qml"
+ "pages/DelegatePage.qml"
+ "pages/DialPage.qml"
+ "pages/DialogPage.qml"
+ "pages/FramePage.qml"
+ "pages/GroupBoxPage.qml"
+ "pages/PageIndicatorPage.qml"
+ "pages/ProgressBarPage.qml"
+ "pages/RadioButtonPage.qml"
+ "pages/RangeSliderPage.qml"
+ "pages/ScrollBarPage.qml"
+ "pages/ScrollIndicatorPage.qml"
+ "pages/ScrollablePage.qml"
+ "pages/SliderPage.qml"
+ "pages/SpinBoxPage.qml"
+ "pages/StackViewPage.qml"
+ "pages/SwipeViewPage.qml"
+ "pages/SwitchPage.qml"
+ "pages/TabBarPage.qml"
+ "pages/TextAreaPage.qml"
+ "pages/TextFieldPage.qml"
+ "pages/ToolTipPage.qml"
+ "pages/TumblerPage.qml"
+ "qtquickcontrols2.conf"
+)
+
+qt6_add_resources(gallery "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+install(TARGETS gallery
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quickcontrols2/imagine/automotive/CMakeLists.txt b/examples/quickcontrols2/imagine/automotive/CMakeLists.txt
new file mode 100644
index 00000000..22b0bd7b
--- /dev/null
+++ b/examples/quickcontrols2/imagine/automotive/CMakeLists.txt
@@ -0,0 +1,184 @@
+# Generated from automotive.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(automotive LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quickcontrols2/imagine/automotive")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS QuickControls2)
+
+add_qt_gui_executable(automotive
+ automotive.cpp
+)
+target_link_libraries(automotive PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Quick
+ Qt::QuickControls2
+)
+
+
+# Resources:
+set(icons_resource_files
+ "automotive/44x44/air-con.png"
+ "automotive/44x44/command.png"
+ "automotive/44x44/message.png"
+ "automotive/44x44/music.png"
+ "automotive/44x44/seats.png"
+ "automotive/44x44/settings.png"
+ "automotive/44x44/statistics.png"
+ "automotive/44x44/windows.png"
+ "automotive/44x44@2/air-con.png"
+ "automotive/44x44@2/command.png"
+ "automotive/44x44@2/message.png"
+ "automotive/44x44@2/music.png"
+ "automotive/44x44@2/navigation.png"
+ "automotive/44x44@2/seats.png"
+ "automotive/44x44@2/settings.png"
+ "automotive/44x44@2/statistics.png"
+ "automotive/44x44@2/windows.png"
+ "automotive/icons.svg"
+ "automotive/index.theme"
+ "car.png"
+ "car@2x.png"
+ "warning.png"
+ "warning@2x.png"
+ "weather.png"
+ "weather@2x.png"
+)
+
+qt6_add_resources(automotive "icons"
+ PREFIX
+ "/icons"
+ BASE
+ "icons"
+ FILES
+ ${icons_resource_files}
+)
+set(imagine-assets_resource_files
+ "applicationwindow-background.png"
+ "applicationwindow-background@2x.png"
+ "button-background-checked-hovered.9.png"
+ "button-background-checked-hovered@2x.9.png"
+ "button-background-checked.9.png"
+ "button-background-checked@2x.9.png"
+ "button-background-hovered.9.png"
+ "button-background-hovered@2x.9.png"
+ "button-background-pressed.9.png"
+ "button-background-pressed@2x.9.png"
+ "button-background.9.png"
+ "button-background@2x.9.png"
+ "dial-background-hovered.png"
+ "dial-background-hovered@2x.png"
+ "dial-background-pressed.png"
+ "dial-background-pressed@2x.png"
+ "dial-background.png"
+ "dial-background@2x.png"
+ "dial-handle-pressed.png"
+ "dial-handle-pressed@2x.png"
+ "dial-handle.png"
+ "dial-handle@2x.png"
+ "frame-background.9.png"
+ "frame-background@2x.9.png"
+ "itemdelegate-background-checked.9.png"
+ "itemdelegate-background-checked@2x.9.png"
+ "itemdelegate-background-hovered.9.png"
+ "itemdelegate-background-hovered@2x.9.png"
+ "itemdelegate-background-pressed.9.png"
+ "itemdelegate-background-pressed@2x.9.png"
+ "itemdelegate-background.9.png"
+ "itemdelegate-background@2x.9.png"
+ "radiobutton-indicator-checked-hovered.png"
+ "radiobutton-indicator-checked-hovered@2x.png"
+ "radiobutton-indicator-checked-pressed.png"
+ "radiobutton-indicator-checked-pressed@2x.png"
+ "radiobutton-indicator-checked.png"
+ "radiobutton-indicator-checked@2x.png"
+ "radiobutton-indicator-hovered.png"
+ "radiobutton-indicator-hovered@2x.png"
+ "radiobutton-indicator-pressed.png"
+ "radiobutton-indicator-pressed@2x.png"
+ "radiobutton-indicator.png"
+ "radiobutton-indicator@2x.png"
+ "scrollindicator-handle.png"
+ "scrollindicator-handle@2x.png"
+ "slider-background-horizontal.9.png"
+ "slider-background-horizontal@2x.9.png"
+ "slider-handle-hovered.png"
+ "slider-handle-hovered@2x.png"
+ "slider-handle-pressed.png"
+ "slider-handle-pressed@2x.png"
+ "slider-handle.png"
+ "slider-handle@2x.png"
+ "slider-progress-horizontal-pressed.9.png"
+ "slider-progress-horizontal-pressed@2x.9.png"
+ "slider-progress-horizontal.9.png"
+ "slider-progress-horizontal@2x.9.png"
+ "switchdelegate-background.9.png"
+ "switchdelegate-background@2x.9.png"
+ "switchdelegate-handle-checked-hovered.png"
+ "switchdelegate-handle-checked-hovered@2x.png"
+ "switchdelegate-handle-checked.png"
+ "switchdelegate-handle-checked@2x.png"
+ "switchdelegate-handle-hovered.png"
+ "switchdelegate-handle-hovered@2x.png"
+ "switchdelegate-handle-pressed.png"
+ "switchdelegate-handle-pressed@2x.png"
+ "switchdelegate-handle.png"
+ "switchdelegate-handle@2x.png"
+ "switchdelegate-indicator-pressed.png"
+ "switchdelegate-indicator-pressed@2x.png"
+ "switchdelegate-indicator.png"
+ "switchdelegate-indicator@2x.png"
+ "toolseparator-separator-vertical.9.png"
+ "toolseparator-separator-vertical@2x.9.png"
+)
+
+qt6_add_resources(automotive "imagine-assets"
+ PREFIX
+ "/imagine-assets"
+ BASE
+ "imagine-assets"
+ FILES
+ ${imagine-assets_resource_files}
+)
+set(qml_resource_files
+ "CustomGlow.qml"
+ "FeatureButton.qml"
+ "GlowingLabel.qml"
+ "automotive.qml"
+)
+
+qt6_add_resources(automotive "qml"
+ PREFIX
+ "/qml"
+ BASE
+ "qml"
+ FILES
+ ${qml_resource_files}
+)
+set(qmake_immediate_resource_files
+ "qtquickcontrols2.conf"
+)
+
+qt6_add_resources(automotive "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+install(TARGETS automotive
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quickcontrols2/imagine/musicplayer/CMakeLists.txt b/examples/quickcontrols2/imagine/musicplayer/CMakeLists.txt
new file mode 100644
index 00000000..28b17c95
--- /dev/null
+++ b/examples/quickcontrols2/imagine/musicplayer/CMakeLists.txt
@@ -0,0 +1,215 @@
+# Generated from musicplayer.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(musicplayer LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quickcontrols2/imagine/musicplayer")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS QuickControls2)
+
+add_qt_gui_executable(musicplayer
+ musicplayer.cpp
+)
+target_link_libraries(musicplayer PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Quick
+ Qt::QuickControls2
+)
+
+
+# Resources:
+set(icons_resource_files
+ "musicplayer/32x32/bluetooth.png"
+ "musicplayer/32x32/cart.png"
+ "musicplayer/32x32/cloud.png"
+ "musicplayer/32x32/favorite.png"
+ "musicplayer/32x32/filter.png"
+ "musicplayer/32x32/folder.png"
+ "musicplayer/32x32/message.png"
+ "musicplayer/32x32/music.png"
+ "musicplayer/32x32/next.png"
+ "musicplayer/32x32/pause.png"
+ "musicplayer/32x32/power.png"
+ "musicplayer/32x32/previous.png"
+ "musicplayer/32x32/repeat.png"
+ "musicplayer/32x32/save.png"
+ "musicplayer/32x32/settings.png"
+ "musicplayer/32x32/shuffle.png"
+ "musicplayer/32x32/stop.png"
+ "musicplayer/32x32@2/bluetooth.png"
+ "musicplayer/32x32@2/cart.png"
+ "musicplayer/32x32@2/cloud.png"
+ "musicplayer/32x32@2/favorite.png"
+ "musicplayer/32x32@2/filter.png"
+ "musicplayer/32x32@2/folder.png"
+ "musicplayer/32x32@2/grid.png"
+ "musicplayer/32x32@2/message.png"
+ "musicplayer/32x32@2/music.png"
+ "musicplayer/32x32@2/next.png"
+ "musicplayer/32x32@2/pause.png"
+ "musicplayer/32x32@2/power.png"
+ "musicplayer/32x32@2/previous.png"
+ "musicplayer/32x32@2/repeat.png"
+ "musicplayer/32x32@2/save.png"
+ "musicplayer/32x32@2/settings.png"
+ "musicplayer/32x32@2/shuffle.png"
+ "musicplayer/32x32@2/stop.png"
+ "musicplayer/index.theme"
+)
+
+qt6_add_resources(musicplayer "icons"
+ PREFIX
+ "/icons"
+ BASE
+ "icons"
+ FILES
+ ${icons_resource_files}
+)
+set(imagine-assets_resource_files
+ "applicationwindow-background.png"
+ "button-background-checked-hovered.9.png"
+ "button-background-checked-hovered@2x.9.png"
+ "button-background-checked.9.png"
+ "button-background-checked@2x.9.png"
+ "button-background-disabled.9.png"
+ "button-background-disabled@2x.9.png"
+ "button-background-hovered.9.png"
+ "button-background-hovered@2x.9.png"
+ "button-background-pressed.9.png"
+ "button-background-pressed@2x.9.png"
+ "button-background.9.png"
+ "button-background@2x.9.png"
+ "combobox-background-hovered.9.png"
+ "combobox-background-hovered@2x.9.png"
+ "combobox-background-open.9.png"
+ "combobox-background-open@2x.9.png"
+ "combobox-background-pressed.9.png"
+ "combobox-background-pressed@2x.9.png"
+ "combobox-background.9.png"
+ "combobox-background@2x.9.png"
+ "combobox-indicator-hovered.png"
+ "combobox-indicator-hovered@2x.png"
+ "combobox-indicator-open.png"
+ "combobox-indicator-open@2x.png"
+ "combobox-indicator-pressed.png"
+ "combobox-indicator-pressed@2x.png"
+ "combobox-indicator.png"
+ "combobox-indicator@2x.png"
+ "combobox-popup.9.png"
+ "combobox-popup@2x.9.png"
+ "dial-background-hovered.png"
+ "dial-background-hovered@2x.png"
+ "dial-background-pressed.png"
+ "dial-background-pressed@2x.png"
+ "dial-background.png"
+ "dial-background@2x.png"
+ "dial-handle-pressed.png"
+ "dial-handle-pressed@2x.png"
+ "dial-handle.png"
+ "dial-handle@2x.png"
+ "frame-background.9.png"
+ "frame-background@2x.9.png"
+ "itemdelegate-background-checked.9.png"
+ "itemdelegate-background-checked@2x.9.png"
+ "itemdelegate-background-disabled.9.png"
+ "itemdelegate-background-disabled@2x.9.png"
+ "itemdelegate-background-hovered.9.png"
+ "itemdelegate-background-hovered@2x.9.png"
+ "itemdelegate-background-pressed.9.png"
+ "itemdelegate-background-pressed@2x.9.png"
+ "itemdelegate-background.9.png"
+ "itemdelegate-background@2x.9.png"
+ "roundbutton-background-checked-hovered.png"
+ "roundbutton-background-checked-hovered@2x.png"
+ "roundbutton-background-checked.png"
+ "roundbutton-background-checked@2x.png"
+ "roundbutton-background-disabled.png"
+ "roundbutton-background-disabled@2x.png"
+ "roundbutton-background-hovered.png"
+ "roundbutton-background-hovered@2x.png"
+ "roundbutton-background-pressed.png"
+ "roundbutton-background-pressed@2x.png"
+ "roundbutton-background.png"
+ "roundbutton-background@2x.png"
+ "scrollbar-handle-interactive-hovered.png"
+ "scrollbar-handle-interactive-hovered@2x.png"
+ "scrollbar-handle-interactive-pressed.png"
+ "scrollbar-handle-interactive-pressed@2x.png"
+ "scrollbar-handle-interactive.png"
+ "scrollbar-handle-interactive@2x.png"
+ "slider-background-horizontal-disabled.9.png"
+ "slider-background-horizontal-disabled@2x.9.png"
+ "slider-background-horizontal.9.png"
+ "slider-background-horizontal@2x.9.png"
+ "slider-background-vertical-disabled.9.png"
+ "slider-background-vertical-disabled@2x.9.png"
+ "slider-background-vertical.9.png"
+ "slider-background-vertical@2x.9.png"
+ "slider-handle-disabled.png"
+ "slider-handle-disabled@2x.png"
+ "slider-handle-hovered.png"
+ "slider-handle-hovered@2x.png"
+ "slider-handle.png"
+ "slider-handle@2x.png"
+ "slider-progress-horizontal.9.png"
+ "slider-progress-horizontal@2x.9.png"
+ "slider-progress-vertical-disabled.9.png"
+ "slider-progress-vertical-disabled@2x.9.png"
+ "slider-progress-vertical.9.png"
+ "slider-progress-vertical@2x.9.png"
+ "textfield-background-disabled.9.png"
+ "textfield-background-disabled@2x.9.png"
+ "textfield-background.9.png"
+ "textfield-background@2x.9.png"
+ "toolbar-background.9.png"
+ "toolbar-background@2x.9.png"
+ "toolbutton-background-checked-hovered.9.png"
+ "toolbutton-background-checked-hovered@2x.9.png"
+ "toolbutton-background-checked.9.png"
+ "toolbutton-background-checked@2x.9.png"
+ "toolbutton-background-hovered.9.png"
+ "toolbutton-background-hovered@2x.9.png"
+ "toolbutton-background-pressed.9.png"
+ "toolbutton-background-pressed@2x.9.png"
+ "toolbutton-background.9.png"
+ "toolbutton-background@2x.9.png"
+ "tooltip-background.9.png"
+ "tooltip-background@2x.9.png"
+)
+
+qt6_add_resources(musicplayer "imagine-assets"
+ PREFIX
+ "/imagine-assets"
+ BASE
+ "imagine-assets"
+ FILES
+ ${imagine-assets_resource_files}
+)
+set(qmake_immediate_resource_files
+ "images/album-cover.jpg"
+ "musicplayer.qml"
+ "qtquickcontrols2.conf"
+)
+
+qt6_add_resources(musicplayer "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+install(TARGETS musicplayer
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quickcontrols2/sidepanel/CMakeLists.txt b/examples/quickcontrols2/sidepanel/CMakeLists.txt
new file mode 100644
index 00000000..4946dc2d
--- /dev/null
+++ b/examples/quickcontrols2/sidepanel/CMakeLists.txt
@@ -0,0 +1,50 @@
+# Generated from sidepanel.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(sidepanel LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quickcontrols2/sidepanel")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+
+add_qt_gui_executable(sidepanel
+ sidepanel.cpp
+)
+target_link_libraries(sidepanel PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Quick
+)
+
+
+# Resources:
+set(qmake_immediate_resource_files
+ "doc/images/qtquickcontrols2-sidepanel-landscape.png"
+ "doc/images/qtquickcontrols2-sidepanel-portrait.png"
+ "images/qt-logo.png"
+ "images/qt-logo@2x.png"
+ "images/qt-logo@3x.png"
+ "images/qt-logo@4x.png"
+ "sidepanel.qml"
+)
+
+qt6_add_resources(sidepanel "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+install(TARGETS sidepanel
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quickcontrols2/swipetoremove/CMakeLists.txt b/examples/quickcontrols2/swipetoremove/CMakeLists.txt
new file mode 100644
index 00000000..cf23122c
--- /dev/null
+++ b/examples/quickcontrols2/swipetoremove/CMakeLists.txt
@@ -0,0 +1,45 @@
+# Generated from swipetoremove.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(swipetoremove LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quickcontrols2/swipetoremove")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Qml)
+
+add_qt_gui_executable(swipetoremove
+ swipetoremove.cpp
+)
+target_link_libraries(swipetoremove PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+)
+
+
+# Resources:
+set(qmake_immediate_resource_files
+ "fonts/fontello.ttf"
+ "swipetoremove.qml"
+)
+
+qt6_add_resources(swipetoremove "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+install(TARGETS swipetoremove
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quickcontrols2/texteditor/CMakeLists.txt b/examples/quickcontrols2/texteditor/CMakeLists.txt
new file mode 100644
index 00000000..9ae1a04d
--- /dev/null
+++ b/examples/quickcontrols2/texteditor/CMakeLists.txt
@@ -0,0 +1,65 @@
+# Generated from texteditor.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(texteditor LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quickcontrols2/texteditor")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS QuickControls2)
+
+add_qt_gui_executable(texteditor
+ documenthandler.cpp documenthandler.h
+ texteditor.cpp
+)
+target_link_libraries(texteditor PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Quick
+ Qt::QuickControls2
+)
+
+
+# Resources:
+set(texteditor_resource_files
+ "+touch/texteditor.html"
+ "fonts/fontello.ttf"
+ "images/qt-logo.png"
+ "qml/+touch/texteditor.qml"
+ "qml/texteditor.qml"
+ "qtquickcontrols2.conf"
+ "texteditor.html"
+)
+
+qt6_add_resources(texteditor "texteditor"
+ PREFIX
+ "/"
+ FILES
+ ${texteditor_resource_files}
+)
+
+if(TARGET Qt::Widgets)
+ target_link_libraries(texteditor PUBLIC
+ Qt::Widgets
+ )
+endif()
+
+if(cross_compile)
+ target_compile_definitions(texteditor PUBLIC
+ QT_EXTRA_FILE_SELECTOR=\\\"touch\\\"
+ )
+endif()
+
+install(TARGETS texteditor
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/quickcontrols2/wearable/CMakeLists.txt b/examples/quickcontrols2/wearable/CMakeLists.txt
new file mode 100644
index 00000000..d0be1111
--- /dev/null
+++ b/examples/quickcontrols2/wearable/CMakeLists.txt
@@ -0,0 +1,196 @@
+# Generated from wearable.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(wearable LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples/quickcontrols2/wearable")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS QuickControls2)
+
+add_qt_gui_executable(wearable
+ wearable.cpp
+)
+target_link_libraries(wearable PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Quick
+ Qt::QuickControls2
+)
+
+
+# Resources:
+set(wearable_resource_files
+ "icons/wearable/36x36/alarms.png"
+ "icons/wearable/36x36/fitness.png"
+ "icons/wearable/36x36/navigation.png"
+ "icons/wearable/36x36/notifications.png"
+ "icons/wearable/36x36/settings.png"
+ "icons/wearable/36x36/weather.png"
+ "icons/wearable/36x36/worldclock.png"
+ "icons/wearable/36x36@2/alarms.png"
+ "icons/wearable/36x36@2/fitness.png"
+ "icons/wearable/36x36@2/navigation.png"
+ "icons/wearable/36x36@2/notifications.png"
+ "icons/wearable/36x36@2/settings.png"
+ "icons/wearable/36x36@2/weather.png"
+ "icons/wearable/36x36@2/worldclock.png"
+ "icons/wearable/index.theme"
+ "images/back.png"
+ "images/back@2x.png"
+ "images/background-dark.png"
+ "images/background-light.png"
+ "images/home.png"
+ "images/home@2x.png"
+ "qml/Alarms/AlarmsPage.qml"
+ "qml/DemoMode.qml"
+ "qml/DemoModeIndicator.qml"
+ "qml/Fitness/FitnessPage.qml"
+ "qml/Fitness/fitness.js"
+ "qml/Fitness/images/man-running-dark.png"
+ "qml/Fitness/images/man-running-dark@2x.png"
+ "qml/Fitness/images/man-running-light.png"
+ "qml/Fitness/images/man-running-light@2x.png"
+ "qml/Fitness/images/man-walking-dark.png"
+ "qml/Fitness/images/man-walking-dark@2x.png"
+ "qml/Fitness/images/man-walking-light.png"
+ "qml/Fitness/images/man-walking-light@2x.png"
+ "qml/LauncherPage.qml"
+ "qml/NaviButton.qml"
+ "qml/Navigation/NavigationPage.qml"
+ "qml/Navigation/RouteElement.qml"
+ "qml/Navigation/images/end.png"
+ "qml/Navigation/images/end@2x.png"
+ "qml/Navigation/images/leftturn-dark.png"
+ "qml/Navigation/images/leftturn-dark@2x.png"
+ "qml/Navigation/images/leftturn-light.png"
+ "qml/Navigation/images/leftturn-light@2x.png"
+ "qml/Navigation/images/navigation-dark.png"
+ "qml/Navigation/images/navigation-dark@2x.png"
+ "qml/Navigation/images/navigation-light.png"
+ "qml/Navigation/images/navigation-light@2x.png"
+ "qml/Navigation/images/rightturn-dark.png"
+ "qml/Navigation/images/rightturn-dark@2x.png"
+ "qml/Navigation/images/rightturn-light.png"
+ "qml/Navigation/images/rightturn-light@2x.png"
+ "qml/Navigation/images/start.png"
+ "qml/Navigation/images/start@2x.png"
+ "qml/Navigation/images/straight-dark.png"
+ "qml/Navigation/images/straight-dark@2x.png"
+ "qml/Navigation/images/straight-light.png"
+ "qml/Navigation/images/straight-light@2x.png"
+ "qml/Navigation/images/uturn.png"
+ "qml/Navigation/images/uturn@2x.png"
+ "qml/Navigation/navigation.js"
+ "qml/Navigation/walk_route.json"
+ "qml/Notifications/NotificationsPage.qml"
+ "qml/Notifications/images/avatarf-dark.png"
+ "qml/Notifications/images/avatarf-dark@2x.png"
+ "qml/Notifications/images/avatarf-light.png"
+ "qml/Notifications/images/avatarf-light@2x.png"
+ "qml/Notifications/images/avatarm-dark.png"
+ "qml/Notifications/images/avatarm-dark@2x.png"
+ "qml/Notifications/images/avatarm-light.png"
+ "qml/Notifications/images/avatarm-light@2x.png"
+ "qml/Notifications/images/missedcall-dark.png"
+ "qml/Notifications/images/missedcall-dark@2x.png"
+ "qml/Notifications/images/missedcall-light.png"
+ "qml/Notifications/images/missedcall-light@2x.png"
+ "qml/Notifications/notifications.js"
+ "qml/Settings/SettingsPage.qml"
+ "qml/Settings/images/bluetooth-dark.png"
+ "qml/Settings/images/bluetooth-dark@2x.png"
+ "qml/Settings/images/bluetooth-light.png"
+ "qml/Settings/images/bluetooth-light@2x.png"
+ "qml/Settings/images/brightness-dark.png"
+ "qml/Settings/images/brightness-dark@2x.png"
+ "qml/Settings/images/brightness-light.png"
+ "qml/Settings/images/brightness-light@2x.png"
+ "qml/Settings/images/demo-mode-dark.png"
+ "qml/Settings/images/demo-mode-dark@2x.png"
+ "qml/Settings/images/demo-mode-light.png"
+ "qml/Settings/images/demo-mode-light@2x.png"
+ "qml/Settings/images/demo-mode-white.png"
+ "qml/Settings/images/demo-mode-white@2x.png"
+ "qml/Settings/images/theme-dark.png"
+ "qml/Settings/images/theme-dark@2x.png"
+ "qml/Settings/images/theme-light.png"
+ "qml/Settings/images/theme-light@2x.png"
+ "qml/Settings/images/wifi-dark.png"
+ "qml/Settings/images/wifi-dark@2x.png"
+ "qml/Settings/images/wifi-light.png"
+ "qml/Settings/images/wifi-light@2x.png"
+ "qml/Style/PageIndicator.qml"
+ "qml/Style/Slider.qml"
+ "qml/Style/Switch.qml"
+ "qml/Style/UIStyle.qml"
+ "qml/Style/qmldir"
+ "qml/SwipeViewPage.qml"
+ "qml/Weather/WeatherPage.qml"
+ "qml/Weather/images/humidity-dark.png"
+ "qml/Weather/images/humidity-dark@2x.png"
+ "qml/Weather/images/humidity-light.png"
+ "qml/Weather/images/humidity-light@2x.png"
+ "qml/Weather/images/pressure-dark.png"
+ "qml/Weather/images/pressure-dark@2x.png"
+ "qml/Weather/images/pressure-light.png"
+ "qml/Weather/images/pressure-light@2x.png"
+ "qml/Weather/images/sunrise-dark.png"
+ "qml/Weather/images/sunrise-dark@2x.png"
+ "qml/Weather/images/sunrise-light.png"
+ "qml/Weather/images/sunrise-light@2x.png"
+ "qml/Weather/images/sunset-dark.png"
+ "qml/Weather/images/sunset-dark@2x.png"
+ "qml/Weather/images/sunset-light.png"
+ "qml/Weather/images/sunset-light@2x.png"
+ "qml/Weather/images/temperature-dark.png"
+ "qml/Weather/images/temperature-dark@2x.png"
+ "qml/Weather/images/temperature-light.png"
+ "qml/Weather/images/temperature-light@2x.png"
+ "qml/Weather/images/wind-dark.png"
+ "qml/Weather/images/wind-dark@2x.png"
+ "qml/Weather/images/wind-light.png"
+ "qml/Weather/images/wind-light@2x.png"
+ "qml/Weather/weather.js"
+ "qml/Weather/weather.json"
+ "qml/WorldClock/Clock.qml"
+ "qml/WorldClock/WorldClockPage.qml"
+ "qml/WorldClock/images/center.png"
+ "qml/WorldClock/images/center@2x.png"
+ "qml/WorldClock/images/second.png"
+ "qml/WorldClock/images/second@2x.png"
+ "qml/WorldClock/images/swissdaydial.png"
+ "qml/WorldClock/images/swissdaydial@2x.png"
+ "qml/WorldClock/images/swissdayhour.png"
+ "qml/WorldClock/images/swissdayhour@2x.png"
+ "qml/WorldClock/images/swissdayminute.png"
+ "qml/WorldClock/images/swissdayminute@2x.png"
+ "qml/WorldClock/images/swissnightdial.png"
+ "qml/WorldClock/images/swissnightdial@2x.png"
+ "qml/WorldClock/images/swissnighthour.png"
+ "qml/WorldClock/images/swissnighthour@2x.png"
+ "qml/WorldClock/images/swissnightminute.png"
+ "qml/WorldClock/images/swissnightminute@2x.png"
+ "wearable.qml"
+)
+
+qt6_add_resources(wearable "wearable"
+ PREFIX
+ "/"
+ FILES
+ ${wearable_resource_files}
+)
+
+install(TARGETS wearable
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 00000000..6c0dd97b
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,5 @@
+# Generated from src.pro.
+
+add_subdirectory(quicktemplates2)
+add_subdirectory(quickcontrols2)
+add_subdirectory(imports)
diff --git a/src/imports/.prev_CMakeLists.txt b/src/imports/.prev_CMakeLists.txt
new file mode 100644
index 00000000..9bec7cd4
--- /dev/null
+++ b/src/imports/.prev_CMakeLists.txt
@@ -0,0 +1,10 @@
+# Generated from imports.pro.
+
+add_subdirectory(controls)
+add_subdirectory(calendar)
+add_subdirectory(platform)
+add_subdirectory(templates)
+add_subdirectory(controls/fusion)
+add_subdirectory(controls/imagine)
+add_subdirectory(controls/material)
+add_subdirectory(controls/universal)
diff --git a/src/imports/CMakeLists.txt b/src/imports/CMakeLists.txt
new file mode 100644
index 00000000..9bec7cd4
--- /dev/null
+++ b/src/imports/CMakeLists.txt
@@ -0,0 +1,10 @@
+# Generated from imports.pro.
+
+add_subdirectory(controls)
+add_subdirectory(calendar)
+add_subdirectory(platform)
+add_subdirectory(templates)
+add_subdirectory(controls/fusion)
+add_subdirectory(controls/imagine)
+add_subdirectory(controls/material)
+add_subdirectory(controls/universal)
diff --git a/src/imports/calendar/CMakeLists.txt b/src/imports/calendar/CMakeLists.txt
new file mode 100644
index 00000000..bc9e7f08
--- /dev/null
+++ b/src/imports/calendar/CMakeLists.txt
@@ -0,0 +1,67 @@
+# Generated from calendar.pro.
+
+#####################################################################
+## qtlabscalendarplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtlabscalendarplugin
+ URI "Qt.labs.calendar"
+ VERSION "1.0"
+ CLASSNAME QtLabsCalendarPlugin
+ SOURCES
+ qquickcalendar.cpp qquickcalendar_p.h
+ qquickcalendarmodel.cpp qquickcalendarmodel_p.h
+ qquickdayofweekmodel.cpp qquickdayofweekmodel_p.h
+ qquickdayofweekrow.cpp qquickdayofweekrow_p.h
+ qquickmonthgrid.cpp qquickmonthgrid_p.h
+ qquickmonthmodel.cpp qquickmonthmodel_p.h
+ qquickweeknumbercolumn.cpp qquickweeknumbercolumn_p.h
+ qquickweeknumbermodel.cpp qquickweeknumbermodel_p.h
+ qtlabscalendarplugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+#### Keys ignored in scope 1:.:.:calendar.pro:<TRUE>:
+# IMPORT_VERSION = "1.0"
+# OTHER_FILES = "qmldir"
+# TARGETPATH = "Qt/labs/calendar"
+
+## Scopes:
+#####################################################################
+
+set(qml_files
+ "DayOfWeekRow.qml"
+ "MonthGrid.qml"
+ "WeekNumberColumn.qml"
+)
+set_source_files_properties(DayOfWeekRow.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "1.0"
+)
+set_source_files_properties(MonthGrid.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "1.0"
+)
+set_source_files_properties(WeekNumberColumn.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "1.0"
+)
+
+qt6_target_qml_files(qtlabscalendarplugin
+ FILES
+ ${qml_files}
+)
+qt_add_docs(qtlabscalendarplugin
+ doc/qtlabscalendar.qdocconf
+)
+
diff --git a/src/imports/controls/.prev_CMakeLists.txt b/src/imports/controls/.prev_CMakeLists.txt
new file mode 100644
index 00000000..e017f0fe
--- /dev/null
+++ b/src/imports/controls/.prev_CMakeLists.txt
@@ -0,0 +1,146 @@
+# Generated from controls.pro.
+
+#####################################################################
+## qtquickcontrols2plugin Plugin:
+#####################################################################
+
+add_qml_module(qtquickcontrols2plugin
+ TARGET_PATH "QtQuick/Controls.2"
+ URI "QtQuick.Controls"
+ VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ DESIGNER_SUPPORTED
+ CLASSNAME QtQuickControls2Plugin
+ DEPENDENCIES
+ QtQuick.Templates/2.5
+ SKIP_TYPE_REGISTRATION
+ SOURCES
+ qquickdefaultbusyindicator.cpp qquickdefaultbusyindicator_p.h
+ qquickdefaultdial.cpp qquickdefaultdial_p.h
+ qquickdefaultprogressbar.cpp qquickdefaultprogressbar_p.h
+ qquickdefaultstyle.cpp qquickdefaultstyle_p.h
+ qquickdefaulttheme.cpp qquickdefaulttheme_p.h
+ qtquickcontrols2plugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(qtquickcontrols2plugin_resource_files
+ "images/arrow-indicator.png"
+ "images/arrow-indicator@2x.png"
+ "images/arrow-indicator@3x.png"
+ "images/arrow-indicator@4x.png"
+ "images/check.png"
+ "images/check@2x.png"
+ "images/check@3x.png"
+ "images/check@4x.png"
+ "images/dial-indicator.png"
+ "images/dial-indicator@2x.png"
+ "images/dial-indicator@3x.png"
+ "images/dial-indicator@4x.png"
+ "images/double-arrow.png"
+ "images/double-arrow@2x.png"
+ "images/double-arrow@3x.png"
+ "images/double-arrow@4x.png"
+ "images/drop-indicator.png"
+ "images/drop-indicator@2x.png"
+ "images/drop-indicator@3x.png"
+ "images/drop-indicator@4x.png"
+)
+
+add_qt_resource(qtquickcontrols2plugin "qtquickcontrols2plugin"
+ PREFIX
+ "/qt-project.org/imports/QtQuick/Controls.2"
+ FILES
+ ${qtquickcontrols2plugin_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:controls.pro:<TRUE>:
+# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
+# OTHER_FILES = "qmldir" "$$QML_FILES" "$$PWD/snippets/*.qml" "$$PWD/src/*.qdoc" "$$PWD/src/calendar/*.qdoc" "$$PWD/src/templates/*.qdoc"
+# TARGETPATH = "QtQuick/Controls.2"
+# _REQUIREMENTS = "qtConfig(quickcontrols2-default)"
+
+## Scopes:
+#####################################################################
+
+set(qml_files
+ "AbstractButton.qml"
+ "Action.qml"
+ "ActionGroup.qml"
+ "ApplicationWindow.qml"
+ "BusyIndicator.qml"
+ "Button.qml"
+ "ButtonGroup.qml"
+ "CheckBox.qml"
+ "CheckDelegate.qml"
+ "ComboBox.qml"
+ "Container.qml"
+ "Control.qml"
+ "DelayButton.qml"
+ "Dial.qml"
+ "Dialog.qml"
+ "DialogButtonBox.qml"
+ "Drawer.qml"
+ "Frame.qml"
+ "GroupBox.qml"
+ "ItemDelegate.qml"
+ "Label.qml"
+ "Menu.qml"
+ "MenuBar.qml"
+ "MenuBarItem.qml"
+ "MenuItem.qml"
+ "MenuSeparator.qml"
+ "Page.qml"
+ "PageIndicator.qml"
+ "Pane.qml"
+ "Popup.qml"
+ "ProgressBar.qml"
+ "RadioButton.qml"
+ "RadioDelegate.qml"
+ "RangeSlider.qml"
+ "RoundButton.qml"
+ "ScrollBar.qml"
+ "ScrollIndicator.qml"
+ "ScrollView.qml"
+ "Slider.qml"
+ "SpinBox.qml"
+ "SplitView.qml"
+ "StackView.qml"
+ "SwipeDelegate.qml"
+ "Switch.qml"
+ "SwitchDelegate.qml"
+ "SwipeView.qml"
+ "TabBar.qml"
+ "TabButton.qml"
+ "TextArea.qml"
+ "TextField.qml"
+ "ToolBar.qml"
+ "ToolButton.qml"
+ "ToolSeparator.qml"
+ "ToolTip.qml"
+ "Tumbler.qml"
+)
+
+qt6_target_qml_files(qtquickcontrols2plugin
+ FILES
+ ${qml_files}
+)
+add_qt_docs(qtquickcontrols2plugin
+ doc/qtquickcontrols.qdocconf
+)
+
diff --git a/src/imports/controls/CMakeLists.txt b/src/imports/controls/CMakeLists.txt
new file mode 100644
index 00000000..ae0d1e60
--- /dev/null
+++ b/src/imports/controls/CMakeLists.txt
@@ -0,0 +1,146 @@
+# Generated from controls.pro.
+
+#####################################################################
+## qtquickcontrols2plugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtquickcontrols2plugin
+ TARGET_PATH "QtQuick/Controls.2"
+ URI "QtQuick.Controls"
+ VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ DESIGNER_SUPPORTED
+ CLASSNAME QtQuickControls2Plugin
+ DEPENDENCIES
+ QtQuick.Templates/2.5
+ SKIP_TYPE_REGISTRATION
+ SOURCES
+ qquickdefaultbusyindicator.cpp qquickdefaultbusyindicator_p.h
+ qquickdefaultdial.cpp qquickdefaultdial_p.h
+ qquickdefaultprogressbar.cpp qquickdefaultprogressbar_p.h
+ qquickdefaultstyle.cpp qquickdefaultstyle_p.h
+ qquickdefaulttheme.cpp qquickdefaulttheme_p.h
+ qtquickcontrols2plugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(qtquickcontrols2plugin_resource_files
+ "images/arrow-indicator.png"
+ "images/arrow-indicator@2x.png"
+ "images/arrow-indicator@3x.png"
+ "images/arrow-indicator@4x.png"
+ "images/check.png"
+ "images/check@2x.png"
+ "images/check@3x.png"
+ "images/check@4x.png"
+ "images/dial-indicator.png"
+ "images/dial-indicator@2x.png"
+ "images/dial-indicator@3x.png"
+ "images/dial-indicator@4x.png"
+ "images/double-arrow.png"
+ "images/double-arrow@2x.png"
+ "images/double-arrow@3x.png"
+ "images/double-arrow@4x.png"
+ "images/drop-indicator.png"
+ "images/drop-indicator@2x.png"
+ "images/drop-indicator@3x.png"
+ "images/drop-indicator@4x.png"
+)
+
+qt_add_resource(qtquickcontrols2plugin "qtquickcontrols2plugin"
+ PREFIX
+ "/qt-project.org/imports/QtQuick/Controls.2"
+ FILES
+ ${qtquickcontrols2plugin_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:controls.pro:<TRUE>:
+# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
+# OTHER_FILES = "qmldir" "$$QML_FILES" "$$PWD/snippets/*.qml" "$$PWD/src/*.qdoc" "$$PWD/src/calendar/*.qdoc" "$$PWD/src/templates/*.qdoc"
+# TARGETPATH = "QtQuick/Controls.2"
+# _REQUIREMENTS = "qtConfig(quickcontrols2-default)"
+
+## Scopes:
+#####################################################################
+
+set(qml_files
+ "AbstractButton.qml"
+ "Action.qml"
+ "ActionGroup.qml"
+ "ApplicationWindow.qml"
+ "BusyIndicator.qml"
+ "Button.qml"
+ "ButtonGroup.qml"
+ "CheckBox.qml"
+ "CheckDelegate.qml"
+ "ComboBox.qml"
+ "Container.qml"
+ "Control.qml"
+ "DelayButton.qml"
+ "Dial.qml"
+ "Dialog.qml"
+ "DialogButtonBox.qml"
+ "Drawer.qml"
+ "Frame.qml"
+ "GroupBox.qml"
+ "ItemDelegate.qml"
+ "Label.qml"
+ "Menu.qml"
+ "MenuBar.qml"
+ "MenuBarItem.qml"
+ "MenuItem.qml"
+ "MenuSeparator.qml"
+ "Page.qml"
+ "PageIndicator.qml"
+ "Pane.qml"
+ "Popup.qml"
+ "ProgressBar.qml"
+ "RadioButton.qml"
+ "RadioDelegate.qml"
+ "RangeSlider.qml"
+ "RoundButton.qml"
+ "ScrollBar.qml"
+ "ScrollIndicator.qml"
+ "ScrollView.qml"
+ "Slider.qml"
+ "SpinBox.qml"
+ "SplitView.qml"
+ "StackView.qml"
+ "SwipeDelegate.qml"
+ "Switch.qml"
+ "SwitchDelegate.qml"
+ "SwipeView.qml"
+ "TabBar.qml"
+ "TabButton.qml"
+ "TextArea.qml"
+ "TextField.qml"
+ "ToolBar.qml"
+ "ToolButton.qml"
+ "ToolSeparator.qml"
+ "ToolTip.qml"
+ "Tumbler.qml"
+)
+
+qt6_target_qml_files(qtquickcontrols2plugin
+ FILES
+ ${qml_files}
+)
+qt_add_docs(qtquickcontrols2plugin
+ doc/qtquickcontrols.qdocconf
+)
+
diff --git a/src/imports/controls/fusion/.prev_CMakeLists.txt b/src/imports/controls/fusion/.prev_CMakeLists.txt
new file mode 100644
index 00000000..2fb5b2a1
--- /dev/null
+++ b/src/imports/controls/fusion/.prev_CMakeLists.txt
@@ -0,0 +1,128 @@
+# Generated from fusion.pro.
+
+#####################################################################
+## qtquickcontrols2fusionstyleplugin Plugin:
+#####################################################################
+
+add_qml_module(qtquickcontrols2fusionstyleplugin
+ TARGET_PATH "QtQuick/Controls.2/Fusion"
+ URI "QtQuick.Controls.Fusion"
+ VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ CLASSNAME QtQuickControls2FusionStylePlugin
+ DEPENDENCIES
+ QtQuick.Controls/2.5
+ SKIP_TYPE_REGISTRATION
+ SOURCES
+ qquickfusionbusyindicator.cpp qquickfusionbusyindicator_p.h
+ qquickfusiondial.cpp qquickfusiondial_p.h
+ qquickfusionknob.cpp qquickfusionknob_p.h
+ qquickfusionstyle.cpp qquickfusionstyle_p.h
+ qquickfusiontheme.cpp qquickfusiontheme_p.h
+ qtquickcontrols2fusionstyleplugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(qtquickcontrols2fusionstyle_resource_files
+ "images/arrow.png"
+ "images/arrow@2x.png"
+ "images/arrow@3x.png"
+ "images/arrow@4x.png"
+ "images/checkmark.png"
+ "images/checkmark@2x.png"
+ "images/checkmark@3x.png"
+ "images/checkmark@4x.png"
+ "images/progressmask.png"
+ "images/progressmask@2x.png"
+ "images/progressmask@3x.png"
+ "images/progressmask@4x.png"
+)
+
+add_qt_resource(qtquickcontrols2fusionstyleplugin "qtquickcontrols2fusionstyle"
+ PREFIX
+ "/qt-project.org/imports/QtQuick/Controls.2/Fusion"
+ FILES
+ ${qtquickcontrols2fusionstyle_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:fusion.pro:<TRUE>:
+# IMPORT_NAME = "QtQuick.Controls.Fusion"
+# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
+# OTHER_FILES = "qmldir" "$$QML_FILES"
+# TARGETPATH = "QtQuick/Controls.2/Fusion"
+# _REQUIREMENTS = "qtConfig(quickcontrols2-fusion)"
+
+set(qml_files
+ "ApplicationWindow.qml"
+ "BusyIndicator.qml"
+ "Button.qml"
+ "ButtonPanel.qml"
+ "CheckBox.qml"
+ "CheckDelegate.qml"
+ "CheckIndicator.qml"
+ "ComboBox.qml"
+ "DelayButton.qml"
+ "Dial.qml"
+ "Dialog.qml"
+ "DialogButtonBox.qml"
+ "Drawer.qml"
+ "Frame.qml"
+ "GroupBox.qml"
+ "ItemDelegate.qml"
+ "Label.qml"
+ "Menu.qml"
+ "MenuBar.qml"
+ "MenuBarItem.qml"
+ "MenuItem.qml"
+ "MenuSeparator.qml"
+ "Page.qml"
+ "PageIndicator.qml"
+ "Pane.qml"
+ "Popup.qml"
+ "ProgressBar.qml"
+ "RadioButton.qml"
+ "RadioDelegate.qml"
+ "RadioIndicator.qml"
+ "RangeSlider.qml"
+ "RoundButton.qml"
+ "ScrollBar.qml"
+ "ScrollIndicator.qml"
+ "Slider.qml"
+ "SliderGroove.qml"
+ "SliderHandle.qml"
+ "SpinBox.qml"
+ "SplitView.qml"
+ "SwipeDelegate.qml"
+ "SwitchDelegate.qml"
+ "SwitchIndicator.qml"
+ "Switch.qml"
+ "TabBar.qml"
+ "TabButton.qml"
+ "TextArea.qml"
+ "TextField.qml"
+ "ToolBar.qml"
+ "ToolButton.qml"
+ "ToolSeparator.qml"
+ "ToolTip.qml"
+ "Tumbler.qml"
+)
+
+qt6_target_qml_files(qtquickcontrols2fusionstyleplugin
+ FILES
+ ${qml_files}
+)
diff --git a/src/imports/controls/fusion/CMakeLists.txt b/src/imports/controls/fusion/CMakeLists.txt
new file mode 100644
index 00000000..ee8f2c92
--- /dev/null
+++ b/src/imports/controls/fusion/CMakeLists.txt
@@ -0,0 +1,128 @@
+# Generated from fusion.pro.
+
+#####################################################################
+## qtquickcontrols2fusionstyleplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtquickcontrols2fusionstyleplugin
+ TARGET_PATH "QtQuick/Controls.2/Fusion"
+ URI "QtQuick.Controls.Fusion"
+ VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ CLASSNAME QtQuickControls2FusionStylePlugin
+ DEPENDENCIES
+ QtQuick.Controls/2.5
+ SKIP_TYPE_REGISTRATION
+ SOURCES
+ qquickfusionbusyindicator.cpp qquickfusionbusyindicator_p.h
+ qquickfusiondial.cpp qquickfusiondial_p.h
+ qquickfusionknob.cpp qquickfusionknob_p.h
+ qquickfusionstyle.cpp qquickfusionstyle_p.h
+ qquickfusiontheme.cpp qquickfusiontheme_p.h
+ qtquickcontrols2fusionstyleplugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(qtquickcontrols2fusionstyle_resource_files
+ "images/arrow.png"
+ "images/arrow@2x.png"
+ "images/arrow@3x.png"
+ "images/arrow@4x.png"
+ "images/checkmark.png"
+ "images/checkmark@2x.png"
+ "images/checkmark@3x.png"
+ "images/checkmark@4x.png"
+ "images/progressmask.png"
+ "images/progressmask@2x.png"
+ "images/progressmask@3x.png"
+ "images/progressmask@4x.png"
+)
+
+qt_add_resource(qtquickcontrols2fusionstyleplugin "qtquickcontrols2fusionstyle"
+ PREFIX
+ "/qt-project.org/imports/QtQuick/Controls.2/Fusion"
+ FILES
+ ${qtquickcontrols2fusionstyle_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:fusion.pro:<TRUE>:
+# IMPORT_NAME = "QtQuick.Controls.Fusion"
+# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
+# OTHER_FILES = "qmldir" "$$QML_FILES"
+# TARGETPATH = "QtQuick/Controls.2/Fusion"
+# _REQUIREMENTS = "qtConfig(quickcontrols2-fusion)"
+
+set(qml_files
+ "ApplicationWindow.qml"
+ "BusyIndicator.qml"
+ "Button.qml"
+ "ButtonPanel.qml"
+ "CheckBox.qml"
+ "CheckDelegate.qml"
+ "CheckIndicator.qml"
+ "ComboBox.qml"
+ "DelayButton.qml"
+ "Dial.qml"
+ "Dialog.qml"
+ "DialogButtonBox.qml"
+ "Drawer.qml"
+ "Frame.qml"
+ "GroupBox.qml"
+ "ItemDelegate.qml"
+ "Label.qml"
+ "Menu.qml"
+ "MenuBar.qml"
+ "MenuBarItem.qml"
+ "MenuItem.qml"
+ "MenuSeparator.qml"
+ "Page.qml"
+ "PageIndicator.qml"
+ "Pane.qml"
+ "Popup.qml"
+ "ProgressBar.qml"
+ "RadioButton.qml"
+ "RadioDelegate.qml"
+ "RadioIndicator.qml"
+ "RangeSlider.qml"
+ "RoundButton.qml"
+ "ScrollBar.qml"
+ "ScrollIndicator.qml"
+ "Slider.qml"
+ "SliderGroove.qml"
+ "SliderHandle.qml"
+ "SpinBox.qml"
+ "SplitView.qml"
+ "SwipeDelegate.qml"
+ "SwitchDelegate.qml"
+ "SwitchIndicator.qml"
+ "Switch.qml"
+ "TabBar.qml"
+ "TabButton.qml"
+ "TextArea.qml"
+ "TextField.qml"
+ "ToolBar.qml"
+ "ToolButton.qml"
+ "ToolSeparator.qml"
+ "ToolTip.qml"
+ "Tumbler.qml"
+)
+
+qt6_target_qml_files(qtquickcontrols2fusionstyleplugin
+ FILES
+ ${qml_files}
+)
diff --git a/src/imports/controls/imagine/.prev_CMakeLists.txt b/src/imports/controls/imagine/.prev_CMakeLists.txt
new file mode 100644
index 00000000..5deb1489
--- /dev/null
+++ b/src/imports/controls/imagine/.prev_CMakeLists.txt
@@ -0,0 +1,122 @@
+# Generated from imagine.pro.
+
+#####################################################################
+## qtquickcontrols2imaginestyleplugin Plugin:
+#####################################################################
+
+add_qml_module(qtquickcontrols2imaginestyleplugin
+ TARGET_PATH "QtQuick/Controls.2/Imagine"
+ URI "QtQuick.Controls.Imagine"
+ VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ CLASSNAME QtQuickControls2ImagineStylePlugin
+ DEPENDENCIES
+ QtQuick.Controls/2.5
+ QtGraphicalEffects/1.0
+ SKIP_TYPE_REGISTRATION
+ SOURCES
+ qquickimageselector.cpp qquickimageselector_p.h
+ qquickimaginestyle.cpp qquickimaginestyle_p.h
+ qquickimaginetheme.cpp qquickimaginetheme_p.h
+ qquickninepatchimage.cpp qquickninepatchimage_p.h
+ qtquickcontrols2imaginestyleplugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+file(GLOB resource_glob_0 RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "images/*.png")
+foreach(file IN LISTS resource_glob_0)
+ set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/${file}" PROPERTIES QT_RESOURCE_ALIAS "${file}")
+endforeach()
+
+file(GLOB resource_glob_1 RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "images/*.webp")
+foreach(file IN LISTS resource_glob_1)
+ set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/${file}" PROPERTIES QT_RESOURCE_ALIAS "${file}")
+endforeach()
+
+# Resources:
+set(qmake_qtquickcontrols2imaginestyle_resource_files
+ ${resource_glob_0}
+ ${resource_glob_1}
+)
+
+add_qt_resource(qtquickcontrols2imaginestyleplugin "qmake_qtquickcontrols2imaginestyle"
+ PREFIX
+ "qt-project.org/imports/QtQuick/Controls.2/Imagine"
+ FILES
+ ${qmake_qtquickcontrols2imaginestyle_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:imagine.pro:<TRUE>:
+# IMPORT_NAME = "QtQuick.Controls.Imagine"
+# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
+# OTHER_FILES = "qmldir" "$$QML_FILES"
+# TARGETPATH = "QtQuick/Controls.2/Imagine"
+# _REQUIREMENTS = "qtConfig(quickcontrols2-imagine)"
+
+set(qml_files
+ "ApplicationWindow.qml"
+ "BusyIndicator.qml"
+ "Button.qml"
+ "CheckBox.qml"
+ "CheckDelegate.qml"
+ "ComboBox.qml"
+ "DelayButton.qml"
+ "Dial.qml"
+ "Dialog.qml"
+ "DialogButtonBox.qml"
+ "Drawer.qml"
+ "Frame.qml"
+ "GroupBox.qml"
+ "ItemDelegate.qml"
+ "Label.qml"
+ "Menu.qml"
+ "MenuItem.qml"
+ "MenuSeparator.qml"
+ "PageIndicator.qml"
+ "Page.qml"
+ "Pane.qml"
+ "Popup.qml"
+ "ProgressBar.qml"
+ "RadioButton.qml"
+ "RadioDelegate.qml"
+ "RangeSlider.qml"
+ "RoundButton.qml"
+ "ScrollBar.qml"
+ "ScrollIndicator.qml"
+ "Slider.qml"
+ "SpinBox.qml"
+ "SplitView.qml"
+ "StackView.qml"
+ "SwipeDelegate.qml"
+ "SwipeView.qml"
+ "Switch.qml"
+ "SwitchDelegate.qml"
+ "TextField.qml"
+ "TextArea.qml"
+ "TabBar.qml"
+ "TabButton.qml"
+ "ToolBar.qml"
+ "ToolButton.qml"
+ "ToolSeparator.qml"
+ "ToolTip.qml"
+ "Tumbler.qml"
+)
+
+qt6_target_qml_files(qtquickcontrols2imaginestyleplugin
+ FILES
+ ${qml_files}
+)
diff --git a/src/imports/controls/imagine/CMakeLists.txt b/src/imports/controls/imagine/CMakeLists.txt
new file mode 100644
index 00000000..f0435255
--- /dev/null
+++ b/src/imports/controls/imagine/CMakeLists.txt
@@ -0,0 +1,122 @@
+# Generated from imagine.pro.
+
+#####################################################################
+## qtquickcontrols2imaginestyleplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtquickcontrols2imaginestyleplugin
+ TARGET_PATH "QtQuick/Controls.2/Imagine"
+ URI "QtQuick.Controls.Imagine"
+ VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ CLASSNAME QtQuickControls2ImagineStylePlugin
+ DEPENDENCIES
+ QtQuick.Controls/2.5
+ QtGraphicalEffects/1.0
+ SKIP_TYPE_REGISTRATION
+ SOURCES
+ qquickimageselector.cpp qquickimageselector_p.h
+ qquickimaginestyle.cpp qquickimaginestyle_p.h
+ qquickimaginetheme.cpp qquickimaginetheme_p.h
+ qquickninepatchimage.cpp qquickninepatchimage_p.h
+ qtquickcontrols2imaginestyleplugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+file(GLOB resource_glob_0 RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "images/*.png")
+foreach(file IN LISTS resource_glob_0)
+ set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/${file}" PROPERTIES QT_RESOURCE_ALIAS "${file}")
+endforeach()
+
+file(GLOB resource_glob_1 RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "images/*.webp")
+foreach(file IN LISTS resource_glob_1)
+ set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/${file}" PROPERTIES QT_RESOURCE_ALIAS "${file}")
+endforeach()
+
+# Resources:
+set(qmake_qtquickcontrols2imaginestyle_resource_files
+ ${resource_glob_0}
+ ${resource_glob_1}
+)
+
+qt_add_resource(qtquickcontrols2imaginestyleplugin "qmake_qtquickcontrols2imaginestyle"
+ PREFIX
+ "qt-project.org/imports/QtQuick/Controls.2/Imagine"
+ FILES
+ ${qmake_qtquickcontrols2imaginestyle_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:imagine.pro:<TRUE>:
+# IMPORT_NAME = "QtQuick.Controls.Imagine"
+# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
+# OTHER_FILES = "qmldir" "$$QML_FILES"
+# TARGETPATH = "QtQuick/Controls.2/Imagine"
+# _REQUIREMENTS = "qtConfig(quickcontrols2-imagine)"
+
+set(qml_files
+ "ApplicationWindow.qml"
+ "BusyIndicator.qml"
+ "Button.qml"
+ "CheckBox.qml"
+ "CheckDelegate.qml"
+ "ComboBox.qml"
+ "DelayButton.qml"
+ "Dial.qml"
+ "Dialog.qml"
+ "DialogButtonBox.qml"
+ "Drawer.qml"
+ "Frame.qml"
+ "GroupBox.qml"
+ "ItemDelegate.qml"
+ "Label.qml"
+ "Menu.qml"
+ "MenuItem.qml"
+ "MenuSeparator.qml"
+ "PageIndicator.qml"
+ "Page.qml"
+ "Pane.qml"
+ "Popup.qml"
+ "ProgressBar.qml"
+ "RadioButton.qml"
+ "RadioDelegate.qml"
+ "RangeSlider.qml"
+ "RoundButton.qml"
+ "ScrollBar.qml"
+ "ScrollIndicator.qml"
+ "Slider.qml"
+ "SpinBox.qml"
+ "SplitView.qml"
+ "StackView.qml"
+ "SwipeDelegate.qml"
+ "SwipeView.qml"
+ "Switch.qml"
+ "SwitchDelegate.qml"
+ "TextField.qml"
+ "TextArea.qml"
+ "TabBar.qml"
+ "TabButton.qml"
+ "ToolBar.qml"
+ "ToolButton.qml"
+ "ToolSeparator.qml"
+ "ToolTip.qml"
+ "Tumbler.qml"
+)
+
+qt6_target_qml_files(qtquickcontrols2imaginestyleplugin
+ FILES
+ ${qml_files}
+)
diff --git a/src/imports/controls/material/.prev_CMakeLists.txt b/src/imports/controls/material/.prev_CMakeLists.txt
new file mode 100644
index 00000000..15fe3519
--- /dev/null
+++ b/src/imports/controls/material/.prev_CMakeLists.txt
@@ -0,0 +1,136 @@
+# Generated from material.pro.
+
+#####################################################################
+## qtquickcontrols2materialstyleplugin Plugin:
+#####################################################################
+
+add_qml_module(qtquickcontrols2materialstyleplugin
+ TARGET_PATH "QtQuick/Controls.2/Material"
+ URI "QtQuick.Controls.Material"
+ VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ CLASSNAME QtQuickControls2MaterialStylePlugin
+ DEPENDENCIES
+ QtQuick.Controls/2.5
+ SKIP_TYPE_REGISTRATION
+ SOURCES
+ qquickmaterialbusyindicator.cpp qquickmaterialbusyindicator_p.h
+ qquickmaterialprogressbar.cpp qquickmaterialprogressbar_p.h
+ qquickmaterialripple.cpp qquickmaterialripple_p.h
+ qquickmaterialstyle.cpp qquickmaterialstyle_p.h
+ qquickmaterialtheme.cpp qquickmaterialtheme_p.h
+ qtquickcontrols2materialstyleplugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(qtquickcontrols2materialstyleplugin_resource_files
+ "images/arrow-indicator.png"
+ "images/arrow-indicator@2x.png"
+ "images/arrow-indicator@3x.png"
+ "images/arrow-indicator@4x.png"
+ "images/check.png"
+ "images/check@2x.png"
+ "images/check@3x.png"
+ "images/check@4x.png"
+ "images/drop-indicator.png"
+ "images/drop-indicator@2x.png"
+ "images/drop-indicator@3x.png"
+ "images/drop-indicator@4x.png"
+ "shaders/+glslcore/RectangularGlow.frag"
+ "shaders/+hlsl/RectangularGlow.frag"
+ "shaders/+qsb/RectangularGlow.frag"
+ "shaders/RectangularGlow.frag"
+)
+
+add_qt_resource(qtquickcontrols2materialstyleplugin "qtquickcontrols2materialstyleplugin"
+ PREFIX
+ "/qt-project.org/imports/QtQuick/Controls.2/Material"
+ FILES
+ ${qtquickcontrols2materialstyleplugin_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:material.pro:<TRUE>:
+# IMPORT_NAME = "QtQuick.Controls.Material"
+# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
+# OTHER_FILES = "qmldir" "$$QML_FILES"
+# TARGETPATH = "QtQuick/Controls.2/Material"
+# _REQUIREMENTS = "qtConfig(quickcontrols2-material)"
+
+set(qml_files
+ "ApplicationWindow.qml"
+ "BoxShadow.qml"
+ "BusyIndicator.qml"
+ "Button.qml"
+ "CheckBox.qml"
+ "CheckDelegate.qml"
+ "CheckIndicator.qml"
+ "ComboBox.qml"
+ "CursorDelegate.qml"
+ "DelayButton.qml"
+ "Dial.qml"
+ "Dialog.qml"
+ "DialogButtonBox.qml"
+ "Drawer.qml"
+ "ElevationEffect.qml"
+ "Frame.qml"
+ "GroupBox.qml"
+ "ItemDelegate.qml"
+ "Label.qml"
+ "Menu.qml"
+ "MenuBar.qml"
+ "MenuBarItem.qml"
+ "MenuItem.qml"
+ "MenuSeparator.qml"
+ "Page.qml"
+ "PageIndicator.qml"
+ "Pane.qml"
+ "Popup.qml"
+ "ProgressBar.qml"
+ "RadioButton.qml"
+ "RadioDelegate.qml"
+ "RadioIndicator.qml"
+ "RangeSlider.qml"
+ "RoundButton.qml"
+ "RectangularGlow.qml"
+ "ScrollBar.qml"
+ "ScrollIndicator.qml"
+ "Slider.qml"
+ "SliderHandle.qml"
+ "SpinBox.qml"
+ "SplitView.qml"
+ "StackView.qml"
+ "SwipeDelegate.qml"
+ "SwipeView.qml"
+ "Switch.qml"
+ "SwitchDelegate.qml"
+ "SwitchIndicator.qml"
+ "TabBar.qml"
+ "TabButton.qml"
+ "TextArea.qml"
+ "TextField.qml"
+ "ToolBar.qml"
+ "ToolButton.qml"
+ "ToolSeparator.qml"
+ "ToolTip.qml"
+ "Tumbler.qml"
+)
+
+qt6_target_qml_files(qtquickcontrols2materialstyleplugin
+ FILES
+ ${qml_files}
+)
diff --git a/src/imports/controls/material/CMakeLists.txt b/src/imports/controls/material/CMakeLists.txt
new file mode 100644
index 00000000..c6a2be63
--- /dev/null
+++ b/src/imports/controls/material/CMakeLists.txt
@@ -0,0 +1,136 @@
+# Generated from material.pro.
+
+#####################################################################
+## qtquickcontrols2materialstyleplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtquickcontrols2materialstyleplugin
+ TARGET_PATH "QtQuick/Controls.2/Material"
+ URI "QtQuick.Controls.Material"
+ VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ CLASSNAME QtQuickControls2MaterialStylePlugin
+ DEPENDENCIES
+ QtQuick.Controls/2.5
+ SKIP_TYPE_REGISTRATION
+ SOURCES
+ qquickmaterialbusyindicator.cpp qquickmaterialbusyindicator_p.h
+ qquickmaterialprogressbar.cpp qquickmaterialprogressbar_p.h
+ qquickmaterialripple.cpp qquickmaterialripple_p.h
+ qquickmaterialstyle.cpp qquickmaterialstyle_p.h
+ qquickmaterialtheme.cpp qquickmaterialtheme_p.h
+ qtquickcontrols2materialstyleplugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(qtquickcontrols2materialstyleplugin_resource_files
+ "images/arrow-indicator.png"
+ "images/arrow-indicator@2x.png"
+ "images/arrow-indicator@3x.png"
+ "images/arrow-indicator@4x.png"
+ "images/check.png"
+ "images/check@2x.png"
+ "images/check@3x.png"
+ "images/check@4x.png"
+ "images/drop-indicator.png"
+ "images/drop-indicator@2x.png"
+ "images/drop-indicator@3x.png"
+ "images/drop-indicator@4x.png"
+ "shaders/+glslcore/RectangularGlow.frag"
+ "shaders/+hlsl/RectangularGlow.frag"
+ "shaders/+qsb/RectangularGlow.frag"
+ "shaders/RectangularGlow.frag"
+)
+
+qt_add_resource(qtquickcontrols2materialstyleplugin "qtquickcontrols2materialstyleplugin"
+ PREFIX
+ "/qt-project.org/imports/QtQuick/Controls.2/Material"
+ FILES
+ ${qtquickcontrols2materialstyleplugin_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:material.pro:<TRUE>:
+# IMPORT_NAME = "QtQuick.Controls.Material"
+# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
+# OTHER_FILES = "qmldir" "$$QML_FILES"
+# TARGETPATH = "QtQuick/Controls.2/Material"
+# _REQUIREMENTS = "qtConfig(quickcontrols2-material)"
+
+set(qml_files
+ "ApplicationWindow.qml"
+ "BoxShadow.qml"
+ "BusyIndicator.qml"
+ "Button.qml"
+ "CheckBox.qml"
+ "CheckDelegate.qml"
+ "CheckIndicator.qml"
+ "ComboBox.qml"
+ "CursorDelegate.qml"
+ "DelayButton.qml"
+ "Dial.qml"
+ "Dialog.qml"
+ "DialogButtonBox.qml"
+ "Drawer.qml"
+ "ElevationEffect.qml"
+ "Frame.qml"
+ "GroupBox.qml"
+ "ItemDelegate.qml"
+ "Label.qml"
+ "Menu.qml"
+ "MenuBar.qml"
+ "MenuBarItem.qml"
+ "MenuItem.qml"
+ "MenuSeparator.qml"
+ "Page.qml"
+ "PageIndicator.qml"
+ "Pane.qml"
+ "Popup.qml"
+ "ProgressBar.qml"
+ "RadioButton.qml"
+ "RadioDelegate.qml"
+ "RadioIndicator.qml"
+ "RangeSlider.qml"
+ "RoundButton.qml"
+ "RectangularGlow.qml"
+ "ScrollBar.qml"
+ "ScrollIndicator.qml"
+ "Slider.qml"
+ "SliderHandle.qml"
+ "SpinBox.qml"
+ "SplitView.qml"
+ "StackView.qml"
+ "SwipeDelegate.qml"
+ "SwipeView.qml"
+ "Switch.qml"
+ "SwitchDelegate.qml"
+ "SwitchIndicator.qml"
+ "TabBar.qml"
+ "TabButton.qml"
+ "TextArea.qml"
+ "TextField.qml"
+ "ToolBar.qml"
+ "ToolButton.qml"
+ "ToolSeparator.qml"
+ "ToolTip.qml"
+ "Tumbler.qml"
+)
+
+qt6_target_qml_files(qtquickcontrols2materialstyleplugin
+ FILES
+ ${qml_files}
+)
diff --git a/src/imports/controls/universal/.prev_CMakeLists.txt b/src/imports/controls/universal/.prev_CMakeLists.txt
new file mode 100644
index 00000000..f78b6e49
--- /dev/null
+++ b/src/imports/controls/universal/.prev_CMakeLists.txt
@@ -0,0 +1,130 @@
+# Generated from universal.pro.
+
+#####################################################################
+## qtquickcontrols2universalstyleplugin Plugin:
+#####################################################################
+
+add_qml_module(qtquickcontrols2universalstyleplugin
+ TARGET_PATH "QtQuick/Controls.2/Universal"
+ URI "QtQuick.Controls.Universal"
+ VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ CLASSNAME QtQuickControls2UniversalStylePlugin
+ DEPENDENCIES
+ QtQuick.Controls/2.5
+ SKIP_TYPE_REGISTRATION
+ SOURCES
+ qquickuniversalbusyindicator.cpp qquickuniversalbusyindicator_p.h
+ qquickuniversalfocusrectangle.cpp qquickuniversalfocusrectangle_p.h
+ qquickuniversalprogressbar.cpp qquickuniversalprogressbar_p.h
+ qquickuniversalstyle.cpp qquickuniversalstyle_p.h
+ qquickuniversaltheme.cpp qquickuniversaltheme_p.h
+ qtquickcontrols2universalstyleplugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(qtquickcontrols2universalstyleplugin_resource_files
+ "images/checkmark.png"
+ "images/checkmark@2x.png"
+ "images/checkmark@3x.png"
+ "images/checkmark@4x.png"
+ "images/downarrow.png"
+ "images/downarrow@2x.png"
+ "images/downarrow@3x.png"
+ "images/downarrow@4x.png"
+ "images/leftarrow.png"
+ "images/leftarrow@2x.png"
+ "images/leftarrow@3x.png"
+ "images/leftarrow@4x.png"
+ "images/rightarrow.png"
+ "images/rightarrow@2x.png"
+ "images/rightarrow@3x.png"
+ "images/rightarrow@4x.png"
+)
+
+add_qt_resource(qtquickcontrols2universalstyleplugin "qtquickcontrols2universalstyleplugin"
+ PREFIX
+ "/qt-project.org/imports/QtQuick/Controls.2/Universal"
+ FILES
+ ${qtquickcontrols2universalstyleplugin_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:universal.pro:<TRUE>:
+# IMPORT_NAME = "QtQuick.Controls.Universal"
+# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
+# OTHER_FILES = "qmldir" "$$QML_FILES"
+# TARGETPATH = "QtQuick/Controls.2/Universal"
+# _REQUIREMENTS = "qtConfig(quickcontrols2-universal)"
+
+set(qml_files
+ "ApplicationWindow.qml"
+ "BusyIndicator.qml"
+ "Button.qml"
+ "CheckBox.qml"
+ "CheckDelegate.qml"
+ "CheckIndicator.qml"
+ "ComboBox.qml"
+ "DelayButton.qml"
+ "Dial.qml"
+ "Dialog.qml"
+ "DialogButtonBox.qml"
+ "Drawer.qml"
+ "Frame.qml"
+ "GroupBox.qml"
+ "ItemDelegate.qml"
+ "Label.qml"
+ "Menu.qml"
+ "MenuBar.qml"
+ "MenuBarItem.qml"
+ "MenuItem.qml"
+ "MenuSeparator.qml"
+ "Page.qml"
+ "PageIndicator.qml"
+ "Pane.qml"
+ "Popup.qml"
+ "ProgressBar.qml"
+ "RadioButton.qml"
+ "RadioDelegate.qml"
+ "RadioIndicator.qml"
+ "RangeSlider.qml"
+ "RoundButton.qml"
+ "ScrollBar.qml"
+ "ScrollIndicator.qml"
+ "Slider.qml"
+ "SpinBox.qml"
+ "SplitView.qml"
+ "StackView.qml"
+ "SwipeDelegate.qml"
+ "SwitchDelegate.qml"
+ "SwitchIndicator.qml"
+ "Switch.qml"
+ "TabBar.qml"
+ "TabButton.qml"
+ "TextArea.qml"
+ "TextField.qml"
+ "ToolBar.qml"
+ "ToolButton.qml"
+ "ToolSeparator.qml"
+ "ToolTip.qml"
+ "Tumbler.qml"
+)
+
+qt6_target_qml_files(qtquickcontrols2universalstyleplugin
+ FILES
+ ${qml_files}
+)
diff --git a/src/imports/controls/universal/CMakeLists.txt b/src/imports/controls/universal/CMakeLists.txt
new file mode 100644
index 00000000..802e40f2
--- /dev/null
+++ b/src/imports/controls/universal/CMakeLists.txt
@@ -0,0 +1,130 @@
+# Generated from universal.pro.
+
+#####################################################################
+## qtquickcontrols2universalstyleplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtquickcontrols2universalstyleplugin
+ TARGET_PATH "QtQuick/Controls.2/Universal"
+ URI "QtQuick.Controls.Universal"
+ VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ CLASSNAME QtQuickControls2UniversalStylePlugin
+ DEPENDENCIES
+ QtQuick.Controls/2.5
+ SKIP_TYPE_REGISTRATION
+ SOURCES
+ qquickuniversalbusyindicator.cpp qquickuniversalbusyindicator_p.h
+ qquickuniversalfocusrectangle.cpp qquickuniversalfocusrectangle_p.h
+ qquickuniversalprogressbar.cpp qquickuniversalprogressbar_p.h
+ qquickuniversalstyle.cpp qquickuniversalstyle_p.h
+ qquickuniversaltheme.cpp qquickuniversaltheme_p.h
+ qtquickcontrols2universalstyleplugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(qtquickcontrols2universalstyleplugin_resource_files
+ "images/checkmark.png"
+ "images/checkmark@2x.png"
+ "images/checkmark@3x.png"
+ "images/checkmark@4x.png"
+ "images/downarrow.png"
+ "images/downarrow@2x.png"
+ "images/downarrow@3x.png"
+ "images/downarrow@4x.png"
+ "images/leftarrow.png"
+ "images/leftarrow@2x.png"
+ "images/leftarrow@3x.png"
+ "images/leftarrow@4x.png"
+ "images/rightarrow.png"
+ "images/rightarrow@2x.png"
+ "images/rightarrow@3x.png"
+ "images/rightarrow@4x.png"
+)
+
+qt_add_resource(qtquickcontrols2universalstyleplugin "qtquickcontrols2universalstyleplugin"
+ PREFIX
+ "/qt-project.org/imports/QtQuick/Controls.2/Universal"
+ FILES
+ ${qtquickcontrols2universalstyleplugin_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:universal.pro:<TRUE>:
+# IMPORT_NAME = "QtQuick.Controls.Universal"
+# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
+# OTHER_FILES = "qmldir" "$$QML_FILES"
+# TARGETPATH = "QtQuick/Controls.2/Universal"
+# _REQUIREMENTS = "qtConfig(quickcontrols2-universal)"
+
+set(qml_files
+ "ApplicationWindow.qml"
+ "BusyIndicator.qml"
+ "Button.qml"
+ "CheckBox.qml"
+ "CheckDelegate.qml"
+ "CheckIndicator.qml"
+ "ComboBox.qml"
+ "DelayButton.qml"
+ "Dial.qml"
+ "Dialog.qml"
+ "DialogButtonBox.qml"
+ "Drawer.qml"
+ "Frame.qml"
+ "GroupBox.qml"
+ "ItemDelegate.qml"
+ "Label.qml"
+ "Menu.qml"
+ "MenuBar.qml"
+ "MenuBarItem.qml"
+ "MenuItem.qml"
+ "MenuSeparator.qml"
+ "Page.qml"
+ "PageIndicator.qml"
+ "Pane.qml"
+ "Popup.qml"
+ "ProgressBar.qml"
+ "RadioButton.qml"
+ "RadioDelegate.qml"
+ "RadioIndicator.qml"
+ "RangeSlider.qml"
+ "RoundButton.qml"
+ "ScrollBar.qml"
+ "ScrollIndicator.qml"
+ "Slider.qml"
+ "SpinBox.qml"
+ "SplitView.qml"
+ "StackView.qml"
+ "SwipeDelegate.qml"
+ "SwitchDelegate.qml"
+ "SwitchIndicator.qml"
+ "Switch.qml"
+ "TabBar.qml"
+ "TabButton.qml"
+ "TextArea.qml"
+ "TextField.qml"
+ "ToolBar.qml"
+ "ToolButton.qml"
+ "ToolSeparator.qml"
+ "ToolTip.qml"
+ "Tumbler.qml"
+)
+
+qt6_target_qml_files(qtquickcontrols2universalstyleplugin
+ FILES
+ ${qml_files}
+)
diff --git a/src/imports/platform/CMakeLists.txt b/src/imports/platform/CMakeLists.txt
new file mode 100644
index 00000000..40001e72
--- /dev/null
+++ b/src/imports/platform/CMakeLists.txt
@@ -0,0 +1,101 @@
+# Generated from platform.pro.
+
+#####################################################################
+## qtlabsplatformplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtlabsplatformplugin
+ URI "Qt.labs.platform"
+ VERSION "1.0"
+ CLASSNAME QtLabsPlatformPlugin
+ SKIP_TYPE_REGISTRATION
+ SOURCES
+ qquickplatformcolordialog.cpp qquickplatformcolordialog_p.h
+ qquickplatformdialog.cpp qquickplatformdialog_p.h
+ qquickplatformfiledialog.cpp qquickplatformfiledialog_p.h
+ qquickplatformfolderdialog.cpp qquickplatformfolderdialog_p.h
+ qquickplatformfontdialog.cpp qquickplatformfontdialog_p.h
+ qquickplatformicon.cpp qquickplatformicon_p.h
+ qquickplatformiconloader.cpp qquickplatformiconloader_p.h
+ qquickplatformmenu.cpp qquickplatformmenu_p.h
+ qquickplatformmenubar.cpp qquickplatformmenubar_p.h
+ qquickplatformmenuitem.cpp qquickplatformmenuitem_p.h
+ qquickplatformmenuitemgroup.cpp qquickplatformmenuitemgroup_p.h
+ qquickplatformmenuseparator.cpp qquickplatformmenuseparator_p.h
+ qquickplatformmessagedialog.cpp qquickplatformmessagedialog_p.h
+ qquickplatformstandardpaths.cpp qquickplatformstandardpaths_p.h
+ qtlabsplatformplugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+#### Keys ignored in scope 1:.:.:platform.pro:<TRUE>:
+# IMPORT_VERSION = "1.0"
+# OTHER_FILES = "qmldir"
+# TARGETPATH = "Qt/labs/platform"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(qtlabsplatformplugin CONDITION TARGET Qt::Widgets
+ SOURCES
+ widgets/qwidgetplatform_p.h
+ PUBLIC_LIBRARIES
+ Qt::Widgets
+)
+
+qt_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_systemtrayicon AND TARGET Qt::Widgets
+ SOURCES
+ widgets/qwidgetplatformsystemtrayicon.cpp widgets/qwidgetplatformsystemtrayicon_p.h
+)
+
+qt_extend_target(qtlabsplatformplugin CONDITION TARGET Qt::Widgets AND (QT_FEATURE_colordialog OR QT_FEATURE_filedialog OR QT_FEATURE_fontdialog OR QT_FEATURE_messagebox)
+ SOURCES
+ widgets/qwidgetplatformdialog.cpp widgets/qwidgetplatformdialog_p.h
+)
+
+qt_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_colordialog AND TARGET Qt::Widgets
+ SOURCES
+ widgets/qwidgetplatformcolordialog.cpp widgets/qwidgetplatformcolordialog_p.h
+)
+
+qt_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_filedialog AND TARGET Qt::Widgets
+ SOURCES
+ widgets/qwidgetplatformfiledialog.cpp widgets/qwidgetplatformfiledialog_p.h
+)
+
+qt_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_fontdialog AND TARGET Qt::Widgets
+ SOURCES
+ widgets/qwidgetplatformfontdialog.cpp widgets/qwidgetplatformfontdialog_p.h
+)
+
+qt_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_menu AND TARGET Qt::Widgets
+ SOURCES
+ widgets/qwidgetplatformmenu.cpp widgets/qwidgetplatformmenu_p.h
+ widgets/qwidgetplatformmenuitem.cpp widgets/qwidgetplatformmenuitem_p.h
+)
+
+qt_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_messagebox AND TARGET Qt::Widgets
+ SOURCES
+ widgets/qwidgetplatformmessagedialog.cpp widgets/qwidgetplatformmessagedialog_p.h
+)
+
+qt_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_systemtrayicon
+ SOURCES
+ qquickplatformsystemtrayicon.cpp qquickplatformsystemtrayicon_p.h
+)
+qt_add_docs(qtlabsplatformplugin
+ doc/qtlabsplatform.qdocconf
+)
+
diff --git a/src/imports/templates/CMakeLists.txt b/src/imports/templates/CMakeLists.txt
new file mode 100644
index 00000000..4e6a80c4
--- /dev/null
+++ b/src/imports/templates/CMakeLists.txt
@@ -0,0 +1,36 @@
+# Generated from templates.pro.
+
+#####################################################################
+## qtquicktemplates2plugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtquicktemplates2plugin
+ TARGET_PATH "QtQuick/Templates.2"
+ URI "QtQuick.Templates"
+ VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ CLASSNAME QtQuickTemplates2Plugin
+ DEPENDENCIES
+ QtQuick.Window/2.2
+ SKIP_TYPE_REGISTRATION
+ SOURCES
+ qtquicktemplates2plugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+#### Keys ignored in scope 1:.:.:templates.pro:<TRUE>:
+# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
+# OTHER_FILES = "qmldir"
+# TARGETPATH = "QtQuick/Templates.2"
diff --git a/src/quickcontrols2/CMakeLists.txt b/src/quickcontrols2/CMakeLists.txt
new file mode 100644
index 00000000..ec954c32
--- /dev/null
+++ b/src/quickcontrols2/CMakeLists.txt
@@ -0,0 +1,52 @@
+# Generated from quickcontrols2.pro.
+
+#####################################################################
+## QuickControls2 Module:
+#####################################################################
+
+qt_add_module(QuickControls2
+ SOURCES
+ qquickanimatednode.cpp qquickanimatednode_p.h
+ qquickattachedobject.cpp qquickattachedobject_p.h
+ qquickchecklabel.cpp qquickchecklabel_p.h
+ qquickclippedtext.cpp qquickclippedtext_p.h
+ qquickcolor.cpp qquickcolor_p.h
+ qquickcolorimage.cpp qquickcolorimage_p.h
+ qquickiconimage.cpp qquickiconimage_p.h
+ qquickiconimage_p_p.h
+ qquickiconlabel.cpp qquickiconlabel_p.h
+ qquickiconlabel_p_p.h
+ qquickitemgroup.cpp qquickitemgroup_p.h
+ qquickmnemoniclabel.cpp qquickmnemoniclabel_p.h
+ qquickpaddedrectangle.cpp qquickpaddedrectangle_p.h
+ qquickplaceholdertext.cpp qquickplaceholdertext_p.h
+ qquickstyle.cpp qquickstyle.h qquickstyle_p.h
+ qquickstyleplugin.cpp qquickstyleplugin_p.h
+ qquickstyleselector.cpp qquickstyleselector_p.h
+ qquickstyleselector_p_p.h
+ qtquickcontrols2global.h qtquickcontrols2global_p.h
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Quick
+)
+
+#### Keys ignored in scope 1:.:.:quickcontrols2.pro:<TRUE>:
+# MODULE = "quickcontrols2"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(QuickControls2 CONDITION QT_FEATURE_quick_listview AND QT_FEATURE_quick_pathview
+ SOURCES
+ qquicktumblerview.cpp qquicktumblerview_p.h
+)
diff --git a/src/quickcontrols2/configure.cmake b/src/quickcontrols2/configure.cmake
new file mode 100644
index 00000000..768a7c8c
--- /dev/null
+++ b/src/quickcontrols2/configure.cmake
@@ -0,0 +1,43 @@
+
+
+#### Inputs
+
+
+
+#### Libraries
+
+
+
+#### Tests
+
+
+
+#### Features
+
+qt_feature("quickcontrols2_default" PRIVATE
+ LABEL "Default"
+)
+qt_feature("quickcontrols2_fusion" PRIVATE
+ SECTION "Quick Controls 2"
+ LABEL "Fusion"
+ PURPOSE "Provides the platform agnostic desktop-oriented Fusion style."
+ CONDITION QT_FEATURE_quickcontrols2_default
+)
+qt_feature("quickcontrols2_imagine" PRIVATE
+ SECTION "Quick Controls 2"
+ LABEL "Imagine"
+ PURPOSE "Provides a style based on configurable image assets."
+ CONDITION QT_FEATURE_quickcontrols2_default
+)
+qt_feature("quickcontrols2_material" PRIVATE
+ SECTION "Quick Controls 2"
+ LABEL "Material"
+ PURPOSE "Provides a style based on the Material Design guidelines."
+ CONDITION QT_FEATURE_quickcontrols2_default
+)
+qt_feature("quickcontrols2_universal" PRIVATE
+ SECTION "Quick Controls 2"
+ LABEL "Universal"
+ PURPOSE "Provides a style based on the Universal Design guidelines."
+ CONDITION QT_FEATURE_quickcontrols2_default
+)
diff --git a/src/quicktemplates2/CMakeLists.txt b/src/quicktemplates2/CMakeLists.txt
new file mode 100644
index 00000000..98e39274
--- /dev/null
+++ b/src/quicktemplates2/CMakeLists.txt
@@ -0,0 +1,147 @@
+# Generated from quicktemplates2.pro.
+
+#####################################################################
+## QuickTemplates2 Module:
+#####################################################################
+
+qt_add_module(QuickTemplates2
+ SOURCES
+ qquickabstractbutton.cpp qquickabstractbutton_p.h
+ qquickabstractbutton_p_p.h
+ qquickaction.cpp qquickaction_p.h
+ qquickactiongroup.cpp qquickactiongroup_p.h
+ qquickapplicationwindow.cpp qquickapplicationwindow_p.h
+ qquickbusyindicator.cpp qquickbusyindicator_p.h
+ qquickbutton.cpp qquickbutton_p.h
+ qquickbutton_p_p.h
+ qquickbuttongroup.cpp qquickbuttongroup_p.h
+ qquickcheckbox.cpp qquickcheckbox_p.h
+ qquickcheckdelegate.cpp qquickcheckdelegate_p.h
+ qquickcombobox.cpp qquickcombobox_p.h
+ qquickcontainer.cpp qquickcontainer_p.h
+ qquickcontainer_p_p.h
+ qquickcontentitem.cpp qquickcontentitem_p.h
+ qquickcontrol.cpp qquickcontrol_p.h
+ qquickcontrol_p_p.h
+ qquickdeferredexecute.cpp
+ qquickdeferredexecute_p_p.h
+ qquickdeferredpointer_p_p.h
+ qquickdelaybutton.cpp qquickdelaybutton_p.h
+ qquickdial.cpp qquickdial_p.h
+ qquickdialog.cpp qquickdialog_p.h
+ qquickdialog_p_p.h
+ qquickdialogbuttonbox.cpp qquickdialogbuttonbox_p.h
+ qquickdialogbuttonbox_p_p.h
+ qquickdrawer.cpp qquickdrawer_p.h
+ qquickdrawer_p_p.h
+ qquickframe.cpp qquickframe_p.h
+ qquickframe_p_p.h
+ qquickgroupbox.cpp qquickgroupbox_p.h
+ qquickicon.cpp qquickicon_p.h
+ qquickitemdelegate.cpp qquickitemdelegate_p.h
+ qquickitemdelegate_p_p.h
+ qquicklabel.cpp qquicklabel_p.h
+ qquicklabel_p_p.h
+ qquickmenu.cpp qquickmenu_p.h
+ qquickmenu_p_p.h
+ qquickmenubar.cpp qquickmenubar_p.h
+ qquickmenubar_p_p.h
+ qquickmenubaritem.cpp qquickmenubaritem_p.h
+ qquickmenubaritem_p_p.h
+ qquickmenuitem.cpp qquickmenuitem_p.h
+ qquickmenuitem_p_p.h
+ qquickmenuseparator.cpp qquickmenuseparator_p.h
+ qquickoverlay.cpp qquickoverlay_p.h
+ qquickoverlay_p_p.h
+ qquickpage.cpp qquickpage_p.h
+ qquickpage_p_p.h
+ qquickpageindicator.cpp qquickpageindicator_p.h
+ qquickpalette.cpp qquickpalette_p.h
+ qquickpaletteprovider.cpp qquickpaletteprovider_p.h
+ qquickpane.cpp qquickpane_p.h
+ qquickpane_p_p.h
+ qquickpopup.cpp qquickpopup_p.h
+ qquickpopup_p_p.h
+ qquickpopupanchors.cpp qquickpopupanchors_p.h
+ qquickpopupanchors_p_p.h
+ qquickpopupitem.cpp
+ qquickpopupitem_p_p.h
+ qquickpopuppositioner.cpp
+ qquickpopuppositioner_p_p.h
+ qquickpresshandler.cpp
+ qquickpresshandler_p_p.h
+ qquickprogressbar.cpp qquickprogressbar_p.h
+ qquickradiobutton.cpp qquickradiobutton_p.h
+ qquickradiodelegate.cpp qquickradiodelegate_p.h
+ qquickrangeslider.cpp qquickrangeslider_p.h
+ qquickroundbutton.cpp qquickroundbutton_p.h
+ qquickscrollbar.cpp qquickscrollbar_p.h
+ qquickscrollbar_p_p.h
+ qquickscrollindicator.cpp qquickscrollindicator_p.h
+ qquickscrollview.cpp qquickscrollview_p.h
+ qquickshortcutcontext.cpp
+ qquickshortcutcontext_p_p.h
+ qquickslider.cpp qquickslider_p.h
+ qquickspinbox.cpp qquickspinbox_p.h
+ qquicksplitview.cpp qquicksplitview_p.h
+ qquickstackelement.cpp
+ qquickstackelement_p_p.h
+ qquickstacktransition.cpp
+ qquickstacktransition_p_p.h
+ qquickstackview.cpp qquickstackview_p.cpp qquickstackview_p.h
+ qquickstackview_p_p.h
+ qquickswipe_p.h
+ qquickswipedelegate.cpp qquickswipedelegate_p.h
+ qquickswipedelegate_p_p.h
+ qquickswipeview.cpp qquickswipeview_p.h
+ qquickswitch.cpp qquickswitch_p.h
+ qquickswitchdelegate.cpp qquickswitchdelegate_p.h
+ qquicktabbar.cpp qquicktabbar_p.h
+ qquicktabbutton.cpp qquicktabbutton_p.h
+ qquicktextarea.cpp qquicktextarea_p.h
+ qquicktextarea_p_p.h
+ qquicktextfield.cpp qquicktextfield_p.h
+ qquicktextfield_p_p.h
+ qquicktheme.cpp qquicktheme_p.h
+ qquicktheme_p_p.h
+ qquicktoolbar.cpp qquicktoolbar_p.h
+ qquicktoolbutton.cpp qquicktoolbutton_p.h
+ qquicktoolseparator.cpp qquicktoolseparator_p.h
+ qquicktooltip.cpp qquicktooltip_p.h
+ qquickvelocitycalculator.cpp
+ qquickvelocitycalculator_p_p.h
+ qtquicktemplates2global_p.h
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Quick
+)
+
+#### Keys ignored in scope 1:.:.:quicktemplates2.pro:<TRUE>:
+# MODULE = "quicktemplates2"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(QuickTemplates2 CONDITION TARGET Qt::QmlModels
+ LIBRARIES
+ Qt::QmlModelsPrivate
+ PUBLIC_LIBRARIES
+ Qt::QmlModels
+)
+
+qt_extend_target(QuickTemplates2 CONDITION QT_FEATURE_quick_listview AND QT_FEATURE_quick_pathview
+ SOURCES
+ qquicktumbler.cpp qquicktumbler_p.h
+ qquicktumbler_p_p.h
+)
diff --git a/src/quicktemplates2/configure.cmake b/src/quicktemplates2/configure.cmake
new file mode 100644
index 00000000..6ccd920c
--- /dev/null
+++ b/src/quicktemplates2/configure.cmake
@@ -0,0 +1,26 @@
+
+
+#### Inputs
+
+
+
+#### Libraries
+
+
+
+#### Tests
+
+
+
+#### Features
+
+qt_feature("quicktemplates2_hover" PRIVATE
+ SECTION "Quick Templates 2"
+ LABEL "Hover support"
+ PURPOSE "Provides support for hover effects."
+)
+qt_feature("quicktemplates2_multitouch" PRIVATE
+ SECTION "Quick Templates 2"
+ LABEL "Multi-touch support"
+ PURPOSE "Provides support for multi-touch."
+)
diff --git a/tests/.prev_CMakeLists.txt b/tests/.prev_CMakeLists.txt
new file mode 100644
index 00000000..a639d2f1
--- /dev/null
+++ b/tests/.prev_CMakeLists.txt
@@ -0,0 +1,11 @@
+# Generated from tests.pro.
+
+if(NOT TARGET Qt::Test)
+ cmake_minimum_required(VERSION 3.15.0)
+ project(QtQuickControls2Tests VERSION 6.0.0 LANGUAGES C CXX)
+ find_package(Qt6 ${PROJECT_VERSION} REQUIRED COMPONENTS BuildInternals Core SET_ME_TO_SOMETHING_USEFUL)
+ find_package(Qt6 ${PROJECT_VERSION} OPTIONAL_COMPONENTS SET_ME_TO_SOMETHING_USEFUL)
+ qt_set_up_standalone_tests_build()
+endif()
+qt_build_tests()
+
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
new file mode 100644
index 00000000..d21be56a
--- /dev/null
+++ b/tests/CMakeLists.txt
@@ -0,0 +1,13 @@
+# Generated from tests.pro.
+
+if(NOT TARGET Qt::Test)
+ cmake_minimum_required(VERSION 3.15.0)
+ project(QtQuickControls2Tests VERSION 6.0.0 LANGUAGES C CXX)
+ find_package(Qt6 ${PROJECT_VERSION} REQUIRED COMPONENTS
+ BuildInternals Core Qml Quick QmlDevTools QmlDebug QuickTest # special case
+ QuickControls2 QuickTemplates2 # special case
+ )
+ qt_set_up_standalone_tests_build()
+endif()
+qt_build_tests()
+
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
new file mode 100644
index 00000000..af891b6f
--- /dev/null
+++ b/tests/auto/CMakeLists.txt
@@ -0,0 +1,32 @@
+# Generated from auto.pro.
+
+add_subdirectory(accessibility)
+add_subdirectory(calendar)
+add_subdirectory(controls)
+add_subdirectory(cursor)
+add_subdirectory(customization)
+add_subdirectory(designer)
+add_subdirectory(focus)
+add_subdirectory(font)
+add_subdirectory(palette)
+add_subdirectory(platform)
+add_subdirectory(pressandhold)
+add_subdirectory(qquickapplicationwindow)
+add_subdirectory(qquickcolor)
+add_subdirectory(qquickdrawer)
+add_subdirectory(qquickiconimage)
+add_subdirectory(qquickiconlabel)
+add_subdirectory(qquickimaginestyle)
+add_subdirectory(qquickmaterialstyle)
+add_subdirectory(qquickmaterialstyleconf)
+add_subdirectory(qquickmenu)
+add_subdirectory(qquickmenubar)
+add_subdirectory(qquickninepatchimage)
+add_subdirectory(qquickpopup)
+add_subdirectory(qquickstyle)
+add_subdirectory(qquickstyleselector)
+add_subdirectory(qquickuniversalstyle)
+add_subdirectory(qquickuniversalstyleconf)
+add_subdirectory(revisions)
+add_subdirectory(sanity)
+add_subdirectory(snippets)
diff --git a/tests/auto/accessibility/CMakeLists.txt b/tests/auto/accessibility/CMakeLists.txt
new file mode 100644
index 00000000..5d239ddc
--- /dev/null
+++ b/tests/auto/accessibility/CMakeLists.txt
@@ -0,0 +1,51 @@
+# Generated from accessibility.pro.
+
+#####################################################################
+## tst_accessibility Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_accessibility
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_accessibility.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:accessibility.pro:<TRUE>:
+# OTHER_FILES = "data/*.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_accessibility CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_accessibility CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/calendar/CMakeLists.txt b/tests/auto/calendar/CMakeLists.txt
new file mode 100644
index 00000000..34937d14
--- /dev/null
+++ b/tests/auto/calendar/CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from calendar.pro.
+
+#####################################################################
+## tst_calendar Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/data/tst_*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_calendar
+ GUI
+ QMLTEST
+ SOURCES
+ tst_calendar.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:calendar.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/data/*.qml"
+# TEMPLATE = "app"
diff --git a/tests/auto/controls/CMakeLists.txt b/tests/auto/controls/CMakeLists.txt
new file mode 100644
index 00000000..57cb9480
--- /dev/null
+++ b/tests/auto/controls/CMakeLists.txt
@@ -0,0 +1,7 @@
+# Generated from controls.pro.
+
+add_subdirectory(default)
+add_subdirectory(fusion)
+add_subdirectory(imagine)
+add_subdirectory(material)
+add_subdirectory(universal)
diff --git a/tests/auto/controls/default/CMakeLists.txt b/tests/auto/controls/default/CMakeLists.txt
new file mode 100644
index 00000000..9a4f6cbd
--- /dev/null
+++ b/tests/auto/controls/default/CMakeLists.txt
@@ -0,0 +1,27 @@
+# Generated from default.pro.
+
+#####################################################################
+## tst_default Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../data/tst_*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_default
+ GUI
+ QMLTEST
+ SOURCES
+ tst_default.cpp
+ DEFINES
+ TST_CONTROLS_DATA=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../tests/auto/controls/data\\\"
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:default.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/../data/*.qml"
+# TEMPLATE = "app"
diff --git a/tests/auto/controls/fusion/CMakeLists.txt b/tests/auto/controls/fusion/CMakeLists.txt
new file mode 100644
index 00000000..fd348526
--- /dev/null
+++ b/tests/auto/controls/fusion/CMakeLists.txt
@@ -0,0 +1,28 @@
+# Generated from fusion.pro.
+
+#####################################################################
+## tst_fusion Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../data/tst_*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_fusion
+ GUI
+ QMLTEST
+ SOURCES
+ tst_fusion.cpp
+ DEFINES
+ TST_CONTROLS_DATA=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../tests/auto/controls/data\\\"
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QuickControls2
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:fusion.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/../data/*.qml"
+# TEMPLATE = "app"
diff --git a/tests/auto/controls/imagine/CMakeLists.txt b/tests/auto/controls/imagine/CMakeLists.txt
new file mode 100644
index 00000000..9d7f2e3a
--- /dev/null
+++ b/tests/auto/controls/imagine/CMakeLists.txt
@@ -0,0 +1,28 @@
+# Generated from imagine.pro.
+
+#####################################################################
+## tst_imagine Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../data/tst_*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_imagine
+ GUI
+ QMLTEST
+ SOURCES
+ tst_imagine.cpp
+ DEFINES
+ TST_CONTROLS_DATA=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../tests/auto/controls/data\\\"
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QuickControls2
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:imagine.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/../data/*.qml"
+# TEMPLATE = "app"
diff --git a/tests/auto/controls/material/CMakeLists.txt b/tests/auto/controls/material/CMakeLists.txt
new file mode 100644
index 00000000..04c2655a
--- /dev/null
+++ b/tests/auto/controls/material/CMakeLists.txt
@@ -0,0 +1,28 @@
+# Generated from material.pro.
+
+#####################################################################
+## tst_material Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../data/tst_*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_material
+ GUI
+ QMLTEST
+ SOURCES
+ tst_material.cpp
+ DEFINES
+ TST_CONTROLS_DATA=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../tests/auto/controls/data\\\"
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QuickControls2
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:material.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/../data/*.qml"
+# TEMPLATE = "app"
diff --git a/tests/auto/controls/universal/CMakeLists.txt b/tests/auto/controls/universal/CMakeLists.txt
new file mode 100644
index 00000000..e5576020
--- /dev/null
+++ b/tests/auto/controls/universal/CMakeLists.txt
@@ -0,0 +1,28 @@
+# Generated from universal.pro.
+
+#####################################################################
+## tst_universal Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../data/tst_*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_universal
+ GUI
+ QMLTEST
+ SOURCES
+ tst_universal.cpp
+ DEFINES
+ TST_CONTROLS_DATA=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../tests/auto/controls/data\\\"
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::QuickControls2
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:universal.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/../data/*.qml"
+# TEMPLATE = "app"
diff --git a/tests/auto/cursor/CMakeLists.txt b/tests/auto/cursor/CMakeLists.txt
new file mode 100644
index 00000000..9d58b48e
--- /dev/null
+++ b/tests/auto/cursor/CMakeLists.txt
@@ -0,0 +1,51 @@
+# Generated from cursor.pro.
+
+#####################################################################
+## tst_cursor Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_cursor
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_cursor.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:cursor.pro:<TRUE>:
+# OTHER_FILES = "data/*.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_cursor CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_cursor CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/customization/CMakeLists.txt b/tests/auto/customization/CMakeLists.txt
new file mode 100644
index 00000000..2e25d8a4
--- /dev/null
+++ b/tests/auto/customization/CMakeLists.txt
@@ -0,0 +1,48 @@
+# Generated from customization.pro.
+
+#####################################################################
+## tst_customization Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_customization
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_customization.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_customization CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_customization CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/designer/CMakeLists.txt b/tests/auto/designer/CMakeLists.txt
new file mode 100644
index 00000000..5731e570
--- /dev/null
+++ b/tests/auto/designer/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from designer.pro.
+
+#####################################################################
+## tst_designer Test:
+#####################################################################
+
+qt_add_test(tst_designer
+ SOURCES
+ tst_designer.cpp
+ LIBRARIES
+ Qt::QuickPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Quick
+ Qt::QuickControls2
+)
+
+#### Keys ignored in scope 1:.:.:designer.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/focus/CMakeLists.txt b/tests/auto/focus/CMakeLists.txt
new file mode 100644
index 00000000..be2a3016
--- /dev/null
+++ b/tests/auto/focus/CMakeLists.txt
@@ -0,0 +1,48 @@
+# Generated from focus.pro.
+
+#####################################################################
+## tst_focus Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_focus
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_focus.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_focus CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_focus CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/font/CMakeLists.txt b/tests/auto/font/CMakeLists.txt
new file mode 100644
index 00000000..daeb391f
--- /dev/null
+++ b/tests/auto/font/CMakeLists.txt
@@ -0,0 +1,52 @@
+# Generated from font.pro.
+
+#####################################################################
+## tst_font Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_font
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_font.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:font.pro:<TRUE>:
+# OTHER_FILES = "data/*.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_font CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_font CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/palette/CMakeLists.txt b/tests/auto/palette/CMakeLists.txt
new file mode 100644
index 00000000..6675af36
--- /dev/null
+++ b/tests/auto/palette/CMakeLists.txt
@@ -0,0 +1,65 @@
+# Generated from palette.pro.
+
+#####################################################################
+## tst_palette Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_palette
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_palette.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(qmake_immediate_resource_files
+ "qtquickcontrols2.conf"
+)
+
+qt_add_resource(tst_palette "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:palette.pro:<TRUE>:
+# OTHER_FILES = "data/*.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_palette CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_palette CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/platform/CMakeLists.txt b/tests/auto/platform/CMakeLists.txt
new file mode 100644
index 00000000..ec4e54ee
--- /dev/null
+++ b/tests/auto/platform/CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from platform.pro.
+
+#####################################################################
+## tst_platform Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/data/tst_*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_platform
+ GUI
+ QMLTEST
+ SOURCES
+ tst_platform.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:platform.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/data/*.qml"
+# TEMPLATE = "app"
diff --git a/tests/auto/pressandhold/CMakeLists.txt b/tests/auto/pressandhold/CMakeLists.txt
new file mode 100644
index 00000000..a5c1b845
--- /dev/null
+++ b/tests/auto/pressandhold/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from pressandhold.pro.
+
+#####################################################################
+## tst_pressandhold Test:
+#####################################################################
+
+qt_add_test(tst_pressandhold
+ SOURCES
+ tst_pressandhold.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Quick
+)
+
+#### Keys ignored in scope 1:.:.:pressandhold.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qquickapplicationwindow/CMakeLists.txt b/tests/auto/qquickapplicationwindow/CMakeLists.txt
new file mode 100644
index 00000000..26aa0331
--- /dev/null
+++ b/tests/auto/qquickapplicationwindow/CMakeLists.txt
@@ -0,0 +1,52 @@
+# Generated from qquickapplicationwindow.pro.
+
+#####################################################################
+## tst_qquickapplicationwindow Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickapplicationwindow
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickapplicationwindow.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickapplicationwindow.pro:<TRUE>:
+# OTHER_FILES = "data/*.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickapplicationwindow CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickapplicationwindow CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qquickcolor/CMakeLists.txt b/tests/auto/qquickcolor/CMakeLists.txt
new file mode 100644
index 00000000..bf660d10
--- /dev/null
+++ b/tests/auto/qquickcolor/CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from qquickcolor.pro.
+
+#####################################################################
+## tst_qquickcolor Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/data/tst_*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickcolor
+ GUI
+ QMLTEST
+ SOURCES
+ tst_qquickcolor.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickcolor.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/data/*.qml"
+# TEMPLATE = "app"
diff --git a/tests/auto/qquickdrawer/CMakeLists.txt b/tests/auto/qquickdrawer/CMakeLists.txt
new file mode 100644
index 00000000..db35045a
--- /dev/null
+++ b/tests/auto/qquickdrawer/CMakeLists.txt
@@ -0,0 +1,51 @@
+# Generated from qquickdrawer.pro.
+
+#####################################################################
+## tst_qquickdrawer Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickdrawer
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickdrawer.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickdrawer.pro:<TRUE>:
+# OTHER_FILES = "data/*.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickdrawer CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickdrawer CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qquickiconimage/CMakeLists.txt b/tests/auto/qquickiconimage/CMakeLists.txt
new file mode 100644
index 00000000..c2628782
--- /dev/null
+++ b/tests/auto/qquickiconimage/CMakeLists.txt
@@ -0,0 +1,83 @@
+# Generated from qquickiconimage.pro.
+
+#####################################################################
+## tst_qquickiconimage Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/data/*.qml)
+list(APPEND test_data ${test_data_glob})
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/data/icons/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickiconimage
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickiconimage.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(resources_resource_files
+ "icons/testtheme/16x16/actions/appointment-new.png"
+ "icons/testtheme/22x22/actions/+testselector/appointment-new.png"
+ "icons/testtheme/22x22/actions/+testselector/appointment-new@2x.png"
+ "icons/testtheme/22x22/actions/appointment-new.png"
+ "icons/testtheme/22x22/actions/appointment-new@2x.png"
+ "icons/testtheme/22x22/actions/color-test-original.png"
+ "icons/testtheme/22x22/actions/color-test-original@2x.png"
+ "icons/testtheme/22x22/actions/color-test-tinted.png"
+ "icons/testtheme/22x22/actions/color-test-tinted@2x.png"
+ "icons/testtheme/22x22@2/actions/+testselector/appointment-new.png"
+ "icons/testtheme/22x22@2/actions/appointment-new.png"
+ "icons/testtheme/appointment-new.svg"
+ "icons/testtheme/index.theme"
+)
+
+qt_add_resource(tst_qquickiconimage "resources"
+ PREFIX
+ "/"
+ FILES
+ ${resources_resource_files}
+)
+
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickiconimage CONDITION TARGET Qt::Svg
+ PUBLIC_LIBRARIES
+ Qt::Svg
+)
+
+qt_extend_target(tst_qquickiconimage CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickiconimage CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qquickiconlabel/CMakeLists.txt b/tests/auto/qquickiconlabel/CMakeLists.txt
new file mode 100644
index 00000000..fc3de622
--- /dev/null
+++ b/tests/auto/qquickiconlabel/CMakeLists.txt
@@ -0,0 +1,49 @@
+# Generated from qquickiconlabel.pro.
+
+#####################################################################
+## tst_qquickiconlabel Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/data/*.qml)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickiconlabel
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickiconlabel.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickiconlabel CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickiconlabel CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qquickimaginestyle/CMakeLists.txt b/tests/auto/qquickimaginestyle/CMakeLists.txt
new file mode 100644
index 00000000..5ab0176c
--- /dev/null
+++ b/tests/auto/qquickimaginestyle/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from qquickimaginestyle.pro.
+
+#####################################################################
+## tst_qquickimaginestyle Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/data/tst_*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickimaginestyle
+ GUI
+ QMLTEST
+ SOURCES
+ tst_qquickimaginestyle.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(qmake_immediate_resource_files
+ "control-assets/button-background.9.png"
+ "qtquickcontrols2.conf"
+)
+
+qt_add_resource(tst_qquickimaginestyle "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:qquickimaginestyle.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/data/*.qml"
+# TEMPLATE = "app"
diff --git a/tests/auto/qquickmaterialstyle/CMakeLists.txt b/tests/auto/qquickmaterialstyle/CMakeLists.txt
new file mode 100644
index 00000000..cf43db51
--- /dev/null
+++ b/tests/auto/qquickmaterialstyle/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from qquickmaterialstyle.pro.
+
+#####################################################################
+## tst_qquickmaterialstyle Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/data/tst_*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickmaterialstyle
+ GUI
+ QMLTEST
+ SOURCES
+ tst_qquickmaterialstyle.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(qmake_immediate_resource_files
+ "qtquickcontrols2.conf"
+)
+
+qt_add_resource(tst_qquickmaterialstyle "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:qquickmaterialstyle.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/data/*.qml"
+# TEMPLATE = "app"
diff --git a/tests/auto/qquickmaterialstyleconf/CMakeLists.txt b/tests/auto/qquickmaterialstyleconf/CMakeLists.txt
new file mode 100644
index 00000000..054b0cc3
--- /dev/null
+++ b/tests/auto/qquickmaterialstyleconf/CMakeLists.txt
@@ -0,0 +1,67 @@
+# Generated from qquickmaterialstyleconf.pro.
+
+#####################################################################
+## tst_qquickmaterialstyleconf Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickmaterialstyleconf
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickmaterialstyleconf.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(qquickmaterialstyleconf_resource_files
+ "qtquickcontrols2.conf"
+ "variant-dense.conf"
+ "variant-normal.conf"
+)
+
+qt_add_resource(tst_qquickmaterialstyleconf "qquickmaterialstyleconf"
+ PREFIX
+ "/"
+ FILES
+ ${qquickmaterialstyleconf_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:qquickmaterialstyleconf.pro:<TRUE>:
+# OTHER_FILES = "data/*.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickmaterialstyleconf CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickmaterialstyleconf CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qquickmenu/CMakeLists.txt b/tests/auto/qquickmenu/CMakeLists.txt
new file mode 100644
index 00000000..4152869c
--- /dev/null
+++ b/tests/auto/qquickmenu/CMakeLists.txt
@@ -0,0 +1,51 @@
+# Generated from qquickmenu.pro.
+
+#####################################################################
+## tst_qquickmenu Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickmenu
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickmenu.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickmenu.pro:<TRUE>:
+# OTHER_FILES = "data/*.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickmenu CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickmenu CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qquickmenubar/CMakeLists.txt b/tests/auto/qquickmenubar/CMakeLists.txt
new file mode 100644
index 00000000..c066ef01
--- /dev/null
+++ b/tests/auto/qquickmenubar/CMakeLists.txt
@@ -0,0 +1,51 @@
+# Generated from qquickmenubar.pro.
+
+#####################################################################
+## tst_qquickmenubar Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickmenubar
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickmenubar.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickmenubar.pro:<TRUE>:
+# OTHER_FILES = "data/*.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickmenubar CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickmenubar CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qquickninepatchimage/CMakeLists.txt b/tests/auto/qquickninepatchimage/CMakeLists.txt
new file mode 100644
index 00000000..dc8e0a5b
--- /dev/null
+++ b/tests/auto/qquickninepatchimage/CMakeLists.txt
@@ -0,0 +1,53 @@
+# Generated from qquickninepatchimage.pro.
+
+#####################################################################
+## tst_qquickninepatchimage Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/data/*.qml)
+list(APPEND test_data ${test_data_glob})
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/data/*.png)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickninepatchimage
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickninepatchimage.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+ TESTDATA ${test_data}
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickninepatchimage CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickninepatchimage CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qquickpopup/CMakeLists.txt b/tests/auto/qquickpopup/CMakeLists.txt
new file mode 100644
index 00000000..7df9ac8a
--- /dev/null
+++ b/tests/auto/qquickpopup/CMakeLists.txt
@@ -0,0 +1,51 @@
+# Generated from qquickpopup.pro.
+
+#####################################################################
+## tst_qquickpopup Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickpopup
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickpopup.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:qquickpopup.pro:<TRUE>:
+# OTHER_FILES = "data/*.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickpopup CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickpopup CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qquickstyle/CMakeLists.txt b/tests/auto/qquickstyle/CMakeLists.txt
new file mode 100644
index 00000000..ea824969
--- /dev/null
+++ b/tests/auto/qquickstyle/CMakeLists.txt
@@ -0,0 +1,112 @@
+# Generated from qquickstyle.pro.
+
+#####################################################################
+## tst_qquickstyle Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickstyle
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickstyle.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+ TESTDATA ${test_data}
+)
+
+file(GLOB resource_glob_0 RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "qrcStyles1/QrcStyle1/*.qml")
+foreach(file IN LISTS resource_glob_0)
+ set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/${file}" PROPERTIES QT_RESOURCE_ALIAS "${file}")
+endforeach()
+
+file(GLOB resource_glob_1 RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "qrcStyles2/QrcStyle2/*.qml")
+foreach(file IN LISTS resource_glob_1)
+ set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/${file}" PROPERTIES QT_RESOURCE_ALIAS "${file}")
+endforeach()
+
+file(GLOB resource_glob_2 RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "qrcStyles3/QrcStyle3/*.qml")
+foreach(file IN LISTS resource_glob_2)
+ set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/${file}" PROPERTIES QT_RESOURCE_ALIAS "${file}")
+endforeach()
+
+file(GLOB resource_glob_3 RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "qrcStyles4/QrcStyle4/*.qml")
+foreach(file IN LISTS resource_glob_3)
+ set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/${file}" PROPERTIES QT_RESOURCE_ALIAS "${file}")
+endforeach()
+
+# Resources:
+set(qmake_qrcStyles1_resource_files
+ ${resource_glob_0}
+)
+
+qt_add_resource(tst_qquickstyle "qmake_qrcStyles1"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_qrcStyles1_resource_files}
+)
+set(qmake_qrcStyles2_resource_files
+ ${resource_glob_1}
+)
+
+qt_add_resource(tst_qquickstyle "qmake_qrcStyles2"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_qrcStyles2_resource_files}
+)
+set(qmake_qrcStyles3_resource_files
+ ${resource_glob_2}
+)
+
+qt_add_resource(tst_qquickstyle "qmake_qrcStyles3"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_qrcStyles3_resource_files}
+)
+set(qmake_qrcStyles4_resource_files
+ ${resource_glob_3}
+)
+
+qt_add_resource(tst_qquickstyle "qmake_qrcStyles4"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_qrcStyles4_resource_files}
+)
+
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickstyle CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickstyle CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qquickstyleselector/CMakeLists.txt b/tests/auto/qquickstyleselector/CMakeLists.txt
new file mode 100644
index 00000000..b9d8d671
--- /dev/null
+++ b/tests/auto/qquickstyleselector/CMakeLists.txt
@@ -0,0 +1,65 @@
+# Generated from qquickstyleselector.pro.
+
+#####################################################################
+## tst_qquickstyleselector Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickstyleselector
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickstyleselector.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(qmake_resourcestyle_resource_files
+ "ResourceStyle/Button.qml"
+)
+
+qt_add_resource(tst_qquickstyleselector "qmake_resourcestyle"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_resourcestyle_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:qquickstyleselector.pro:<TRUE>:
+# OTHER_FILES = "data/*.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickstyleselector CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickstyleselector CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/qquickuniversalstyle/CMakeLists.txt b/tests/auto/qquickuniversalstyle/CMakeLists.txt
new file mode 100644
index 00000000..99816bef
--- /dev/null
+++ b/tests/auto/qquickuniversalstyle/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from qquickuniversalstyle.pro.
+
+#####################################################################
+## tst_qquickuniversalstyle Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/data/tst_*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickuniversalstyle
+ GUI
+ QMLTEST
+ SOURCES
+ tst_qquickuniversalstyle.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(qmake_immediate_resource_files
+ "qtquickcontrols2.conf"
+)
+
+qt_add_resource(tst_qquickuniversalstyle "qmake_immediate"
+ PREFIX
+ "/"
+ FILES
+ ${qmake_immediate_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:qquickuniversalstyle.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/data/*.qml"
+# TEMPLATE = "app"
diff --git a/tests/auto/qquickuniversalstyleconf/CMakeLists.txt b/tests/auto/qquickuniversalstyleconf/CMakeLists.txt
new file mode 100644
index 00000000..361e690f
--- /dev/null
+++ b/tests/auto/qquickuniversalstyleconf/CMakeLists.txt
@@ -0,0 +1,65 @@
+# Generated from qquickuniversalstyleconf.pro.
+
+#####################################################################
+## tst_qquickuniversalstyleconf Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qquickuniversalstyleconf
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_qquickuniversalstyleconf.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+ TESTDATA ${test_data}
+)
+
+# Resources:
+set(qquickuniversalstyleconf_resource_files
+ "qtquickcontrols2.conf"
+)
+
+qt_add_resource(tst_qquickuniversalstyleconf "qquickuniversalstyleconf"
+ PREFIX
+ "/"
+ FILES
+ ${qquickuniversalstyleconf_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:qquickuniversalstyleconf.pro:<TRUE>:
+# OTHER_FILES = "data/*.qml"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qquickuniversalstyleconf CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_qquickuniversalstyleconf CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/revisions/CMakeLists.txt b/tests/auto/revisions/CMakeLists.txt
new file mode 100644
index 00000000..be0754fc
--- /dev/null
+++ b/tests/auto/revisions/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from revisions.pro.
+
+#####################################################################
+## tst_revisions Test:
+#####################################################################
+
+qt_add_test(tst_revisions
+ SOURCES
+ tst_revisions.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/sanity/CMakeLists.txt b/tests/auto/sanity/CMakeLists.txt
new file mode 100644
index 00000000..f4f6fcdc
--- /dev/null
+++ b/tests/auto/sanity/CMakeLists.txt
@@ -0,0 +1,45 @@
+# Generated from sanity.pro.
+
+#####################################################################
+## tst_sanity Test:
+#####################################################################
+
+qt_add_test(tst_sanity
+ SOURCES
+ ../shared/qtest_quickcontrols.h
+ ../shared/util.cpp ../shared/util.h
+ ../shared/visualtestutil.cpp ../shared/visualtestutil.h
+ tst_sanity.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+)
+
+#### Keys ignored in scope 1:.:.:sanity.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/BLACKLIST"
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_sanity CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_sanity CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/auto/snippets/CMakeLists.txt b/tests/auto/snippets/CMakeLists.txt
new file mode 100644
index 00000000..f5d60a40
--- /dev/null
+++ b/tests/auto/snippets/CMakeLists.txt
@@ -0,0 +1,30 @@
+# Generated from snippets.pro.
+
+#####################################################################
+## tst_snippets Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_snippets
+ SOURCES
+ tst_snippets.cpp
+ DEFINES
+ QQC2_SNIPPETS_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports/controls/doc/snippets\\\"
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Quick
+ Qt::QuickControls2
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:snippets.pro:<TRUE>:
+# OTHER_FILES = "$$PWD/data/*.qml"
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
diff --git a/tests/benchmarks/CMakeLists.txt b/tests/benchmarks/CMakeLists.txt
new file mode 100644
index 00000000..3f2bf2f9
--- /dev/null
+++ b/tests/benchmarks/CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from benchmarks.pro.
+
+add_subdirectory(creationtime)
+add_subdirectory(objectcount)
diff --git a/tests/benchmarks/creationtime/CMakeLists.txt b/tests/benchmarks/creationtime/CMakeLists.txt
new file mode 100644
index 00000000..312c3970
--- /dev/null
+++ b/tests/benchmarks/creationtime/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from creationtime.pro.
+
+#####################################################################
+## tst_creationtime Test:
+#####################################################################
+
+qt_add_test(tst_creationtime
+ SOURCES
+ ../../auto/shared/qtest_quickcontrols.h
+ ../../auto/shared/util.cpp ../../auto/shared/util.h
+ ../../auto/shared/visualtestutil.cpp ../../auto/shared/visualtestutil.h
+ tst_creationtime.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+)
+
+#### Keys ignored in scope 1:.:.:creationtime.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_creationtime CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_creationtime CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)
diff --git a/tests/benchmarks/objectcount/CMakeLists.txt b/tests/benchmarks/objectcount/CMakeLists.txt
new file mode 100644
index 00000000..1f284128
--- /dev/null
+++ b/tests/benchmarks/objectcount/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from objectcount.pro.
+
+#####################################################################
+## tst_objectcount Test:
+#####################################################################
+
+qt_add_test(tst_objectcount
+ SOURCES
+ ../../auto/shared/qtest_quickcontrols.h
+ ../../auto/shared/util.cpp ../../auto/shared/util.h
+ ../../auto/shared/visualtestutil.cpp ../../auto/shared/visualtestutil.h
+ tst_objectcount.cpp
+ DEFINES
+ QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../src/imports\\\"
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ Qt::TestPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+ Qt::QuickControls2
+ Qt::QuickTemplates2
+)
+
+#### Keys ignored in scope 1:.:.:objectcount.pro:<TRUE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_objectcount CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+qt_extend_target(tst_objectcount CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)