diff options
Diffstat (limited to 'src/imports/controls/windows')
-rw-r--r-- | src/imports/controls/windows/.prev_CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/imports/controls/windows/CMakeLists.txt | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/imports/controls/windows/.prev_CMakeLists.txt b/src/imports/controls/windows/.prev_CMakeLists.txt index d68839b2..cd34864d 100644 --- a/src/imports/controls/windows/.prev_CMakeLists.txt +++ b/src/imports/controls/windows/.prev_CMakeLists.txt @@ -4,7 +4,7 @@ ## qtquickcontrols2windowsstyleplugin Plugin: ##################################################################### -qt_add_qml_module(qtquickcontrols2windowsstyleplugin +qt_internal_add_qml_module(qtquickcontrols2windowsstyleplugin URI "QtQuick.Controls.Windows" VERSION "${CMAKE_PROJECT_VERSION}" CLASSNAME QtQuickControls2WindowsStylePlugin @@ -51,6 +51,7 @@ set(qml_files "SpinBox.qml" "TextArea.qml" "TextField.qml" + "ScrollView.qml" ) set_source_files_properties(Button.qml PROPERTIES QT_QML_SOURCE_VERSION "6.0" @@ -85,6 +86,9 @@ set_source_files_properties(TextArea.qml PROPERTIES set_source_files_properties(TextField.qml PROPERTIES QT_QML_SOURCE_VERSION "6.0" ) +set_source_files_properties(ScrollView.qml PROPERTIES + QT_QML_SOURCE_VERSION "6.0" +) qt6_target_qml_files(qtquickcontrols2windowsstyleplugin FILES diff --git a/src/imports/controls/windows/CMakeLists.txt b/src/imports/controls/windows/CMakeLists.txt index 5e8ddb62..f1d01946 100644 --- a/src/imports/controls/windows/CMakeLists.txt +++ b/src/imports/controls/windows/CMakeLists.txt @@ -4,7 +4,7 @@ ## qtquickcontrols2windowsstyleplugin Plugin: ##################################################################### -qt_add_qml_module(qtquickcontrols2windowsstyleplugin +qt_internal_add_qml_module(qtquickcontrols2windowsstyleplugin URI "QtQuick.Controls.Windows" VERSION "6.0" # special case CLASSNAME QtQuickControls2WindowsStylePlugin @@ -86,6 +86,9 @@ set_source_files_properties(TextArea.qml PROPERTIES set_source_files_properties(TextField.qml PROPERTIES QT_QML_SOURCE_VERSION "6.0" ) +set_source_files_properties(ScrollView.qml PROPERTIES + QT_QML_SOURCE_VERSION "6.0" +) qt6_target_qml_files(qtquickcontrols2windowsstyleplugin FILES |