aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2020-08-11 11:57:24 +0200
committerMitch Curtis <mitch.curtis@qt.io>2020-08-26 11:46:11 +0200
commit80c5d0841e6f7c0c9aedfdc01b5d060ab2f66b7d (patch)
tree8de7772b63706db7408debf30c4e3f5ab9425b31 /src/imports
parentb47e26d29db05ecf87f74815e37e0bf7394d06ba (diff)
Fix CMake build
Task-number: QTBUG-82922 Change-Id: I75f4a553a6bb260f77bfa791f12fa42e80131e09 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/.prev_CMakeLists.txt8
-rw-r--r--src/imports/CMakeLists.txt7
-rw-r--r--src/imports/controls/.prev_CMakeLists.txt115
-rw-r--r--src/imports/controls/CMakeLists.txt283
-rw-r--r--src/imports/controls/default/.prev_CMakeLists.txt308
-rw-r--r--src/imports/controls/default/CMakeLists.txt308
-rw-r--r--src/imports/controls/default/impl/CMakeLists.txt44
-rw-r--r--src/imports/controls/fusion/.prev_CMakeLists.txt172
-rw-r--r--src/imports/controls/fusion/CMakeLists.txt135
-rw-r--r--src/imports/controls/fusion/impl/CMakeLists.txt73
-rw-r--r--src/imports/controls/imagine/.prev_CMakeLists.txt119
-rw-r--r--src/imports/controls/imagine/CMakeLists.txt119
-rw-r--r--src/imports/controls/imagine/impl/CMakeLists.txt67
-rw-r--r--src/imports/controls/material/.prev_CMakeLists.txt181
-rw-r--r--src/imports/controls/material/CMakeLists.txt148
-rw-r--r--src/imports/controls/material/impl/CMakeLists.txt81
-rw-r--r--src/imports/controls/universal/.prev_CMakeLists.txt173
-rw-r--r--src/imports/controls/universal/CMakeLists.txt126
-rw-r--r--src/imports/controls/universal/impl/CMakeLists.txt61
-rw-r--r--src/imports/controlsimpl/.prev_CMakeLists.txt37
-rw-r--r--src/imports/controlsimpl/CMakeLists.txt37
-rw-r--r--src/imports/platform/CMakeLists.txt4
-rw-r--r--src/imports/templates/.prev_CMakeLists.txt35
-rw-r--r--src/imports/templates/CMakeLists.txt5
24 files changed, 1833 insertions, 813 deletions
diff --git a/src/imports/.prev_CMakeLists.txt b/src/imports/.prev_CMakeLists.txt
index 9bec7cd4..473471c2 100644
--- a/src/imports/.prev_CMakeLists.txt
+++ b/src/imports/.prev_CMakeLists.txt
@@ -1,10 +1,16 @@
# Generated from imports.pro.
add_subdirectory(controls)
-add_subdirectory(calendar)
+add_subdirectory(controlsimpl)
add_subdirectory(platform)
add_subdirectory(templates)
+add_subdirectory(controls/default)
+add_subdirectory(controls/default/impl)
add_subdirectory(controls/fusion)
+add_subdirectory(controls/fusion/impl)
add_subdirectory(controls/imagine)
+add_subdirectory(controls/imagine/impl)
add_subdirectory(controls/material)
+add_subdirectory(controls/material/impl)
add_subdirectory(controls/universal)
+add_subdirectory(controls/universal/impl)
diff --git a/src/imports/CMakeLists.txt b/src/imports/CMakeLists.txt
index 46b803f7..473471c2 100644
--- a/src/imports/CMakeLists.txt
+++ b/src/imports/CMakeLists.txt
@@ -1,9 +1,16 @@
# Generated from imports.pro.
add_subdirectory(controls)
+add_subdirectory(controlsimpl)
add_subdirectory(platform)
add_subdirectory(templates)
+add_subdirectory(controls/default)
+add_subdirectory(controls/default/impl)
add_subdirectory(controls/fusion)
+add_subdirectory(controls/fusion/impl)
add_subdirectory(controls/imagine)
+add_subdirectory(controls/imagine/impl)
add_subdirectory(controls/material)
+add_subdirectory(controls/material/impl)
add_subdirectory(controls/universal)
+add_subdirectory(controls/universal/impl)
diff --git a/src/imports/controls/.prev_CMakeLists.txt b/src/imports/controls/.prev_CMakeLists.txt
index a8f8da6b..ca2ddb43 100644
--- a/src/imports/controls/.prev_CMakeLists.txt
+++ b/src/imports/controls/.prev_CMakeLists.txt
@@ -4,21 +4,17 @@
## qtquickcontrols2plugin Plugin:
#####################################################################
-add_qml_module(qtquickcontrols2plugin
- TARGET_PATH "QtQuick/Controls"
+qt_add_qml_module(qtquickcontrols2plugin
URI "QtQuick.Controls"
- VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ VERSION "${CMAKE_PROJECT_VERSION}"
DESIGNER_SUPPORTED
CLASSNAME QtQuickControls2Plugin
DEPENDENCIES
QtQuick.Templates/2.5
SKIP_TYPE_REGISTRATION
+ IMPORTS
+ QtQuick.Controls.impl/auto
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
@@ -27,6 +23,7 @@ add_qml_module(qtquickcontrols2plugin
Qt::CorePrivate
Qt::GuiPrivate
Qt::QmlPrivate
+ Qt::QuickControls2ImplPrivate
Qt::QuickControls2Private
Qt::QuickPrivate
Qt::QuickTemplates2Private
@@ -37,110 +34,14 @@ add_qml_module(qtquickcontrols2plugin
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"
- 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"
+# OTHER_FILES = "qmldir" "$$PWD/snippets/*.qml" "$$PWD/src/*.qdoc" "$$PWD/src/templates/*.qdoc"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
# TARGETPATH = "QtQuick/Controls"
-# _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
+qt_add_docs(qtquickcontrols2plugin
doc/qtquickcontrols.qdocconf
)
diff --git a/src/imports/controls/CMakeLists.txt b/src/imports/controls/CMakeLists.txt
index 567de0fd..4e48373e 100644
--- a/src/imports/controls/CMakeLists.txt
+++ b/src/imports/controls/CMakeLists.txt
@@ -7,18 +7,15 @@
qt_add_qml_module(qtquickcontrols2plugin
TARGET_PATH "QtQuick/Controls"
URI "QtQuick.Controls"
- VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ VERSION "6.0" # special case
DESIGNER_SUPPORTED
CLASSNAME QtQuickControls2Plugin
DEPENDENCIES
QtQuick.Templates/2.5
SKIP_TYPE_REGISTRATION
+ IMPORTS
+ QtQuick.Controls.impl/auto
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
@@ -27,6 +24,7 @@ qt_add_qml_module(qtquickcontrols2plugin
Qt::CorePrivate
Qt::GuiPrivate
Qt::QmlPrivate
+ Qt::QuickControls2ImplPrivate
Qt::QuickControls2Private
Qt::QuickPrivate
Qt::QuickTemplates2Private
@@ -37,282 +35,13 @@ qt_add_qml_module(qtquickcontrols2plugin
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"
- 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/templates/*.qdoc"
+# OTHER_FILES = "qmldir" "$$PWD/snippets/*.qml" "$$PWD/src/*.qdoc" "$$PWD/src/templates/*.qdoc"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
# TARGETPATH = "QtQuick/Controls"
-# _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"
- "HorizontalHeaderView.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"
- "VerticalHeaderView.qml"
-)
-set_source_files_properties(AbstractButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(Action.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(ActionGroup.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(ApplicationWindow.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(BusyIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(Button.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(ButtonGroup.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(CheckBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(CheckDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(ComboBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(Container.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(Control.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(DelayButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(Dial.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(Dialog.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(DialogButtonBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(Drawer.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(Frame.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(GroupBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(HorizontalHeaderView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(ItemDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(Label.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(Menu.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(MenuBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(MenuBarItem.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(MenuItem.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(MenuSeparator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(Page.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(PageIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(Pane.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(Popup.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(ProgressBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(RadioButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(RadioDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(RangeSlider.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(RoundButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(ScrollBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(ScrollIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(ScrollView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(Slider.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(SpinBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(SplitView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(StackView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(SwipeDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(Switch.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(SwitchDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(SwipeView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(TabBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(TabButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(TextArea.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(TextField.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(ToolBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(ToolButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(ToolSeparator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(ToolTip.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(Tumbler.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(VerticalHeaderView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-
-qt6_target_qml_files(qtquickcontrols2plugin
- FILES
- ${qml_files}
-)
qt_add_docs(qtquickcontrols2plugin
doc/qtquickcontrols.qdocconf
)
diff --git a/src/imports/controls/default/.prev_CMakeLists.txt b/src/imports/controls/default/.prev_CMakeLists.txt
new file mode 100644
index 00000000..608f81b6
--- /dev/null
+++ b/src/imports/controls/default/.prev_CMakeLists.txt
@@ -0,0 +1,308 @@
+# Generated from default.pro.
+
+#####################################################################
+## qtquickcontrols2defaultstyleplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtquickcontrols2defaultstyleplugin
+ URI "QtQuick.Controls.Default"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QtQuickControls2DefaultStylePlugin
+ DEPENDENCIES
+ QtQuick.Controls/2.5
+ GENERATE_QMLTYPES
+ SOURCES
+ qquickdefaultstyle.cpp qquickdefaultstyle_p.h
+ qquickdefaulttheme.cpp qquickdefaulttheme_p.h
+ qtquickcontrols2defaultstyleplugin.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(qtquickcontrols2defaultstyleplugin_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(qtquickcontrols2defaultstyleplugin "qtquickcontrols2defaultstyleplugin"
+ PREFIX
+ "/qt-project.org/imports/QtQuick/Controls/Default"
+ FILES
+ ${qtquickcontrols2defaultstyleplugin_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:default.pro:<TRUE>:
+# OTHER_FILES = "qmldir" "$$QML_FILES"
+# QML_IMPORT_NAME = "QtQuick.Controls.Default"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "QtQuick/Controls/Default"
+# _REQUIREMENTS = "qtConfig(quickcontrols2-default)"
+
+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"
+ "HorizontalHeaderView.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"
+ "VerticalHeaderView.qml"
+)
+set_source_files_properties(AbstractButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Action.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3;6.0"
+)
+set_source_files_properties(ActionGroup.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3;6.0"
+)
+set_source_files_properties(ApplicationWindow.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(BusyIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Button.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ButtonGroup.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(CheckBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(CheckDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ComboBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Container.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Control.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(DelayButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.2;6.0"
+)
+set_source_files_properties(Dial.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Dialog.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(DialogButtonBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(Drawer.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Frame.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(GroupBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(HorizontalHeaderView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.15;6.0"
+)
+set_source_files_properties(ItemDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Label.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Menu.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(MenuBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3;6.0"
+)
+set_source_files_properties(MenuBarItem.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3;6.0"
+)
+set_source_files_properties(MenuItem.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(MenuSeparator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(Page.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(PageIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Pane.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Popup.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ProgressBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RadioButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RadioDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RangeSlider.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RoundButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(ScrollBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ScrollIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ScrollView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.2;6.0"
+)
+set_source_files_properties(Slider.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SpinBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SplitView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.13;6.0"
+)
+set_source_files_properties(StackView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SwipeDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Switch.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SwitchDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SwipeView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TabBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TabButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TextArea.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TextField.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ToolBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ToolButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ToolSeparator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(ToolTip.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Tumbler.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(VerticalHeaderView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.15;6.0"
+)
+
+qt6_target_qml_files(qtquickcontrols2defaultstyleplugin
+ FILES
+ ${qml_files}
+)
diff --git a/src/imports/controls/default/CMakeLists.txt b/src/imports/controls/default/CMakeLists.txt
new file mode 100644
index 00000000..336d04c9
--- /dev/null
+++ b/src/imports/controls/default/CMakeLists.txt
@@ -0,0 +1,308 @@
+# Generated from default.pro.
+
+#####################################################################
+## qtquickcontrols2defaultstyleplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtquickcontrols2defaultstyleplugin
+ URI "QtQuick.Controls.Default"
+ VERSION "6.0" # special case
+ CLASSNAME QtQuickControls2DefaultStylePlugin
+ DEPENDENCIES
+ QtQuick.Controls/2.5
+ GENERATE_QMLTYPES
+ SOURCES
+ qquickdefaultstyle.cpp qquickdefaultstyle_p.h
+ qquickdefaulttheme.cpp qquickdefaulttheme_p.h
+ qtquickcontrols2defaultstyleplugin.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(qtquickcontrols2defaultstyleplugin_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(qtquickcontrols2defaultstyleplugin "qtquickcontrols2defaultstyleplugin"
+ PREFIX
+ "/qt-project.org/imports/QtQuick/Controls/Default"
+ FILES
+ ${qtquickcontrols2defaultstyleplugin_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:default.pro:<TRUE>:
+# OTHER_FILES = "qmldir" "$$QML_FILES"
+# QML_IMPORT_NAME = "QtQuick.Controls.Default"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "QtQuick/Controls/Default"
+# _REQUIREMENTS = "qtConfig(quickcontrols2-default)"
+
+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"
+ "HorizontalHeaderView.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"
+ "VerticalHeaderView.qml"
+)
+set_source_files_properties(AbstractButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Action.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3;6.0"
+)
+set_source_files_properties(ActionGroup.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3;6.0"
+)
+set_source_files_properties(ApplicationWindow.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(BusyIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Button.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ButtonGroup.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(CheckBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(CheckDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ComboBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Container.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Control.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(DelayButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.2;6.0"
+)
+set_source_files_properties(Dial.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Dialog.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(DialogButtonBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(Drawer.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Frame.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(GroupBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(HorizontalHeaderView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.15;6.0"
+)
+set_source_files_properties(ItemDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Label.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Menu.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(MenuBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3;6.0"
+)
+set_source_files_properties(MenuBarItem.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3;6.0"
+)
+set_source_files_properties(MenuItem.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(MenuSeparator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(Page.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(PageIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Pane.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Popup.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ProgressBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RadioButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RadioDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RangeSlider.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RoundButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(ScrollBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ScrollIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ScrollView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.2;6.0"
+)
+set_source_files_properties(Slider.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SpinBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SplitView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.13;6.0"
+)
+set_source_files_properties(StackView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SwipeDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Switch.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SwitchDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SwipeView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TabBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TabButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TextArea.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TextField.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ToolBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ToolButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ToolSeparator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(ToolTip.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Tumbler.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(VerticalHeaderView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.15;6.0"
+)
+
+qt6_target_qml_files(qtquickcontrols2defaultstyleplugin
+ FILES
+ ${qml_files}
+)
diff --git a/src/imports/controls/default/impl/CMakeLists.txt b/src/imports/controls/default/impl/CMakeLists.txt
new file mode 100644
index 00000000..d90ef86b
--- /dev/null
+++ b/src/imports/controls/default/impl/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from default-impl.pro.
+
+#####################################################################
+## qtquickcontrols2defaultstyleimplplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtquickcontrols2defaultstyleimplplugin
+ URI "QtQuick.Controls.Default.impl"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QtQuickControls2DefaultStyleImplPlugin
+ DEPENDENCIES
+ QtQuick.Templates/6.0
+ QtQuick.Controls/6.0
+ SKIP_TYPE_REGISTRATION
+ GENERATE_QMLTYPES
+ SOURCES
+ qquickdefaultbusyindicator.cpp qquickdefaultbusyindicator_p.h
+ qquickdefaultdial.cpp qquickdefaultdial_p.h
+ qquickdefaultprogressbar.cpp qquickdefaultprogressbar_p.h
+ qtquickcontrols2defaultstyleimplplugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::QmlPrivate
+ Qt::QuickControls2ImplPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+#### Keys ignored in scope 1:.:.:default-impl.pro:<TRUE>:
+# OTHER_FILES = "qmldir"
+# QML_IMPORT_NAME = "QtQuick.Controls.Default.impl"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# QT_FOR_CONFIG = "quickcontrols2-private"
+# TARGETPATH = "QtQuick/Controls/Default/impl"
+# _REQUIREMENTS = "qtConfig(quickcontrols2-default)"
diff --git a/src/imports/controls/fusion/.prev_CMakeLists.txt b/src/imports/controls/fusion/.prev_CMakeLists.txt
index 4c59e4f6..b9d5e58b 100644
--- a/src/imports/controls/fusion/.prev_CMakeLists.txt
+++ b/src/imports/controls/fusion/.prev_CMakeLists.txt
@@ -4,18 +4,14 @@
## qtquickcontrols2fusionstyleplugin Plugin:
#####################################################################
-add_qml_module(qtquickcontrols2fusionstyleplugin
- TARGET_PATH "QtQuick/Controls/Fusion"
+qt_add_qml_module(qtquickcontrols2fusionstyleplugin
URI "QtQuick.Controls.Fusion"
- VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ VERSION "${CMAKE_PROJECT_VERSION}"
CLASSNAME QtQuickControls2FusionStylePlugin
- DEPENDENCIES
- QtQuick.Controls/2.5
- SKIP_TYPE_REGISTRATION
+ IMPORTS
+ QtQuick.Controls.Default/auto
+ GENERATE_QMLTYPES
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
@@ -52,7 +48,7 @@ set(qtquickcontrols2fusionstyle_resource_files
"images/progressmask@4x.png"
)
-add_qt_resource(qtquickcontrols2fusionstyleplugin "qtquickcontrols2fusionstyle"
+qt_add_resource(qtquickcontrols2fusionstyleplugin "qtquickcontrols2fusionstyle"
PREFIX
"/qt-project.org/imports/QtQuick/Controls/Fusion"
FILES
@@ -61,9 +57,9 @@ add_qt_resource(qtquickcontrols2fusionstyleplugin "qtquickcontrols2fusionstyle"
#### Keys ignored in scope 1:.:.:fusion.pro:<TRUE>:
-# IMPORT_NAME = "QtQuick.Controls.Fusion"
-# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
# OTHER_FILES = "qmldir" "$$QML_FILES"
+# QML_IMPORT_NAME = "QtQuick.Controls.Fusion"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
# TARGETPATH = "QtQuick/Controls/Fusion"
# _REQUIREMENTS = "qtConfig(quickcontrols2-fusion)"
@@ -71,10 +67,8 @@ set(qml_files
"ApplicationWindow.qml"
"BusyIndicator.qml"
"Button.qml"
- "ButtonPanel.qml"
"CheckBox.qml"
"CheckDelegate.qml"
- "CheckIndicator.qml"
"ComboBox.qml"
"DelayButton.qml"
"Dial.qml"
@@ -83,6 +77,7 @@ set(qml_files
"Drawer.qml"
"Frame.qml"
"GroupBox.qml"
+ "HorizontalHeaderView.qml"
"ItemDelegate.qml"
"Label.qml"
"Menu.qml"
@@ -97,19 +92,15 @@ set(qml_files
"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"
@@ -120,6 +111,151 @@ set(qml_files
"ToolSeparator.qml"
"ToolTip.qml"
"Tumbler.qml"
+ "VerticalHeaderView.qml"
+)
+set_source_files_properties(ApplicationWindow.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(BusyIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Button.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(CheckBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(CheckDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ComboBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(DelayButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.2;6.0"
+)
+set_source_files_properties(Dial.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Dialog.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(DialogButtonBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(Drawer.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Frame.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(GroupBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(HorizontalHeaderView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.15;6.0"
+)
+set_source_files_properties(ItemDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Label.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Menu.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(MenuBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3;6.0"
+)
+set_source_files_properties(MenuBarItem.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3;6.0"
+)
+set_source_files_properties(MenuItem.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(MenuSeparator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(Page.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(PageIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Pane.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Popup.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ProgressBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RadioButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RadioDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RangeSlider.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RoundButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(ScrollBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ScrollIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Slider.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SpinBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SplitView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.13;6.0"
+)
+set_source_files_properties(SwipeDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SwitchDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Switch.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TabBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TabButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TextArea.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TextField.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ToolBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ToolButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ToolSeparator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(ToolTip.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Tumbler.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(VerticalHeaderView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.15;6.0"
)
qt6_target_qml_files(qtquickcontrols2fusionstyleplugin
diff --git a/src/imports/controls/fusion/CMakeLists.txt b/src/imports/controls/fusion/CMakeLists.txt
index 5eb28d21..9d93aa89 100644
--- a/src/imports/controls/fusion/CMakeLists.txt
+++ b/src/imports/controls/fusion/CMakeLists.txt
@@ -7,15 +7,12 @@
qt_add_qml_module(qtquickcontrols2fusionstyleplugin
TARGET_PATH "QtQuick/Controls/Fusion"
URI "QtQuick.Controls.Fusion"
- VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ VERSION "6.0" # special case
CLASSNAME QtQuickControls2FusionStylePlugin
- DEPENDENCIES
- QtQuick.Controls/2.5
- SKIP_TYPE_REGISTRATION
+ IMPORTS
+ QtQuick.Controls.Default/auto
+ GENERATE_QMLTYPES
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
@@ -61,9 +58,9 @@ qt_add_resource(qtquickcontrols2fusionstyleplugin "qtquickcontrols2fusionstyle"
#### Keys ignored in scope 1:.:.:fusion.pro:<TRUE>:
-# IMPORT_NAME = "QtQuick.Controls.Fusion"
-# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
# OTHER_FILES = "qmldir" "$$QML_FILES"
+# QML_IMPORT_NAME = "QtQuick.Controls.Fusion"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
# TARGETPATH = "QtQuick/Controls/Fusion"
# _REQUIREMENTS = "qtConfig(quickcontrols2-fusion)"
@@ -71,10 +68,8 @@ set(qml_files
"ApplicationWindow.qml"
"BusyIndicator.qml"
"Button.qml"
- "ButtonPanel.qml"
"CheckBox.qml"
"CheckDelegate.qml"
- "CheckIndicator.qml"
"ComboBox.qml"
"DelayButton.qml"
"Dial.qml"
@@ -98,19 +93,15 @@ set(qml_files
"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"
@@ -124,166 +115,148 @@ set(qml_files
"VerticalHeaderView.qml"
)
set_source_files_properties(ApplicationWindow.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(BusyIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Button.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(ButtonPanel.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(CheckBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(CheckDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(CheckIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ComboBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(DelayButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.2;6.0"
)
set_source_files_properties(Dial.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Dialog.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(DialogButtonBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(Drawer.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Frame.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(GroupBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(HorizontalHeaderView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.15;6.0"
)
set_source_files_properties(ItemDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Label.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Menu.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(MenuBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.3;6.0"
)
set_source_files_properties(MenuBarItem.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.3;6.0"
)
set_source_files_properties(MenuItem.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(MenuSeparator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(Page.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(PageIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Pane.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Popup.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ProgressBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RadioButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RadioDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(RadioIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RangeSlider.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RoundButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(ScrollBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ScrollIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Slider.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(SliderGroove.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(SliderHandle.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SpinBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SplitView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.13;6.0"
)
set_source_files_properties(SwipeDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SwitchDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(SwitchIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Switch.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TabBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TabButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TextArea.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TextField.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ToolBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ToolButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ToolSeparator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(ToolTip.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Tumbler.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(VerticalHeaderView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.15;6.0"
)
qt6_target_qml_files(qtquickcontrols2fusionstyleplugin
diff --git a/src/imports/controls/fusion/impl/CMakeLists.txt b/src/imports/controls/fusion/impl/CMakeLists.txt
new file mode 100644
index 00000000..628c5f90
--- /dev/null
+++ b/src/imports/controls/fusion/impl/CMakeLists.txt
@@ -0,0 +1,73 @@
+# Generated from fusion-impl.pro.
+
+#####################################################################
+## qtquickcontrols2fusionstyleimplplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtquickcontrols2fusionstyleimplplugin
+ URI "QtQuick.Controls.Fusion.impl"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QtQuickControls2FusionStyleImpPlugin
+ GENERATE_QMLTYPES
+ SOURCES
+ qquickfusionbusyindicator.cpp qquickfusionbusyindicator_p.h
+ qquickfusiondial.cpp qquickfusiondial_p.h
+ qquickfusionknob.cpp qquickfusionknob_p.h
+ qtquickcontrols2fusionstyleimplplugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::QmlPrivate
+ Qt::QuickControls2ImplPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+#### Keys ignored in scope 1:.:.:fusion-impl.pro:<TRUE>:
+# OTHER_FILES = "qmldir" "$$QML_FILES"
+# QML_FILES = "$$PWD/ButtonPanel.qml" "$$PWD/CheckIndicator.qml" "$$PWD/RadioIndicator.qml" "$$PWD/SliderGroove.qml" "$$PWD/SliderHandle.qml" "$$PWD/SwitchIndicator.qml"
+# QML_IMPORT_NAME = "QtQuick.Controls.Fusion.impl"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# QT_FOR_CONFIG = "quickcontrols2-private"
+# TARGETPATH = "QtQuick/Controls/Fusion/impl"
+# _REQUIREMENTS = "qtConfig(quickcontrols2-fusion)"
+
+set(qml_files
+ "ButtonPanel.qml"
+ "CheckIndicator.qml"
+ "RadioIndicator.qml"
+ "SliderGroove.qml"
+ "SliderHandle.qml"
+ "SwitchIndicator.qml"
+)
+set_source_files_properties(ButtonPanel.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3"
+)
+set_source_files_properties(CheckIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3"
+)
+set_source_files_properties(RadioIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3"
+)
+set_source_files_properties(SliderGroove.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3"
+)
+set_source_files_properties(SliderHandle.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3"
+)
+set_source_files_properties(SwitchIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3"
+)
+
+qt6_target_qml_files(qtquickcontrols2fusionstyleimplplugin
+ FILES
+ ${qml_files}
+)
diff --git a/src/imports/controls/imagine/.prev_CMakeLists.txt b/src/imports/controls/imagine/.prev_CMakeLists.txt
index a7c0a59e..b1e1a959 100644
--- a/src/imports/controls/imagine/.prev_CMakeLists.txt
+++ b/src/imports/controls/imagine/.prev_CMakeLists.txt
@@ -5,18 +5,15 @@
#####################################################################
qt_add_qml_module(qtquickcontrols2imaginestyleplugin
- TARGET_PATH "QtQuick/Controls/Imagine"
URI "QtQuick.Controls.Imagine"
- VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ VERSION "${CMAKE_PROJECT_VERSION}"
CLASSNAME QtQuickControls2ImagineStylePlugin
- DEPENDENCIES
- QtQuick.Controls/2.5
- SKIP_TYPE_REGISTRATION
+ IMPORTS
+ QtQuick.Controls.Default/auto
+ GENERATE_QMLTYPES
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
@@ -25,6 +22,7 @@ qt_add_qml_module(qtquickcontrols2imaginestyleplugin
Qt::CorePrivate
Qt::GuiPrivate
Qt::QmlPrivate
+ Qt::QuickControls2ImplPrivate
Qt::QuickControls2Private
Qt::QuickPrivate
Qt::QuickTemplates2Private
@@ -49,9 +47,6 @@ endforeach()
set(qmake_qtquickcontrols2imaginestyle_resource_files
${resource_glob_0}
${resource_glob_1}
- "shaders/+glslcore/OpacityMask.frag"
- "shaders/+qsb/OpacityMask.frag"
- "shaders/OpacityMask.frag"
)
qt_add_resource(qtquickcontrols2imaginestyleplugin "qmake_qtquickcontrols2imaginestyle"
@@ -63,9 +58,9 @@ qt_add_resource(qtquickcontrols2imaginestyleplugin "qmake_qtquickcontrols2imagin
#### Keys ignored in scope 1:.:.:imagine.pro:<TRUE>:
-# IMPORT_NAME = "QtQuick.Controls.Imagine"
-# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
# OTHER_FILES = "qmldir" "$$QML_FILES"
+# QML_IMPORT_NAME = "QtQuick.Controls.Imagine"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
# TARGETPATH = "QtQuick/Controls/Imagine"
# _REQUIREMENTS = "qtConfig(quickcontrols2-imagine)"
@@ -89,7 +84,6 @@ set(qml_files
"Menu.qml"
"MenuItem.qml"
"MenuSeparator.qml"
- "OpacityMask.qml"
"PageIndicator.qml"
"Page.qml"
"Pane.qml"
@@ -121,151 +115,148 @@ set(qml_files
"VerticalHeaderView.qml"
)
set_source_files_properties(ApplicationWindow.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(BusyIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Button.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(CheckBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(CheckDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ComboBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(DelayButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.2;6.0"
)
set_source_files_properties(Dial.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Dialog.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(DialogButtonBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(Drawer.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Frame.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(GroupBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(HorizontalHeaderView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.15;6.0"
)
set_source_files_properties(ItemDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Label.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Menu.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(MenuItem.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(MenuSeparator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(OpacityMask.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(PageIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Page.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Pane.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Popup.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ProgressBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RadioButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RadioDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RangeSlider.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RoundButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(ScrollBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ScrollIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Slider.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SpinBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SplitView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.13;6.0"
)
set_source_files_properties(StackView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SwipeDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SwipeView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Switch.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SwitchDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TextField.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TextArea.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TabBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TabButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ToolBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ToolButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ToolSeparator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(ToolTip.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Tumbler.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(VerticalHeaderView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.15;6.0"
)
qt6_target_qml_files(qtquickcontrols2imaginestyleplugin
diff --git a/src/imports/controls/imagine/CMakeLists.txt b/src/imports/controls/imagine/CMakeLists.txt
index a7c0a59e..ce9b98cb 100644
--- a/src/imports/controls/imagine/CMakeLists.txt
+++ b/src/imports/controls/imagine/CMakeLists.txt
@@ -5,18 +5,15 @@
#####################################################################
qt_add_qml_module(qtquickcontrols2imaginestyleplugin
- TARGET_PATH "QtQuick/Controls/Imagine"
URI "QtQuick.Controls.Imagine"
- VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ VERSION "6.0" # special case
CLASSNAME QtQuickControls2ImagineStylePlugin
- DEPENDENCIES
- QtQuick.Controls/2.5
- SKIP_TYPE_REGISTRATION
+ IMPORTS
+ QtQuick.Controls.Default/auto
+ GENERATE_QMLTYPES
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
@@ -25,6 +22,7 @@ qt_add_qml_module(qtquickcontrols2imaginestyleplugin
Qt::CorePrivate
Qt::GuiPrivate
Qt::QmlPrivate
+ Qt::QuickControls2ImplPrivate
Qt::QuickControls2Private
Qt::QuickPrivate
Qt::QuickTemplates2Private
@@ -49,9 +47,6 @@ endforeach()
set(qmake_qtquickcontrols2imaginestyle_resource_files
${resource_glob_0}
${resource_glob_1}
- "shaders/+glslcore/OpacityMask.frag"
- "shaders/+qsb/OpacityMask.frag"
- "shaders/OpacityMask.frag"
)
qt_add_resource(qtquickcontrols2imaginestyleplugin "qmake_qtquickcontrols2imaginestyle"
@@ -63,9 +58,9 @@ qt_add_resource(qtquickcontrols2imaginestyleplugin "qmake_qtquickcontrols2imagin
#### Keys ignored in scope 1:.:.:imagine.pro:<TRUE>:
-# IMPORT_NAME = "QtQuick.Controls.Imagine"
-# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
# OTHER_FILES = "qmldir" "$$QML_FILES"
+# QML_IMPORT_NAME = "QtQuick.Controls.Imagine"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
# TARGETPATH = "QtQuick/Controls/Imagine"
# _REQUIREMENTS = "qtConfig(quickcontrols2-imagine)"
@@ -89,7 +84,6 @@ set(qml_files
"Menu.qml"
"MenuItem.qml"
"MenuSeparator.qml"
- "OpacityMask.qml"
"PageIndicator.qml"
"Page.qml"
"Pane.qml"
@@ -121,151 +115,148 @@ set(qml_files
"VerticalHeaderView.qml"
)
set_source_files_properties(ApplicationWindow.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(BusyIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Button.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(CheckBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(CheckDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ComboBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(DelayButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.2;6.0"
)
set_source_files_properties(Dial.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Dialog.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(DialogButtonBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(Drawer.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Frame.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(GroupBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(HorizontalHeaderView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.15;6.0"
)
set_source_files_properties(ItemDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Label.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Menu.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(MenuItem.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(MenuSeparator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(OpacityMask.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(PageIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Page.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Pane.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Popup.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ProgressBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RadioButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RadioDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RangeSlider.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RoundButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(ScrollBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ScrollIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Slider.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SpinBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SplitView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.13;6.0"
)
set_source_files_properties(StackView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SwipeDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SwipeView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Switch.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SwitchDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TextField.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TextArea.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TabBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TabButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ToolBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ToolButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ToolSeparator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(ToolTip.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Tumbler.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(VerticalHeaderView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.15;6.0"
)
qt6_target_qml_files(qtquickcontrols2imaginestyleplugin
diff --git a/src/imports/controls/imagine/impl/CMakeLists.txt b/src/imports/controls/imagine/impl/CMakeLists.txt
new file mode 100644
index 00000000..a2e38302
--- /dev/null
+++ b/src/imports/controls/imagine/impl/CMakeLists.txt
@@ -0,0 +1,67 @@
+# Generated from imagine-impl.pro.
+
+#####################################################################
+## qtquickcontrols2imaginestyleimplplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtquickcontrols2imaginestyleimplplugin
+ URI "QtQuick.Controls.Imagine.impl"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QtQuickControls2ImagineStyleImplPlugin
+ GENERATE_QMLTYPES
+ SOURCES
+ qquickimageselector.cpp qquickimageselector_p.h
+ qquickninepatchimage.cpp qquickninepatchimage_p.h
+ qtquickcontrols2imaginestyleimplplugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::QmlPrivate
+ Qt::QuickControls2ImplPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+# Resources:
+set(qmake_qtquickcontrols2imaginestyleimpl_resource_files
+ "shaders/+glslcore/OpacityMask.frag"
+ "shaders/+qsb/OpacityMask.frag"
+ "shaders/OpacityMask.frag"
+)
+
+qt_add_resource(qtquickcontrols2imaginestyleimplplugin "qmake_qtquickcontrols2imaginestyleimpl"
+ PREFIX
+ "qt-project.org/imports/QtQuick/Controls/Imagine/impl"
+ FILES
+ ${qmake_qtquickcontrols2imaginestyleimpl_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:imagine-impl.pro:<TRUE>:
+# OTHER_FILES = "qmldir" "$$QML_FILES"
+# QML_FILES = "$$PWD/OpacityMask.qml"
+# QML_IMPORT_NAME = "QtQuick.Controls.Imagine.impl"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# QT_FOR_CONFIG = "quickcontrols2-private"
+# TARGETPATH = "QtQuick/Controls/Imagine/impl"
+# _REQUIREMENTS = "qtConfig(quickcontrols2-imagine)"
+
+set(qml_files
+ "OpacityMask.qml"
+)
+set_source_files_properties(OpacityMask.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0"
+)
+
+qt6_target_qml_files(qtquickcontrols2imaginestyleimplplugin
+ FILES
+ ${qml_files}
+)
diff --git a/src/imports/controls/material/.prev_CMakeLists.txt b/src/imports/controls/material/.prev_CMakeLists.txt
index 7039271f..123c89dc 100644
--- a/src/imports/controls/material/.prev_CMakeLists.txt
+++ b/src/imports/controls/material/.prev_CMakeLists.txt
@@ -4,18 +4,14 @@
## qtquickcontrols2materialstyleplugin Plugin:
#####################################################################
-add_qml_module(qtquickcontrols2materialstyleplugin
- TARGET_PATH "QtQuick/Controls/Material"
+qt_add_qml_module(qtquickcontrols2materialstyleplugin
URI "QtQuick.Controls.Material"
- VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ VERSION "${CMAKE_PROJECT_VERSION}"
CLASSNAME QtQuickControls2MaterialStylePlugin
- DEPENDENCIES
- QtQuick.Controls/2.5
- SKIP_TYPE_REGISTRATION
+ IMPORTS
+ QtQuick.Controls.Default/auto
+ GENERATE_QMLTYPES
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
@@ -26,6 +22,7 @@ add_qml_module(qtquickcontrols2materialstyleplugin
Qt::CorePrivate
Qt::GuiPrivate
Qt::QmlPrivate
+ Qt::QuickControls2ImplPrivate
Qt::QuickControls2Private
Qt::QuickPrivate
Qt::QuickTemplates2Private
@@ -56,7 +53,7 @@ set(qtquickcontrols2materialstyleplugin_resource_files
"shaders/RectangularGlow.frag"
)
-add_qt_resource(qtquickcontrols2materialstyleplugin "qtquickcontrols2materialstyleplugin"
+qt_add_resource(qtquickcontrols2materialstyleplugin "qtquickcontrols2materialstyleplugin"
PREFIX
"/qt-project.org/imports/QtQuick/Controls/Material"
FILES
@@ -65,30 +62,27 @@ add_qt_resource(qtquickcontrols2materialstyleplugin "qtquickcontrols2materialsty
#### Keys ignored in scope 1:.:.:material.pro:<TRUE>:
-# IMPORT_NAME = "QtQuick.Controls.Material"
-# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
# OTHER_FILES = "qmldir" "$$QML_FILES"
+# QML_IMPORT_NAME = "QtQuick.Controls.Material"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
# TARGETPATH = "QtQuick/Controls/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"
+ "HorizontalHeaderView.qml"
"ItemDelegate.qml"
"Label.qml"
"Menu.qml"
@@ -103,14 +97,11 @@ set(qml_files
"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"
@@ -118,7 +109,6 @@ set(qml_files
"SwipeView.qml"
"Switch.qml"
"SwitchDelegate.qml"
- "SwitchIndicator.qml"
"TabBar.qml"
"TabButton.qml"
"TextArea.qml"
@@ -128,6 +118,157 @@ set(qml_files
"ToolSeparator.qml"
"ToolTip.qml"
"Tumbler.qml"
+ "VerticalHeaderView.qml"
+)
+set_source_files_properties(ApplicationWindow.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(BusyIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Button.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(CheckBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(CheckDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ComboBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(DelayButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.2;6.0"
+)
+set_source_files_properties(Dial.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Dialog.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(DialogButtonBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(Drawer.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Frame.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(GroupBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(HorizontalHeaderView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.15;6.0"
+)
+set_source_files_properties(ItemDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Label.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Menu.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(MenuBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3;6.0"
+)
+set_source_files_properties(MenuBarItem.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3;6.0"
+)
+set_source_files_properties(MenuItem.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(MenuSeparator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(Page.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(PageIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Pane.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Popup.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ProgressBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RadioButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RadioDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RangeSlider.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RoundButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(ScrollBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ScrollIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Slider.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SpinBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SplitView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.13;6.0"
+)
+set_source_files_properties(StackView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SwipeDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SwipeView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Switch.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SwitchDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TabBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TabButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TextArea.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TextField.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ToolBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ToolButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ToolSeparator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(ToolTip.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Tumbler.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(VerticalHeaderView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.15;6.0"
)
qt6_target_qml_files(qtquickcontrols2materialstyleplugin
diff --git a/src/imports/controls/material/CMakeLists.txt b/src/imports/controls/material/CMakeLists.txt
index 8bcb9c5d..71030fe6 100644
--- a/src/imports/controls/material/CMakeLists.txt
+++ b/src/imports/controls/material/CMakeLists.txt
@@ -7,15 +7,12 @@
qt_add_qml_module(qtquickcontrols2materialstyleplugin
TARGET_PATH "QtQuick/Controls/Material"
URI "QtQuick.Controls.Material"
- VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ VERSION "6.0" # special case
CLASSNAME QtQuickControls2MaterialStylePlugin
- DEPENDENCIES
- QtQuick.Controls/2.5
- SKIP_TYPE_REGISTRATION
+ IMPORTS
+ QtQuick.Controls.Default/auto
+ GENERATE_QMLTYPES
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
@@ -26,6 +23,7 @@ qt_add_qml_module(qtquickcontrols2materialstyleplugin
Qt::CorePrivate
Qt::GuiPrivate
Qt::QmlPrivate
+ Qt::QuickControls2ImplPrivate
Qt::QuickControls2Private
Qt::QuickPrivate
Qt::QuickTemplates2Private
@@ -65,28 +63,24 @@ qt_add_resource(qtquickcontrols2materialstyleplugin "qtquickcontrols2materialsty
#### Keys ignored in scope 1:.:.:material.pro:<TRUE>:
-# IMPORT_NAME = "QtQuick.Controls.Material"
-# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
# OTHER_FILES = "qmldir" "$$QML_FILES"
+# QML_IMPORT_NAME = "QtQuick.Controls.Material"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
# TARGETPATH = "QtQuick/Controls/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"
"HorizontalHeaderView.qml"
@@ -104,14 +98,11 @@ set(qml_files
"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"
@@ -119,7 +110,6 @@ set(qml_files
"SwipeView.qml"
"Switch.qml"
"SwitchDelegate.qml"
- "SwitchIndicator.qml"
"TabBar.qml"
"TabButton.qml"
"TextArea.qml"
@@ -132,178 +122,154 @@ set(qml_files
"VerticalHeaderView.qml"
)
set_source_files_properties(ApplicationWindow.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(BoxShadow.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(BusyIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Button.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(CheckBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(CheckDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(CheckIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ComboBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(CursorDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(DelayButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.2;6.0"
)
set_source_files_properties(Dial.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Dialog.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(DialogButtonBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(Drawer.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(ElevationEffect.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Frame.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(GroupBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(HorizontalHeaderView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.15;6.0"
)
set_source_files_properties(ItemDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Label.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Menu.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(MenuBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.3;6.0"
)
set_source_files_properties(MenuBarItem.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.3;6.0"
)
set_source_files_properties(MenuItem.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(MenuSeparator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(Page.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(PageIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Pane.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Popup.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ProgressBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RadioButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RadioDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(RadioIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RangeSlider.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RoundButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(RectangularGlow.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(ScrollBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ScrollIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Slider.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(SliderHandle.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SpinBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SplitView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.13;6.0"
)
set_source_files_properties(StackView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SwipeDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SwipeView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Switch.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SwitchDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(SwitchIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TabBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TabButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TextArea.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TextField.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ToolBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ToolButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ToolSeparator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(ToolTip.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Tumbler.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(VerticalHeaderView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.15;6.0"
)
qt6_target_qml_files(qtquickcontrols2materialstyleplugin
diff --git a/src/imports/controls/material/impl/CMakeLists.txt b/src/imports/controls/material/impl/CMakeLists.txt
new file mode 100644
index 00000000..bcb4f998
--- /dev/null
+++ b/src/imports/controls/material/impl/CMakeLists.txt
@@ -0,0 +1,81 @@
+# Generated from material-impl.pro.
+
+#####################################################################
+## qtquickcontrols2materialstyleimplplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtquickcontrols2materialstyleimplplugin
+ URI "QtQuick.Controls.Material.impl"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QtQuickControls2MaterialStyleImplPlugin
+ GENERATE_QMLTYPES
+ SOURCES
+ qquickmaterialbusyindicator.cpp qquickmaterialbusyindicator_p.h
+ qquickmaterialprogressbar.cpp qquickmaterialprogressbar_p.h
+ qquickmaterialripple.cpp qquickmaterialripple_p.h
+ qtquickcontrols2materialstyleimplplugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::QmlPrivate
+ Qt::QuickControls2ImplPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+#### Keys ignored in scope 1:.:.:material-impl.pro:<TRUE>:
+# OTHER_FILES = "qmldir" "$$QML_FILES"
+# QML_FILES = "$$PWD/BoxShadow.qml" "$$PWD/CheckIndicator.qml" "$$PWD/CursorDelegate.qml" "$$PWD/ElevationEffect.qml" "$$PWD/RadioIndicator.qml" "$$PWD/RectangularGlow.qml" "$$PWD/SliderHandle.qml" "$$PWD/SwitchIndicator.qml"
+# QML_IMPORT_NAME = "QtQuick.Controls.Material.impl"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# QT_FOR_CONFIG = "quickcontrols2-private"
+# TARGETPATH = "QtQuick/Controls/Material/impl"
+# _REQUIREMENTS = "qtConfig(quickcontrols2-material)"
+
+set(qml_files
+ "BoxShadow.qml"
+ "CheckIndicator.qml"
+ "CursorDelegate.qml"
+ "ElevationEffect.qml"
+ "RadioIndicator.qml"
+ "RectangularGlow.qml"
+ "SliderHandle.qml"
+ "SwitchIndicator.qml"
+)
+set_source_files_properties(BoxShadow.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0"
+)
+set_source_files_properties(CheckIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0"
+)
+set_source_files_properties(CursorDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0"
+)
+set_source_files_properties(ElevationEffect.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0"
+)
+set_source_files_properties(RadioIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0"
+)
+set_source_files_properties(RectangularGlow.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0"
+)
+set_source_files_properties(SliderHandle.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0"
+)
+set_source_files_properties(SwitchIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0"
+)
+
+qt6_target_qml_files(qtquickcontrols2materialstyleimplplugin
+ FILES
+ ${qml_files}
+)
diff --git a/src/imports/controls/universal/.prev_CMakeLists.txt b/src/imports/controls/universal/.prev_CMakeLists.txt
index 45c15169..df0232e7 100644
--- a/src/imports/controls/universal/.prev_CMakeLists.txt
+++ b/src/imports/controls/universal/.prev_CMakeLists.txt
@@ -4,18 +4,14 @@
## qtquickcontrols2universalstyleplugin Plugin:
#####################################################################
-add_qml_module(qtquickcontrols2universalstyleplugin
- TARGET_PATH "QtQuick/Controls/Universal"
+qt_add_qml_module(qtquickcontrols2universalstyleplugin
URI "QtQuick.Controls.Universal"
- VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ VERSION "${CMAKE_PROJECT_VERSION}"
CLASSNAME QtQuickControls2UniversalStylePlugin
- DEPENDENCIES
- QtQuick.Controls/2.5
- SKIP_TYPE_REGISTRATION
+ IMPORTS
+ QtQuick.Controls.Default/auto
+ GENERATE_QMLTYPES
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
@@ -26,6 +22,7 @@ add_qml_module(qtquickcontrols2universalstyleplugin
Qt::CorePrivate
Qt::GuiPrivate
Qt::QmlPrivate
+ Qt::QuickControls2ImplPrivate
Qt::QuickControls2Private
Qt::QuickPrivate
Qt::QuickTemplates2Private
@@ -56,7 +53,7 @@ set(qtquickcontrols2universalstyleplugin_resource_files
"images/rightarrow@4x.png"
)
-add_qt_resource(qtquickcontrols2universalstyleplugin "qtquickcontrols2universalstyleplugin"
+qt_add_resource(qtquickcontrols2universalstyleplugin "qtquickcontrols2universalstyleplugin"
PREFIX
"/qt-project.org/imports/QtQuick/Controls/Universal"
FILES
@@ -65,9 +62,9 @@ add_qt_resource(qtquickcontrols2universalstyleplugin "qtquickcontrols2universals
#### Keys ignored in scope 1:.:.:universal.pro:<TRUE>:
-# IMPORT_NAME = "QtQuick.Controls.Universal"
-# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
# OTHER_FILES = "qmldir" "$$QML_FILES"
+# QML_IMPORT_NAME = "QtQuick.Controls.Universal"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
# TARGETPATH = "QtQuick/Controls/Universal"
# _REQUIREMENTS = "qtConfig(quickcontrols2-universal)"
@@ -77,7 +74,6 @@ set(qml_files
"Button.qml"
"CheckBox.qml"
"CheckDelegate.qml"
- "CheckIndicator.qml"
"ComboBox.qml"
"DelayButton.qml"
"Dial.qml"
@@ -86,6 +82,7 @@ set(qml_files
"Drawer.qml"
"Frame.qml"
"GroupBox.qml"
+ "HorizontalHeaderView.qml"
"ItemDelegate.qml"
"Label.qml"
"Menu.qml"
@@ -100,7 +97,6 @@ set(qml_files
"ProgressBar.qml"
"RadioButton.qml"
"RadioDelegate.qml"
- "RadioIndicator.qml"
"RangeSlider.qml"
"RoundButton.qml"
"ScrollBar.qml"
@@ -111,7 +107,6 @@ set(qml_files
"StackView.qml"
"SwipeDelegate.qml"
"SwitchDelegate.qml"
- "SwitchIndicator.qml"
"Switch.qml"
"TabBar.qml"
"TabButton.qml"
@@ -122,6 +117,154 @@ set(qml_files
"ToolSeparator.qml"
"ToolTip.qml"
"Tumbler.qml"
+ "VerticalHeaderView.qml"
+)
+set_source_files_properties(ApplicationWindow.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(BusyIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Button.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(CheckBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(CheckDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ComboBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(DelayButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.2;6.0"
+)
+set_source_files_properties(Dial.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Dialog.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(DialogButtonBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(Drawer.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Frame.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(GroupBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(HorizontalHeaderView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.15;6.0"
+)
+set_source_files_properties(ItemDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Label.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Menu.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(MenuBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3;6.0"
+)
+set_source_files_properties(MenuBarItem.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.3;6.0"
+)
+set_source_files_properties(MenuItem.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(MenuSeparator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(Page.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(PageIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Pane.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Popup.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ProgressBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RadioButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RadioDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RangeSlider.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(RoundButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(ScrollBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ScrollIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Slider.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SpinBox.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SplitView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.13;6.0"
+)
+set_source_files_properties(StackView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SwipeDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(SwitchDelegate.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Switch.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TabBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TabButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TextArea.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(TextField.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ToolBar.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ToolButton.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(ToolSeparator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.1;6.0"
+)
+set_source_files_properties(ToolTip.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(Tumbler.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0;6.0"
+)
+set_source_files_properties(VerticalHeaderView.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.15;6.0"
)
qt6_target_qml_files(qtquickcontrols2universalstyleplugin
diff --git a/src/imports/controls/universal/CMakeLists.txt b/src/imports/controls/universal/CMakeLists.txt
index 53a3c9d0..f97a92e9 100644
--- a/src/imports/controls/universal/CMakeLists.txt
+++ b/src/imports/controls/universal/CMakeLists.txt
@@ -7,15 +7,12 @@
qt_add_qml_module(qtquickcontrols2universalstyleplugin
TARGET_PATH "QtQuick/Controls/Universal"
URI "QtQuick.Controls.Universal"
- VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ VERSION "6.0" # special case
CLASSNAME QtQuickControls2UniversalStylePlugin
- DEPENDENCIES
- QtQuick.Controls/2.5
- SKIP_TYPE_REGISTRATION
+ IMPORTS
+ QtQuick.Controls.Default/auto
+ GENERATE_QMLTYPES
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
@@ -26,6 +23,7 @@ qt_add_qml_module(qtquickcontrols2universalstyleplugin
Qt::CorePrivate
Qt::GuiPrivate
Qt::QmlPrivate
+ Qt::QuickControls2ImplPrivate
Qt::QuickControls2Private
Qt::QuickPrivate
Qt::QuickTemplates2Private
@@ -65,9 +63,9 @@ qt_add_resource(qtquickcontrols2universalstyleplugin "qtquickcontrols2universals
#### Keys ignored in scope 1:.:.:universal.pro:<TRUE>:
-# IMPORT_NAME = "QtQuick.Controls.Universal"
-# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
# OTHER_FILES = "qmldir" "$$QML_FILES"
+# QML_IMPORT_NAME = "QtQuick.Controls.Universal"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
# TARGETPATH = "QtQuick/Controls/Universal"
# _REQUIREMENTS = "qtConfig(quickcontrols2-universal)"
@@ -77,7 +75,6 @@ set(qml_files
"Button.qml"
"CheckBox.qml"
"CheckDelegate.qml"
- "CheckIndicator.qml"
"ComboBox.qml"
"DelayButton.qml"
"Dial.qml"
@@ -101,7 +98,6 @@ set(qml_files
"ProgressBar.qml"
"RadioButton.qml"
"RadioDelegate.qml"
- "RadioIndicator.qml"
"RangeSlider.qml"
"RoundButton.qml"
"ScrollBar.qml"
@@ -112,7 +108,6 @@ set(qml_files
"StackView.qml"
"SwipeDelegate.qml"
"SwitchDelegate.qml"
- "SwitchIndicator.qml"
"Switch.qml"
"TabBar.qml"
"TabButton.qml"
@@ -126,160 +121,151 @@ set(qml_files
"VerticalHeaderView.qml"
)
set_source_files_properties(ApplicationWindow.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(BusyIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Button.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(CheckBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(CheckDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(CheckIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ComboBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(DelayButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.2;6.0"
)
set_source_files_properties(Dial.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Dialog.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(DialogButtonBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(Drawer.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Frame.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(GroupBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(HorizontalHeaderView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.15;6.0"
)
set_source_files_properties(ItemDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Label.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Menu.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(MenuBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.3;6.0"
)
set_source_files_properties(MenuBarItem.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.3;6.0"
)
set_source_files_properties(MenuItem.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(MenuSeparator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(Page.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(PageIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Pane.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Popup.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ProgressBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RadioButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RadioDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(RadioIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RangeSlider.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(RoundButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(ScrollBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ScrollIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Slider.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SpinBox.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SplitView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.13;6.0"
)
set_source_files_properties(StackView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SwipeDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(SwitchDelegate.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
-)
-set_source_files_properties(SwitchIndicator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Switch.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TabBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TabButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TextArea.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(TextField.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ToolBar.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ToolButton.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ToolSeparator.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(ToolTip.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(Tumbler.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(VerticalHeaderView.qml PROPERTIES
- QT_QML_SKIP_QMLDIR_ENTRY TRUE
+ QT_QML_SOURCE_VERSION "2.15;6.0"
)
qt6_target_qml_files(qtquickcontrols2universalstyleplugin
diff --git a/src/imports/controls/universal/impl/CMakeLists.txt b/src/imports/controls/universal/impl/CMakeLists.txt
new file mode 100644
index 00000000..6172b908
--- /dev/null
+++ b/src/imports/controls/universal/impl/CMakeLists.txt
@@ -0,0 +1,61 @@
+# Generated from universal-impl.pro.
+
+#####################################################################
+## qtquickcontrols2universalstyleimplplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtquickcontrols2universalstyleimplplugin
+ URI "QtQuick.Controls.Universal.impl"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QtQuickControls2UniversalStyleImplPlugin
+ GENERATE_QMLTYPES
+ SOURCES
+ qquickuniversalbusyindicator.cpp qquickuniversalbusyindicator_p.h
+ qquickuniversalfocusrectangle.cpp qquickuniversalfocusrectangle_p.h
+ qquickuniversalprogressbar.cpp qquickuniversalprogressbar_p.h
+ qtquickcontrols2universalstyleimplplugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::QmlPrivate
+ Qt::QuickControls2ImplPrivate
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+#### Keys ignored in scope 1:.:.:universal-impl.pro:<TRUE>:
+# OTHER_FILES = "qmldir" "$$QML_FILES"
+# QML_FILES = "$$PWD/CheckIndicator.qml" "$$PWD/RadioIndicator.qml" "$$PWD/SwitchIndicator.qml"
+# QML_IMPORT_NAME = "QtQuick.Controls.Universal.impl"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# QT_FOR_CONFIG = "quickcontrols2-private"
+# TARGETPATH = "QtQuick/Controls/Universal/impl"
+# _REQUIREMENTS = "qtConfig(quickcontrols2-universal)"
+
+set(qml_files
+ "CheckIndicator.qml"
+ "RadioIndicator.qml"
+ "SwitchIndicator.qml"
+)
+set_source_files_properties(CheckIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0"
+)
+set_source_files_properties(RadioIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0"
+)
+set_source_files_properties(SwitchIndicator.qml PROPERTIES
+ QT_QML_SOURCE_VERSION "2.0"
+)
+
+qt6_target_qml_files(qtquickcontrols2universalstyleimplplugin
+ FILES
+ ${qml_files}
+)
diff --git a/src/imports/controlsimpl/.prev_CMakeLists.txt b/src/imports/controlsimpl/.prev_CMakeLists.txt
new file mode 100644
index 00000000..58f7ad8c
--- /dev/null
+++ b/src/imports/controlsimpl/.prev_CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from controlsimpl.pro.
+
+#####################################################################
+## qtquickcontrols2implplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtquickcontrols2implplugin
+ URI "QtQuick.Controls.impl"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ CLASSNAME QtQuickControls2ImplPlugin
+ DEPENDENCIES
+ QtQuick.Templates/2.5
+ SKIP_TYPE_REGISTRATION
+ SOURCES
+ qtquickcontrols2implplugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2ImplPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+#### Keys ignored in scope 1:.:.:controlsimpl.pro:<TRUE>:
+# OTHER_FILES = "qmldir"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "QtQuick/Controls/impl"
diff --git a/src/imports/controlsimpl/CMakeLists.txt b/src/imports/controlsimpl/CMakeLists.txt
new file mode 100644
index 00000000..7b65cccb
--- /dev/null
+++ b/src/imports/controlsimpl/CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from controlsimpl.pro.
+
+#####################################################################
+## qtquickcontrols2implplugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtquickcontrols2implplugin
+ URI "QtQuick.Controls.impl"
+ VERSION "6.0" # special case
+ CLASSNAME QtQuickControls2ImplPlugin
+ DEPENDENCIES
+ QtQuick.Templates/2.5
+ SKIP_TYPE_REGISTRATION
+ SOURCES
+ qtquickcontrols2implplugin.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ Qt::QuickControls2ImplPrivate
+ Qt::QuickControls2Private
+ Qt::QuickPrivate
+ Qt::QuickTemplates2Private
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Qml
+ Qt::Quick
+)
+
+#### Keys ignored in scope 1:.:.:controlsimpl.pro:<TRUE>:
+# OTHER_FILES = "qmldir"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "QtQuick/Controls/impl"
diff --git a/src/imports/platform/CMakeLists.txt b/src/imports/platform/CMakeLists.txt
index b7ea06d3..0db2f60d 100644
--- a/src/imports/platform/CMakeLists.txt
+++ b/src/imports/platform/CMakeLists.txt
@@ -6,7 +6,7 @@
qt_add_qml_module(qtlabsplatformplugin
URI "Qt.labs.platform"
- VERSION "1.0"
+ VERSION "1.1"
CLASSNAME QtLabsPlatformPlugin
SKIP_TYPE_REGISTRATION
SOURCES
@@ -42,7 +42,7 @@ qt_add_qml_module(qtlabsplatformplugin
)
#### Keys ignored in scope 1:.:.:platform.pro:<TRUE>:
-# IMPORT_VERSION = "1.0"
+# IMPORT_VERSION = "1.1"
# OTHER_FILES = "qmldir"
# TARGETPATH = "Qt/labs/platform"
diff --git a/src/imports/templates/.prev_CMakeLists.txt b/src/imports/templates/.prev_CMakeLists.txt
new file mode 100644
index 00000000..178906d7
--- /dev/null
+++ b/src/imports/templates/.prev_CMakeLists.txt
@@ -0,0 +1,35 @@
+# Generated from templates.pro.
+
+#####################################################################
+## qtquicktemplates2plugin Plugin:
+#####################################################################
+
+qt_add_qml_module(qtquicktemplates2plugin
+ URI "QtQuick.Templates"
+ VERSION "${CMAKE_PROJECT_VERSION}"
+ 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>:
+# OTHER_FILES = "qmldir"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
+# TARGETPATH = "QtQuick/Templates"
diff --git a/src/imports/templates/CMakeLists.txt b/src/imports/templates/CMakeLists.txt
index a1d95e94..f37f69a8 100644
--- a/src/imports/templates/CMakeLists.txt
+++ b/src/imports/templates/CMakeLists.txt
@@ -5,9 +5,8 @@
#####################################################################
qt_add_qml_module(qtquicktemplates2plugin
- TARGET_PATH "QtQuick/Templates"
URI "QtQuick.Templates"
- VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
+ VERSION "6.0" # special case
CLASSNAME QtQuickTemplates2Plugin
DEPENDENCIES
QtQuick.Window/2.2
@@ -31,6 +30,6 @@ qt_add_qml_module(qtquicktemplates2plugin
)
#### Keys ignored in scope 1:.:.:templates.pro:<TRUE>:
-# IMPORT_VERSION = "2.$$QT_MINOR_VERSION"
# OTHER_FILES = "qmldir"
+# QML_IMPORT_VERSION = "$$QT_VERSION"
# TARGETPATH = "QtQuick/Templates"