CMake: Regenerate projects to use new qt_internal_ API

Modify special case locations to use the new API as well.

Task-number: QTBUG-86815
Change-Id: I4a690095fcd4b1141550de86b6820ae2dd579429
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Alexandru Croitor 2020-09-23 11:34:07 +02:00
parent 81e8cd6719
commit ed65d1ab49
71 changed files with 211 additions and 168 deletions

View File

@ -4,7 +4,7 @@
## qtquickcontrols2plugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2plugin
qt_internal_add_qml_module(qtquickcontrols2plugin
URI "QtQuick.Controls"
VERSION "${CMAKE_PROJECT_VERSION}"
DESIGNER_SUPPORTED
@ -39,7 +39,7 @@ qt_add_qml_module(qtquickcontrols2plugin
## Scopes:
#####################################################################
qt_add_docs(qtquickcontrols2plugin
qt_internal_add_docs(qtquickcontrols2plugin
doc/qtquickcontrols.qdocconf
)

View File

@ -4,7 +4,7 @@
## qtquickcontrols2plugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2plugin
qt_internal_add_qml_module(qtquickcontrols2plugin
URI "QtQuick.Controls"
VERSION "6.0" # special case
DESIGNER_SUPPORTED
@ -39,7 +39,7 @@ qt_add_qml_module(qtquickcontrols2plugin
## Scopes:
#####################################################################
qt_add_docs(qtquickcontrols2plugin
qt_internal_add_docs(qtquickcontrols2plugin
doc/qtquickcontrols.qdocconf
)

View File

@ -4,7 +4,7 @@
## qtquickcontrols2basicstyleplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2basicstyleplugin
qt_internal_add_qml_module(qtquickcontrols2basicstyleplugin
URI "QtQuick.Controls.Basic"
VERSION "${CMAKE_PROJECT_VERSION}"
CLASSNAME QtQuickControls2BasicStylePlugin
@ -54,7 +54,7 @@ set(qtquickcontrols2basicstyleplugin_resource_files
"images/drop-indicator@4x.png"
)
qt_add_resource(qtquickcontrols2basicstyleplugin "qtquickcontrols2basicstyleplugin"
qt_internal_add_resource(qtquickcontrols2basicstyleplugin "qtquickcontrols2basicstyleplugin"
PREFIX
"/qt-project.org/imports/QtQuick/Controls/Basic"
FILES

View File

@ -4,7 +4,7 @@
## qtquickcontrols2basicstyleplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2basicstyleplugin
qt_internal_add_qml_module(qtquickcontrols2basicstyleplugin
URI "QtQuick.Controls.Basic"
VERSION "6.0" # special case
CLASSNAME QtQuickControls2BasicStylePlugin
@ -54,7 +54,7 @@ set(qtquickcontrols2basicstyleplugin_resource_files
"images/drop-indicator@4x.png"
)
qt_add_resource(qtquickcontrols2basicstyleplugin "qtquickcontrols2basicstyleplugin"
qt_internal_add_resource(qtquickcontrols2basicstyleplugin "qtquickcontrols2basicstyleplugin"
PREFIX
"/qt-project.org/imports/QtQuick/Controls/Basic"
FILES

View File

@ -4,7 +4,7 @@
## qtquickcontrols2basicstyleimplplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2basicstyleimplplugin
qt_internal_add_qml_module(qtquickcontrols2basicstyleimplplugin
URI "QtQuick.Controls.Basic.impl"
VERSION "${CMAKE_PROJECT_VERSION}"
CLASSNAME QtQuickControls2BasicStyleImplPlugin

View File

@ -4,7 +4,7 @@
## qtquickcontrols2fusionstyleplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2fusionstyleplugin
qt_internal_add_qml_module(qtquickcontrols2fusionstyleplugin
URI "QtQuick.Controls.Fusion"
VERSION "${CMAKE_PROJECT_VERSION}"
CLASSNAME QtQuickControls2FusionStylePlugin
@ -48,7 +48,7 @@ set(qtquickcontrols2fusionstyle_resource_files
"images/progressmask@4x.png"
)
qt_add_resource(qtquickcontrols2fusionstyleplugin "qtquickcontrols2fusionstyle"
qt_internal_add_resource(qtquickcontrols2fusionstyleplugin "qtquickcontrols2fusionstyle"
PREFIX
"/qt-project.org/imports/QtQuick/Controls/Fusion"
FILES
@ -95,6 +95,7 @@ set(qml_files
"RangeSlider.qml"
"RoundButton.qml"
"ScrollBar.qml"
"ScrollView.qml"
"ScrollIndicator.qml"
"Slider.qml"
"SpinBox.qml"
@ -206,6 +207,9 @@ set_source_files_properties(RoundButton.qml PROPERTIES
set_source_files_properties(ScrollBar.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ScrollView.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"
)

View File

@ -4,7 +4,7 @@
## qtquickcontrols2fusionstyleplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2fusionstyleplugin
qt_internal_add_qml_module(qtquickcontrols2fusionstyleplugin
URI "QtQuick.Controls.Fusion"
VERSION "6.0" # special case
CLASSNAME QtQuickControls2FusionStylePlugin
@ -48,7 +48,7 @@ set(qtquickcontrols2fusionstyle_resource_files
"images/progressmask@4x.png"
)
qt_add_resource(qtquickcontrols2fusionstyleplugin "qtquickcontrols2fusionstyle"
qt_internal_add_resource(qtquickcontrols2fusionstyleplugin "qtquickcontrols2fusionstyle"
PREFIX
"/qt-project.org/imports/QtQuick/Controls/Fusion"
FILES
@ -94,8 +94,8 @@ set(qml_files
"RadioDelegate.qml"
"RangeSlider.qml"
"RoundButton.qml"
"ScrollView.qml"
"ScrollBar.qml"
"ScrollView.qml"
"ScrollIndicator.qml"
"Slider.qml"
"SpinBox.qml"
@ -207,6 +207,9 @@ set_source_files_properties(RoundButton.qml PROPERTIES
set_source_files_properties(ScrollBar.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ScrollView.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"
)

View File

@ -4,7 +4,7 @@
## qtquickcontrols2fusionstyleimplplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2fusionstyleimplplugin
qt_internal_add_qml_module(qtquickcontrols2fusionstyleimplplugin
URI "QtQuick.Controls.Fusion.impl"
VERSION "${CMAKE_PROJECT_VERSION}"
CLASSNAME QtQuickControls2FusionStyleImpPlugin

View File

@ -4,7 +4,7 @@
## qtquickcontrols2imaginestyleplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2imaginestyleplugin
qt_internal_add_qml_module(qtquickcontrols2imaginestyleplugin
URI "QtQuick.Controls.Imagine"
VERSION "${CMAKE_PROJECT_VERSION}"
CLASSNAME QtQuickControls2ImagineStylePlugin
@ -49,7 +49,7 @@ set(qmake_qtquickcontrols2imaginestyle_resource_files
${resource_glob_1}
)
qt_add_resource(qtquickcontrols2imaginestyleplugin "qmake_qtquickcontrols2imaginestyle"
qt_internal_add_resource(qtquickcontrols2imaginestyleplugin "qmake_qtquickcontrols2imaginestyle"
PREFIX
"qt-project.org/imports/QtQuick/Controls/Imagine"
FILES
@ -93,6 +93,7 @@ set(qml_files
"RadioDelegate.qml"
"RangeSlider.qml"
"RoundButton.qml"
"ScrollView.qml"
"ScrollBar.qml"
"ScrollIndicator.qml"
"Slider.qml"
@ -198,6 +199,9 @@ set_source_files_properties(RangeSlider.qml PROPERTIES
set_source_files_properties(RoundButton.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(ScrollView.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ScrollBar.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.0;6.0"
)

View File

@ -4,7 +4,7 @@
## qtquickcontrols2imaginestyleplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2imaginestyleplugin
qt_internal_add_qml_module(qtquickcontrols2imaginestyleplugin
URI "QtQuick.Controls.Imagine"
VERSION "6.0" # special case
CLASSNAME QtQuickControls2ImagineStylePlugin
@ -49,7 +49,7 @@ set(qmake_qtquickcontrols2imaginestyle_resource_files
${resource_glob_1}
)
qt_add_resource(qtquickcontrols2imaginestyleplugin "qmake_qtquickcontrols2imaginestyle"
qt_internal_add_resource(qtquickcontrols2imaginestyleplugin "qmake_qtquickcontrols2imaginestyle"
PREFIX
"qt-project.org/imports/QtQuick/Controls/Imagine"
FILES
@ -93,6 +93,7 @@ set(qml_files
"RadioDelegate.qml"
"RangeSlider.qml"
"RoundButton.qml"
"ScrollView.qml"
"ScrollBar.qml"
"ScrollIndicator.qml"
"Slider.qml"
@ -198,6 +199,9 @@ set_source_files_properties(RangeSlider.qml PROPERTIES
set_source_files_properties(RoundButton.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(ScrollView.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ScrollBar.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.0;6.0"
)

View File

@ -4,7 +4,7 @@
## qtquickcontrols2imaginestyleimplplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2imaginestyleimplplugin
qt_internal_add_qml_module(qtquickcontrols2imaginestyleimplplugin
URI "QtQuick.Controls.Imagine.impl"
VERSION "${CMAKE_PROJECT_VERSION}"
CLASSNAME QtQuickControls2ImagineStyleImplPlugin
@ -37,7 +37,7 @@ set(qmake_qtquickcontrols2imaginestyleimpl_resource_files
"shaders/OpacityMask.frag"
)
qt_add_resource(qtquickcontrols2imaginestyleimplplugin "qmake_qtquickcontrols2imaginestyleimpl"
qt_internal_add_resource(qtquickcontrols2imaginestyleimplplugin "qmake_qtquickcontrols2imaginestyleimpl"
PREFIX
"qt-project.org/imports/QtQuick/Controls/Imagine/impl"
FILES

View File

@ -4,7 +4,7 @@
## qtquickcontrols2macosstyleplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2macosstyleplugin
qt_internal_add_qml_module(qtquickcontrols2macosstyleplugin
URI "QtQuick.Controls.macOS"
VERSION "${CMAKE_PROJECT_VERSION}"
CLASSNAME QtQuickControls2MacOSStylePlugin
@ -50,6 +50,7 @@ set(qml_files
"Frame.qml"
"TextArea.qml"
"ComboBox.qml"
"ScrollView.qml"
"ScrollBar.qml"
"ProgressBar.qml"
"Dial.qml"
@ -84,6 +85,9 @@ set_source_files_properties(TextArea.qml PROPERTIES
set_source_files_properties(ComboBox.qml PROPERTIES
QT_QML_SOURCE_VERSION "6.0"
)
set_source_files_properties(ScrollView.qml PROPERTIES
QT_QML_SOURCE_VERSION "6.0"
)
set_source_files_properties(ScrollBar.qml PROPERTIES
QT_QML_SOURCE_VERSION "6.0"
)

View File

@ -4,7 +4,7 @@
## qtquickcontrols2macosstyleplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2macosstyleplugin
qt_internal_add_qml_module(qtquickcontrols2macosstyleplugin
URI "QtQuick.Controls.macOS"
VERSION "6.0" # special case
CLASSNAME QtQuickControls2MacOSStylePlugin
@ -85,6 +85,9 @@ set_source_files_properties(TextArea.qml PROPERTIES
set_source_files_properties(ComboBox.qml PROPERTIES
QT_QML_SOURCE_VERSION "6.0"
)
set_source_files_properties(ScrollView.qml PROPERTIES
QT_QML_SOURCE_VERSION "6.0"
)
set_source_files_properties(ScrollBar.qml PROPERTIES
QT_QML_SOURCE_VERSION "6.0"
)

View File

@ -4,7 +4,7 @@
## qtquickcontrols2materialstyleplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2materialstyleplugin
qt_internal_add_qml_module(qtquickcontrols2materialstyleplugin
URI "QtQuick.Controls.Material"
VERSION "${CMAKE_PROJECT_VERSION}"
CLASSNAME QtQuickControls2MaterialStylePlugin
@ -53,7 +53,7 @@ set(qtquickcontrols2materialstyleplugin_resource_files
"shaders/RectangularGlow.frag"
)
qt_add_resource(qtquickcontrols2materialstyleplugin "qtquickcontrols2materialstyleplugin"
qt_internal_add_resource(qtquickcontrols2materialstyleplugin "qtquickcontrols2materialstyleplugin"
PREFIX
"/qt-project.org/imports/QtQuick/Controls/Material"
FILES
@ -99,6 +99,7 @@ set(qml_files
"RadioDelegate.qml"
"RangeSlider.qml"
"RoundButton.qml"
"ScrollView.qml"
"ScrollBar.qml"
"ScrollIndicator.qml"
"Slider.qml"
@ -210,6 +211,9 @@ set_source_files_properties(RangeSlider.qml PROPERTIES
set_source_files_properties(RoundButton.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(ScrollView.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ScrollBar.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.0;6.0"
)

View File

@ -4,7 +4,7 @@
## qtquickcontrols2materialstyleplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2materialstyleplugin
qt_internal_add_qml_module(qtquickcontrols2materialstyleplugin
URI "QtQuick.Controls.Material"
VERSION "6.0" # special case
CLASSNAME QtQuickControls2MaterialStylePlugin
@ -53,7 +53,7 @@ set(qtquickcontrols2materialstyleplugin_resource_files
"shaders/RectangularGlow.frag"
)
qt_add_resource(qtquickcontrols2materialstyleplugin "qtquickcontrols2materialstyleplugin"
qt_internal_add_resource(qtquickcontrols2materialstyleplugin "qtquickcontrols2materialstyleplugin"
PREFIX
"/qt-project.org/imports/QtQuick/Controls/Material"
FILES
@ -211,6 +211,9 @@ set_source_files_properties(RangeSlider.qml PROPERTIES
set_source_files_properties(RoundButton.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(ScrollView.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ScrollBar.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.0;6.0"
)

View File

@ -4,7 +4,7 @@
## qtquickcontrols2materialstyleimplplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2materialstyleimplplugin
qt_internal_add_qml_module(qtquickcontrols2materialstyleimplplugin
URI "QtQuick.Controls.Material.impl"
VERSION "${CMAKE_PROJECT_VERSION}"
CLASSNAME QtQuickControls2MaterialStyleImplPlugin

View File

@ -4,7 +4,7 @@
## qtquickcontrols2universalstyleplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2universalstyleplugin
qt_internal_add_qml_module(qtquickcontrols2universalstyleplugin
URI "QtQuick.Controls.Universal"
VERSION "${CMAKE_PROJECT_VERSION}"
CLASSNAME QtQuickControls2UniversalStylePlugin
@ -53,7 +53,7 @@ set(qtquickcontrols2universalstyleplugin_resource_files
"images/rightarrow@4x.png"
)
qt_add_resource(qtquickcontrols2universalstyleplugin "qtquickcontrols2universalstyleplugin"
qt_internal_add_resource(qtquickcontrols2universalstyleplugin "qtquickcontrols2universalstyleplugin"
PREFIX
"/qt-project.org/imports/QtQuick/Controls/Universal"
FILES
@ -99,6 +99,7 @@ set(qml_files
"RadioDelegate.qml"
"RangeSlider.qml"
"RoundButton.qml"
"ScrollView.qml"
"ScrollBar.qml"
"ScrollIndicator.qml"
"Slider.qml"
@ -209,6 +210,9 @@ set_source_files_properties(RangeSlider.qml PROPERTIES
set_source_files_properties(RoundButton.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(ScrollView.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ScrollBar.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.0;6.0"
)

View File

@ -4,7 +4,7 @@
## qtquickcontrols2universalstyleplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2universalstyleplugin
qt_internal_add_qml_module(qtquickcontrols2universalstyleplugin
URI "QtQuick.Controls.Universal"
VERSION "6.0" # special case
CLASSNAME QtQuickControls2UniversalStylePlugin
@ -53,7 +53,7 @@ set(qtquickcontrols2universalstyleplugin_resource_files
"images/rightarrow@4x.png"
)
qt_add_resource(qtquickcontrols2universalstyleplugin "qtquickcontrols2universalstyleplugin"
qt_internal_add_resource(qtquickcontrols2universalstyleplugin "qtquickcontrols2universalstyleplugin"
PREFIX
"/qt-project.org/imports/QtQuick/Controls/Universal"
FILES
@ -210,6 +210,9 @@ set_source_files_properties(RangeSlider.qml PROPERTIES
set_source_files_properties(RoundButton.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.1;6.0"
)
set_source_files_properties(ScrollView.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.0;6.0"
)
set_source_files_properties(ScrollBar.qml PROPERTIES
QT_QML_SOURCE_VERSION "2.0;6.0"
)

View File

@ -4,7 +4,7 @@
## qtquickcontrols2universalstyleimplplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2universalstyleimplplugin
qt_internal_add_qml_module(qtquickcontrols2universalstyleimplplugin
URI "QtQuick.Controls.Universal.impl"
VERSION "${CMAKE_PROJECT_VERSION}"
CLASSNAME QtQuickControls2UniversalStyleImplPlugin

View File

@ -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

View File

@ -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

View File

@ -4,7 +4,7 @@
## qtquickcontrols2implplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2implplugin
qt_internal_add_qml_module(qtquickcontrols2implplugin
URI "QtQuick.Controls.impl"
VERSION "${CMAKE_PROJECT_VERSION}"
CLASSNAME QtQuickControls2ImplPlugin

View File

@ -4,7 +4,7 @@
## qtquickcontrols2implplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2implplugin
qt_internal_add_qml_module(qtquickcontrols2implplugin
URI "QtQuick.Controls.impl"
VERSION "6.0" # special case
CLASSNAME QtQuickControls2ImplPlugin

View File

@ -4,7 +4,7 @@
## qtquickcontrols2nativestyleplugin Plugin:
#####################################################################
qt_add_qml_module(qtquickcontrols2nativestyleplugin
qt_internal_add_qml_module(qtquickcontrols2nativestyleplugin
URI "QtQuick.NativeStyle"
VERSION "6.0"
CLASSNAME QtQuickControls2NativeStylePlugin
@ -66,7 +66,7 @@ qt_add_qml_module(qtquickcontrols2nativestyleplugin
## Scopes:
#####################################################################
qt_extend_target(qtquickcontrols2nativestyleplugin CONDITION MACOS
qt_internal_extend_target(qtquickcontrols2nativestyleplugin CONDITION MACOS
SOURCES
qstyle/mac/qquickmacstyle_mac.mm qstyle/mac/qquickmacstyle_mac_p.h
qstyle/mac/qquickmacstyle_mac_p_p.h
@ -83,7 +83,7 @@ if(MACOS)
"util/FocusFrame.qml"
)
qt_add_resource(qtquickcontrols2nativestyleplugin "qmake_immediate"
qt_internal_add_resource(qtquickcontrols2nativestyleplugin "qmake_immediate"
PREFIX
"/"
FILES
@ -91,7 +91,7 @@ if(MACOS)
)
endif()
qt_extend_target(qtquickcontrols2nativestyleplugin CONDITION WIN32
qt_internal_extend_target(qtquickcontrols2nativestyleplugin CONDITION WIN32
SOURCES
qstyle/windows/qquickwindowsstyle.cpp qstyle/windows/qquickwindowsstyle_p.h
qstyle/windows/qquickwindowsstyle_p_p.h

View File

@ -4,7 +4,7 @@
## qtlabsplatformplugin Plugin:
#####################################################################
qt_add_qml_module(qtlabsplatformplugin
qt_internal_add_qml_module(qtlabsplatformplugin
URI "Qt.labs.platform"
VERSION "1.1"
CLASSNAME QtLabsPlatformPlugin
@ -49,54 +49,54 @@ qt_add_qml_module(qtlabsplatformplugin
## Scopes:
#####################################################################
qt_extend_target(qtlabsplatformplugin CONDITION TARGET Qt::Widgets
qt_internal_extend_target(qtlabsplatformplugin CONDITION TARGET Qt::Widgets
SOURCES
widgets/qwidgetplatform_p.h
PUBLIC_LIBRARIES
Qt::Widgets
)
qt_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_systemtrayicon AND TARGET Qt::Widgets
qt_internal_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_systemtrayicon AND TARGET Qt::Widgets
SOURCES
widgets/qwidgetplatformsystemtrayicon.cpp widgets/qwidgetplatformsystemtrayicon_p.h
)
qt_extend_target(qtlabsplatformplugin CONDITION TARGET Qt::Widgets AND (QT_FEATURE_colordialog OR QT_FEATURE_filedialog OR QT_FEATURE_fontdialog OR QT_FEATURE_messagebox)
qt_internal_extend_target(qtlabsplatformplugin CONDITION TARGET Qt::Widgets AND (QT_FEATURE_colordialog OR QT_FEATURE_filedialog OR QT_FEATURE_fontdialog OR QT_FEATURE_messagebox)
SOURCES
widgets/qwidgetplatformdialog.cpp widgets/qwidgetplatformdialog_p.h
)
qt_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_colordialog AND TARGET Qt::Widgets
qt_internal_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_colordialog AND TARGET Qt::Widgets
SOURCES
widgets/qwidgetplatformcolordialog.cpp widgets/qwidgetplatformcolordialog_p.h
)
qt_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_filedialog AND TARGET Qt::Widgets
qt_internal_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_filedialog AND TARGET Qt::Widgets
SOURCES
widgets/qwidgetplatformfiledialog.cpp widgets/qwidgetplatformfiledialog_p.h
)
qt_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_fontdialog AND TARGET Qt::Widgets
qt_internal_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_fontdialog AND TARGET Qt::Widgets
SOURCES
widgets/qwidgetplatformfontdialog.cpp widgets/qwidgetplatformfontdialog_p.h
)
qt_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_menu AND TARGET Qt::Widgets
qt_internal_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_menu AND TARGET Qt::Widgets
SOURCES
widgets/qwidgetplatformmenu.cpp widgets/qwidgetplatformmenu_p.h
widgets/qwidgetplatformmenuitem.cpp widgets/qwidgetplatformmenuitem_p.h
)
qt_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_messagebox AND TARGET Qt::Widgets
qt_internal_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_messagebox AND TARGET Qt::Widgets
SOURCES
widgets/qwidgetplatformmessagedialog.cpp widgets/qwidgetplatformmessagedialog_p.h
)
qt_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_systemtrayicon
qt_internal_extend_target(qtlabsplatformplugin CONDITION QT_FEATURE_systemtrayicon
SOURCES
qquickplatformsystemtrayicon.cpp qquickplatformsystemtrayicon_p.h
)
qt_add_docs(qtlabsplatformplugin
qt_internal_add_docs(qtlabsplatformplugin
doc/qtlabsplatform.qdocconf
)

View File

@ -4,7 +4,7 @@
## qtquicktemplates2plugin Plugin:
#####################################################################
qt_add_qml_module(qtquicktemplates2plugin
qt_internal_add_qml_module(qtquicktemplates2plugin
URI "QtQuick.Templates"
VERSION "${CMAKE_PROJECT_VERSION}"
CLASSNAME QtQuickTemplates2Plugin

View File

@ -4,7 +4,7 @@
## qtquicktemplates2plugin Plugin:
#####################################################################
qt_add_qml_module(qtquicktemplates2plugin
qt_internal_add_qml_module(qtquicktemplates2plugin
URI "QtQuick.Templates"
VERSION "6.0" # special case
CLASSNAME QtQuickTemplates2Plugin

View File

@ -4,7 +4,7 @@
## QuickControls2 Module:
#####################################################################
qt_add_module(QuickControls2
qt_internal_add_module(QuickControls2
GENERATE_METATYPES
SOURCES
qquickdummyregistration_p.h

View File

@ -4,7 +4,7 @@
## QuickControls2Impl Module:
#####################################################################
qt_add_module(QuickControls2Impl
qt_internal_add_module(QuickControls2Impl
GENERATE_METATYPES
SOURCES
qquickanimatednode.cpp qquickanimatednode_p.h
@ -48,7 +48,7 @@ qt_add_module(QuickControls2Impl
## Scopes:
#####################################################################
qt_extend_target(QuickControls2Impl CONDITION QT_FEATURE_quick_listview AND QT_FEATURE_quick_pathview
qt_internal_extend_target(QuickControls2Impl CONDITION QT_FEATURE_quick_listview AND QT_FEATURE_quick_pathview
SOURCES
qquicktumblerview.cpp qquicktumblerview_p.h
)

View File

@ -4,7 +4,7 @@
## QuickTemplates2 Module:
#####################################################################
qt_add_module(QuickTemplates2
qt_internal_add_module(QuickTemplates2
GENERATE_METATYPES
SOURCES
qquickabstractbutton.cpp qquickabstractbutton_p.h
@ -138,7 +138,7 @@ qt_add_module(QuickTemplates2
## Scopes:
#####################################################################
qt_extend_target(QuickTemplates2 CONDITION TARGET Qt::QmlModels
qt_internal_extend_target(QuickTemplates2 CONDITION TARGET Qt::QmlModels
LIBRARIES
Qt::QmlModelsPrivate
PUBLIC_LIBRARIES
@ -147,7 +147,7 @@ qt_extend_target(QuickTemplates2 CONDITION TARGET Qt::QmlModels
Qt::QmlModelsPrivate
)
qt_extend_target(QuickTemplates2 CONDITION QT_FEATURE_quick_listview AND QT_FEATURE_quick_pathview
qt_internal_extend_target(QuickTemplates2 CONDITION QT_FEATURE_quick_listview AND QT_FEATURE_quick_pathview
SOURCES
qquicktumbler.cpp qquicktumbler_p.h
qquicktumbler_p_p.h

View File

@ -14,7 +14,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_accessibility
qt_internal_add_test(tst_accessibility
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -42,12 +42,12 @@ qt_add_test(tst_accessibility
## Scopes:
#####################################################################
qt_extend_target(tst_accessibility CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_accessibility CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_accessibility CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_accessibility CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
${CMAKE_CURRENT_SOURCE_DIR}/../data/tst_*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_basic
qt_internal_add_test(tst_basic
GUI
QMLTEST
SOURCES

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
${CMAKE_CURRENT_SOURCE_DIR}/../data/tst_*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_fusion
qt_internal_add_test(tst_fusion
GUI
QMLTEST
SOURCES

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
${CMAKE_CURRENT_SOURCE_DIR}/../data/tst_*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_imagine
qt_internal_add_test(tst_imagine
GUI
QMLTEST
SOURCES

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
${CMAKE_CURRENT_SOURCE_DIR}/../data/tst_*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_material
qt_internal_add_test(tst_material
GUI
QMLTEST
SOURCES

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
${CMAKE_CURRENT_SOURCE_DIR}/../data/tst_*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_universal
qt_internal_add_test(tst_universal
GUI
QMLTEST
SOURCES

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_cursor
qt_internal_add_test(tst_cursor
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -37,12 +37,12 @@ qt_add_test(tst_cursor
## Scopes:
#####################################################################
qt_extend_target(tst_cursor CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_cursor CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_cursor CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_cursor CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_customization
qt_internal_add_test(tst_customization
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -34,12 +34,12 @@ qt_add_test(tst_customization
## Scopes:
#####################################################################
qt_extend_target(tst_customization CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_customization CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_customization CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_customization CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -4,7 +4,7 @@
## tst_designer Test:
#####################################################################
qt_add_test(tst_designer
qt_internal_add_test(tst_designer
SOURCES
tst_designer.cpp
PUBLIC_LIBRARIES

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_focus
qt_internal_add_test(tst_focus
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -34,12 +34,12 @@ qt_add_test(tst_focus
## Scopes:
#####################################################################
qt_extend_target(tst_focus CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_focus CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_focus CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_focus CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_font
qt_internal_add_test(tst_font
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -37,12 +37,12 @@ qt_add_test(tst_font
## Scopes:
#####################################################################
qt_extend_target(tst_font CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_font CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_font CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_font CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_palette
qt_internal_add_test(tst_palette
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -36,7 +36,7 @@ set(qmake_immediate_resource_files
"qtquickcontrols2.conf"
)
qt_add_resource(tst_palette "qmake_immediate"
qt_internal_add_resource(tst_palette "qmake_immediate"
PREFIX
"/"
FILES
@ -50,12 +50,12 @@ qt_add_resource(tst_palette "qmake_immediate"
## Scopes:
#####################################################################
qt_extend_target(tst_palette CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_palette CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_palette CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_palette CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
${CMAKE_CURRENT_SOURCE_DIR}/data/tst_*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_platform
qt_internal_add_test(tst_platform
GUI
QMLTEST
SOURCES

View File

@ -4,7 +4,7 @@
## tst_pressandhold Test:
#####################################################################
qt_add_test(tst_pressandhold
qt_internal_add_test(tst_pressandhold
SOURCES
tst_pressandhold.cpp
PUBLIC_LIBRARIES

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_qquickapplicationwindow
qt_internal_add_test(tst_qquickapplicationwindow
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -37,12 +37,12 @@ qt_add_test(tst_qquickapplicationwindow
## Scopes:
#####################################################################
qt_extend_target(tst_qquickapplicationwindow CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_qquickapplicationwindow CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_qquickapplicationwindow CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_qquickapplicationwindow CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
${CMAKE_CURRENT_SOURCE_DIR}/data/tst_*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_qquickcolor
qt_internal_add_test(tst_qquickcolor
GUI
QMLTEST
SOURCES

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_qquickcontrol
qt_internal_add_test(tst_qquickcontrol
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -37,12 +37,12 @@ qt_add_test(tst_qquickcontrol
## Scopes:
#####################################################################
qt_extend_target(tst_qquickcontrol CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_qquickcontrol CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_qquickcontrol CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_qquickcontrol CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_qquickdrawer
qt_internal_add_test(tst_qquickdrawer
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -37,12 +37,12 @@ qt_add_test(tst_qquickdrawer
## Scopes:
#####################################################################
qt_extend_target(tst_qquickdrawer CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_qquickdrawer CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_qquickdrawer CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_qquickdrawer CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_qquickheaderview
qt_internal_add_test(tst_qquickheaderview
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -38,12 +38,12 @@ qt_add_test(tst_qquickheaderview
## Scopes:
#####################################################################
qt_extend_target(tst_qquickheaderview CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_qquickheaderview CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_qquickheaderview CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_qquickheaderview CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -14,7 +14,7 @@ file(GLOB_RECURSE test_data_glob
${CMAKE_CURRENT_SOURCE_DIR}/data/icons/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_qquickiconimage
qt_internal_add_test(tst_qquickiconimage
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -57,7 +57,7 @@ set(resources_resource_files
"icons/testtheme/index.theme"
)
qt_add_resource(tst_qquickiconimage "resources"
qt_internal_add_resource(tst_qquickiconimage "resources"
PREFIX
"/"
FILES
@ -68,17 +68,17 @@ qt_add_resource(tst_qquickiconimage "resources"
## Scopes:
#####################################################################
qt_extend_target(tst_qquickiconimage CONDITION TARGET Qt::Svg
qt_internal_extend_target(tst_qquickiconimage CONDITION TARGET Qt::Svg
PUBLIC_LIBRARIES
Qt::Svg
)
qt_extend_target(tst_qquickiconimage CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_qquickiconimage CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_qquickiconimage CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_qquickiconimage CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
${CMAKE_CURRENT_SOURCE_DIR}/data/*.qml)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_qquickiconlabel
qt_internal_add_test(tst_qquickiconlabel
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -39,12 +39,12 @@ qt_add_test(tst_qquickiconlabel
## Scopes:
#####################################################################
qt_extend_target(tst_qquickiconlabel CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_qquickiconlabel CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_qquickiconlabel CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_qquickiconlabel CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
${CMAKE_CURRENT_SOURCE_DIR}/data/tst_*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_qquickimaginestyle
qt_internal_add_test(tst_qquickimaginestyle
GUI
QMLTEST
SOURCES
@ -28,7 +28,7 @@ set(qmake_immediate_resource_files
"test-assets/button-background-2.png"
)
qt_add_resource(tst_qquickimaginestyle "qmake_immediate"
qt_internal_add_resource(tst_qquickimaginestyle "qmake_immediate"
PREFIX
"/"
FILES

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
${CMAKE_CURRENT_SOURCE_DIR}/data/tst_*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_qquickmaterialstyle
qt_internal_add_test(tst_qquickmaterialstyle
GUI
QMLTEST
SOURCES
@ -26,7 +26,7 @@ set(qmake_immediate_resource_files
"qtquickcontrols2.conf"
)
qt_add_resource(tst_qquickmaterialstyle "qmake_immediate"
qt_internal_add_resource(tst_qquickmaterialstyle "qmake_immediate"
PREFIX
"/"
FILES

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_qquickmaterialstyleconf
qt_internal_add_test(tst_qquickmaterialstyleconf
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -38,7 +38,7 @@ set(qquickmaterialstyleconf_resource_files
"variant-normal.conf"
)
qt_add_resource(tst_qquickmaterialstyleconf "qquickmaterialstyleconf"
qt_internal_add_resource(tst_qquickmaterialstyleconf "qquickmaterialstyleconf"
PREFIX
"/"
FILES
@ -52,12 +52,12 @@ qt_add_resource(tst_qquickmaterialstyleconf "qquickmaterialstyleconf"
## Scopes:
#####################################################################
qt_extend_target(tst_qquickmaterialstyleconf CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_qquickmaterialstyleconf CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_qquickmaterialstyleconf CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_qquickmaterialstyleconf CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_qquickmenu
qt_internal_add_test(tst_qquickmenu
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -37,12 +37,12 @@ qt_add_test(tst_qquickmenu
## Scopes:
#####################################################################
qt_extend_target(tst_qquickmenu CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_qquickmenu CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_qquickmenu CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_qquickmenu CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_qquickmenubar
qt_internal_add_test(tst_qquickmenubar
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -37,12 +37,12 @@ qt_add_test(tst_qquickmenubar
## Scopes:
#####################################################################
qt_extend_target(tst_qquickmenubar CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_qquickmenubar CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_qquickmenubar CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_qquickmenubar CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -14,7 +14,7 @@ file(GLOB_RECURSE test_data_glob
${CMAKE_CURRENT_SOURCE_DIR}/data/*.png)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_qquickninepatchimage
qt_internal_add_test(tst_qquickninepatchimage
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -44,12 +44,12 @@ qt_add_test(tst_qquickninepatchimage
## Scopes:
#####################################################################
qt_extend_target(tst_qquickninepatchimage CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_qquickninepatchimage CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_qquickninepatchimage CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_qquickninepatchimage CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_qquickpopup
qt_internal_add_test(tst_qquickpopup
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -37,12 +37,12 @@ qt_add_test(tst_qquickpopup
## Scopes:
#####################################################################
qt_extend_target(tst_qquickpopup CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_qquickpopup CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_qquickpopup CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_qquickpopup CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
${CMAKE_CURRENT_SOURCE_DIR}/data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_qquickstyle
qt_internal_add_test(tst_qquickstyle
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -41,7 +41,7 @@ set(qmake_custom_resource_files
"data/Custom/qmldir"
)
qt_add_resource(tst_qquickstyle "qmake_custom"
qt_internal_add_resource(tst_qquickstyle "qmake_custom"
PREFIX
"/"
FILES
@ -55,12 +55,12 @@ qt_add_resource(tst_qquickstyle "qmake_custom"
## Scopes:
#####################################################################
qt_extend_target(tst_qquickstyle CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_qquickstyle CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_qquickstyle CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_qquickstyle CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
${CMAKE_CURRENT_SOURCE_DIR}/data/tst_*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_qquickuniversalstyle
qt_internal_add_test(tst_qquickuniversalstyle
GUI
QMLTEST
SOURCES
@ -25,7 +25,7 @@ set(qmake_immediate_resource_files
"qtquickcontrols2.conf"
)
qt_add_resource(tst_qquickuniversalstyle "qmake_immediate"
qt_internal_add_resource(tst_qquickuniversalstyle "qmake_immediate"
PREFIX
"/"
FILES

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_qquickuniversalstyleconf
qt_internal_add_test(tst_qquickuniversalstyleconf
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -36,7 +36,7 @@ set(qquickuniversalstyleconf_resource_files
"qtquickcontrols2.conf"
)
qt_add_resource(tst_qquickuniversalstyleconf "qquickuniversalstyleconf"
qt_internal_add_resource(tst_qquickuniversalstyleconf "qquickuniversalstyleconf"
PREFIX
"/"
FILES
@ -50,12 +50,12 @@ qt_add_resource(tst_qquickuniversalstyleconf "qquickuniversalstyleconf"
## Scopes:
#####################################################################
qt_extend_target(tst_qquickuniversalstyleconf CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_qquickuniversalstyleconf CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_qquickuniversalstyleconf CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_qquickuniversalstyleconf CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -4,7 +4,7 @@
## tst_revisions Test:
#####################################################################
qt_add_test(tst_revisions
qt_internal_add_test(tst_revisions
SOURCES
tst_revisions.cpp
PUBLIC_LIBRARIES

View File

@ -4,7 +4,7 @@
## tst_sanity Test:
#####################################################################
qt_add_test(tst_sanity
qt_internal_add_test(tst_sanity
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -32,12 +32,12 @@ qt_add_test(tst_sanity
## Scopes:
#####################################################################
qt_extend_target(tst_sanity CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_sanity CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_sanity CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_sanity CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
${CMAKE_CURRENT_SOURCE_DIR}/data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_snippets
qt_internal_add_test(tst_snippets
SOURCES
tst_snippets.cpp
DEFINES
@ -28,7 +28,7 @@ set(qmake_immediate_resource_files
"qtquickcontrols2.conf"
)
qt_add_resource(tst_snippets "qmake_immediate"
qt_internal_add_resource(tst_snippets "qmake_immediate"
PREFIX
"/"
FILES

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_styleimports
qt_internal_add_test(tst_styleimports
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -38,7 +38,7 @@ set(qmake_resourcestyle_resource_files
"resources/ResourceStyle/qmldir"
)
qt_add_resource(tst_styleimports "qmake_resourcestyle"
qt_internal_add_resource(tst_styleimports "qmake_resourcestyle"
PREFIX
"/"
BASE
@ -54,12 +54,12 @@ qt_add_resource(tst_styleimports "qmake_resourcestyle"
## Scopes:
#####################################################################
qt_extend_target(tst_styleimports CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_styleimports CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_styleimports CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_styleimports CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_styleimports
qt_internal_add_test(tst_styleimports
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -38,7 +38,7 @@ set(qmake_resourcestyle_resource_files
"ResourceStyle/qmldir" # special case
)
qt_add_resource(tst_styleimports "qmake_resourcestyle"
qt_internal_add_resource(tst_styleimports "qmake_resourcestyle"
PREFIX
"/"
BASE
@ -54,12 +54,12 @@ qt_add_resource(tst_styleimports "qmake_resourcestyle"
## Scopes:
#####################################################################
qt_extend_target(tst_styleimports CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_styleimports CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_styleimports CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_styleimports CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_styleimportscompiletimematerial
qt_internal_add_test(tst_styleimportscompiletimematerial
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -37,12 +37,12 @@ qt_add_test(tst_styleimportscompiletimematerial
## Scopes:
#####################################################################
qt_extend_target(tst_styleimportscompiletimematerial CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_styleimportscompiletimematerial CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_styleimportscompiletimematerial CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_styleimportscompiletimematerial CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_styleimportscompiletimeqmlonly
qt_internal_add_test(tst_styleimportscompiletimeqmlonly
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -37,12 +37,12 @@ qt_add_test(tst_styleimportscompiletimeqmlonly
## Scopes:
#####################################################################
qt_extend_target(tst_styleimportscompiletimeqmlonly CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_styleimportscompiletimeqmlonly CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_styleimportscompiletimeqmlonly CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_styleimportscompiletimeqmlonly CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
qt_add_test(tst_translation
qt_internal_add_test(tst_translation
SOURCES
../shared/qtest_quickcontrols.h
../shared/util.cpp ../shared/util.h
@ -37,7 +37,7 @@ set(qmake_immediate_resource_files
"qtbase_fr.qm"
)
qt_add_resource(tst_translation "qmake_immediate"
qt_internal_add_resource(tst_translation "qmake_immediate"
PREFIX
"/"
FILES
@ -51,12 +51,12 @@ qt_add_resource(tst_translation "qmake_immediate"
## Scopes:
#####################################################################
qt_extend_target(tst_translation CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_translation CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_translation CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_translation CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -4,7 +4,7 @@
## tst_creationtime Test:
#####################################################################
qt_add_test(tst_creationtime
qt_internal_add_test(tst_creationtime
SOURCES
../../auto/shared/qtest_quickcontrols.h
../../auto/shared/util.cpp ../../auto/shared/util.h
@ -31,12 +31,12 @@ qt_add_test(tst_creationtime
## Scopes:
#####################################################################
qt_extend_target(tst_creationtime CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_creationtime CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_creationtime CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_creationtime CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)

View File

@ -4,7 +4,7 @@
## tst_objectcount Test:
#####################################################################
qt_add_test(tst_objectcount
qt_internal_add_test(tst_objectcount
SOURCES
../../auto/shared/qtest_quickcontrols.h
../../auto/shared/util.cpp ../../auto/shared/util.h
@ -31,12 +31,12 @@ qt_add_test(tst_objectcount
## Scopes:
#####################################################################
qt_extend_target(tst_objectcount CONDITION ANDROID OR IOS
qt_internal_extend_target(tst_objectcount CONDITION ANDROID OR IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
qt_extend_target(tst_objectcount CONDITION NOT ANDROID AND NOT IOS
qt_internal_extend_target(tst_objectcount CONDITION NOT ANDROID AND NOT IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)