diff options
25 files changed, 394 insertions, 43 deletions
diff --git a/examples/quick/text/.prev_CMakeLists.txt b/examples/quick/text/.prev_CMakeLists.txt new file mode 100644 index 0000000000..20d4228bcf --- /dev/null +++ b/examples/quick/text/.prev_CMakeLists.txt @@ -0,0 +1,144 @@ +# Generated from text.pro. + +cmake_minimum_required(VERSION 3.14) +project(text LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +if(NOT DEFINED INSTALL_EXAMPLESDIR) + set(INSTALL_EXAMPLESDIR "examples") +endif() + +set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/quick/text") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Quick) +find_package(Qt6 COMPONENTS Qml) + +qt_add_executable(text + main.cpp +) +set_target_properties(text PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) +target_link_libraries(text PUBLIC + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(text_resource_files + "fonts/availableFonts.qml" + "fonts/banner.qml" + "fonts/content/fonts/tarzeau_ocr_a.ttf" + "fonts/fonts.qml" + "fonts/hello.qml" + "imgtag/TextWithImage.qml" + "imgtag/images/face-sad.png" + "imgtag/images/face-smile-big.png" + "imgtag/images/face-smile.png" + "imgtag/images/heart200.png" + "imgtag/images/qtlogo.png" + "imgtag/images/starfish_2.png" + "imgtag/imgtag.qml" + "styledtext-layout.qml" + "text.qml" + "textselection/pics/endHandle.png" + "textselection/pics/endHandle.sci" + "textselection/pics/startHandle.png" + "textselection/pics/startHandle.sci" + "textselection/textselection.qml" +) + +qt6_add_resources(text "text" + PREFIX + "/text" + FILES + ${text_resource_files} +) +set_source_files_properties("../shared/Button.qml" + PROPERTIES QT_RESOURCE_ALIAS "Button.qml" +) +set_source_files_properties("../shared/CheckBox.qml" + PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml" +) +set_source_files_properties("../shared/FlickrRssModel.qml" + PROPERTIES QT_RESOURCE_ALIAS "FlickrRssModel.qml" +) +set_source_files_properties("../shared/Label.qml" + PROPERTIES QT_RESOURCE_ALIAS "Label.qml" +) +set_source_files_properties("../shared/LauncherList.qml" + PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml" +) +set_source_files_properties("../shared/SimpleLauncherDelegate.qml" + PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml" +) +set_source_files_properties("../shared/Slider.qml" + PROPERTIES QT_RESOURCE_ALIAS "Slider.qml" +) +set_source_files_properties("../shared/TabSet.qml" + PROPERTIES QT_RESOURCE_ALIAS "TabSet.qml" +) +set_source_files_properties("../shared/TextField.qml" + PROPERTIES QT_RESOURCE_ALIAS "TextField.qml" +) +set_source_files_properties("../shared/images/back.png" + PROPERTIES QT_RESOURCE_ALIAS "images/back.png" +) +set_source_files_properties("../shared/images/checkmark.png" + PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png" +) +set_source_files_properties("../shared/images/next.png" + PROPERTIES QT_RESOURCE_ALIAS "images/next.png" +) +set_source_files_properties("../shared/images/qt-logo.png" + PROPERTIES QT_RESOURCE_ALIAS "images/qt-logo.png" +) +set_source_files_properties("../shared/images/slider_handle.png" + PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png" +) +set_source_files_properties("../shared/images/tab.png" + PROPERTIES QT_RESOURCE_ALIAS "images/tab.png" +) +set(shared_resource_files + "Button.qml" + "CheckBox.qml" + "FlickrRssModel.qml" + "Label.qml" + "LauncherList.qml" + "SimpleLauncherDelegate.qml" + "Slider.qml" + "TabSet.qml" + "TextField.qml" + "images/back.png" + "images/checkmark.png" + "images/next.png" + "images/qt-logo.png" + "images/slider_handle.png" + "images/tab.png" +) + +qt6_add_resources(text "shared" + PREFIX + "/shared" + BASE + "../shared" + FILES + ${shared_resource_files} +) + +install(TARGETS text + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/src/imports/tooling/CMakeLists.txt b/src/imports/tooling/CMakeLists.txt index a6273a1ee5..c36c8c1474 100644 --- a/src/imports/tooling/CMakeLists.txt +++ b/src/imports/tooling/CMakeLists.txt @@ -1,6 +1,6 @@ # Generated from tooling.pro. +# special case skip regeneration -# special case begin set(qml_files "Component.qml" "Enum.qml" @@ -29,5 +29,3 @@ qt6_target_qml_files(quicktooling ${qml_files} ) -# special case end - diff --git a/src/particles/CMakeLists.txt b/src/particles/CMakeLists.txt index 2fb7617f87..538e1e5bae 100644 --- a/src/particles/CMakeLists.txt +++ b/src/particles/CMakeLists.txt @@ -64,14 +64,14 @@ qt_internal_add_resource(QuickParticles "particles" ${particles_resource_files} ) set(particles1_resource_files - "shaders_ng/imageparticle_simplepoint.frag.qsb" - "shaders_ng/imageparticle_simplepoint.vert.qsb" - "shaders_ng/imageparticle_coloredpoint.frag.qsb" - "shaders_ng/imageparticle_coloredpoint.vert.qsb" "shaders_ng/imageparticle_colored.frag.qsb" "shaders_ng/imageparticle_colored.vert.qsb" + "shaders_ng/imageparticle_coloredpoint.frag.qsb" + "shaders_ng/imageparticle_coloredpoint.vert.qsb" "shaders_ng/imageparticle_deformed.frag.qsb" "shaders_ng/imageparticle_deformed.vert.qsb" + "shaders_ng/imageparticle_simplepoint.frag.qsb" + "shaders_ng/imageparticle_simplepoint.vert.qsb" "shaders_ng/imageparticle_sprite.frag.qsb" "shaders_ng/imageparticle_sprite.vert.qsb" "shaders_ng/imageparticle_tabled.frag.qsb" diff --git a/src/qmldom/.prev_CMakeLists.txt b/src/qmldom/.prev_CMakeLists.txt new file mode 100644 index 0000000000..39a82e3ec0 --- /dev/null +++ b/src/qmldom/.prev_CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qmldom.pro. + +##################################################################### +## QmlDom Module: +##################################################################### + +qt_internal_add_module(QmlDom + STATIC + INTERNAL_MODULE + NO_SYNC_QT + SOURCES + qqmldom_fwd_p.h + qqmldom_global.h + qqmldomconstants_p.h + qqmldomerrormessage.cpp qqmldomerrormessage_p.h + qqmldomexternalitems.cpp qqmldomexternalitems_p.h + qqmldomitem.cpp qqmldomitem_p.h + qqmldompath.cpp qqmldompath_p.h + qqmldomstringdumper.cpp qqmldomstringdumper_p.h + qqmldomtop.cpp qqmldomtop_p.h + DEFINES + QMLDOM_LIBRARY + PUBLIC_LIBRARIES + Qt::CorePrivate + Qt::QmlDevToolsPrivate +) + +#### Keys ignored in scope 1:.:.:qmldom.pro:<TRUE>: +# _OPTION = "host_build" diff --git a/src/qmldom/CMakeLists.txt b/src/qmldom/CMakeLists.txt index df3da266f8..491df40ef5 100644 --- a/src/qmldom/CMakeLists.txt +++ b/src/qmldom/CMakeLists.txt @@ -1,28 +1,29 @@ # Generated from qmldom.pro. ##################################################################### -## QmlCompiler Module: +## QmlDom Module: ##################################################################### qt_internal_add_module(QmlDom STATIC INTERNAL_MODULE + # NO_SYNC_QT # special case remove, it's actually needed for tests SOURCES - qqmldom_global.h - qqmldom_fwd_p.h - qqmldomconstants_p.h - qqmldomerrormessage.cpp qqmldomerrormessage_p.h - qqmldomexternalitems.cpp qqmldomexternalitems_p.h - qqmldomitem.cpp qqmldomitem_p.h - qqmldompath.cpp qqmldompath_p.h - qqmldomstringdumper.cpp qqmldomstringdumper_p.h - qqmldomtop.cpp qqmldomtop_p.h + qqmldom_fwd_p.h + qqmldom_global.h + qqmldomconstants_p.h + qqmldomerrormessage.cpp qqmldomerrormessage_p.h + qqmldomexternalitems.cpp qqmldomexternalitems_p.h + qqmldomitem.cpp qqmldomitem_p.h + qqmldompath.cpp qqmldompath_p.h + qqmldomstringdumper.cpp qqmldomstringdumper_p.h + qqmldomtop.cpp qqmldomtop_p.h DEFINES - QMLDOM_LIBRARY + QMLDOM_LIBRARY PUBLIC_LIBRARIES Qt::CorePrivate Qt::QmlDevToolsPrivate ) -#### Keys ignored in scope 1:.:.:qmlcompiler.pro:<TRUE>: +#### Keys ignored in scope 1:.:.:qmldom.pro:<TRUE>: # _OPTION = "host_build" diff --git a/src/quick/configure.cmake b/src/quick/configure.cmake index 65fe462b51..b63830671e 100644 --- a/src/quick/configure.cmake +++ b/src/quick/configure.cmake @@ -66,7 +66,7 @@ qt_feature("quick-particles" PRIVATE SECTION "Qt Quick" LABEL "Particle support" PURPOSE "Provides a particle system." - CONDITION TARGET Qt::Gui AND QT_FEATURE_quick_shadereffect AND QT_FEATURE_quick_sprite AND QT_FEATURE_opengl + CONDITION TARGET Qt::Gui AND QT_FEATURE_quick_shadereffect AND QT_FEATURE_quick_sprite ) qt_feature("quick-path" PRIVATE SECTION "Qt Quick" diff --git a/tests/auto/.prev_CMakeLists.txt b/tests/auto/.prev_CMakeLists.txt index c9bc48d151..213a834a2a 100644 --- a/tests/auto/.prev_CMakeLists.txt +++ b/tests/auto/.prev_CMakeLists.txt @@ -1,7 +1,6 @@ # Generated from auto.pro. add_subdirectory(qml) -add_subdirectory(qmldom) add_subdirectory(quick) add_subdirectory(quicktest) add_subdirectory(qmldevtools) @@ -17,3 +16,6 @@ endif() if(TARGET Qt::Widgets) add_subdirectory(quickwidgets) endif() +if(TARGET Qt::QmlDom) + add_subdirectory(qmldom) +endif() diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt index e3102d18c4..2ff1f198f0 100644 --- a/tests/auto/CMakeLists.txt +++ b/tests/auto/CMakeLists.txt @@ -1,7 +1,6 @@ # Generated from auto.pro. add_subdirectory(qml) -add_subdirectory(qmldom) add_subdirectory(quick) add_subdirectory(quicktest) add_subdirectory(qmldevtools) @@ -19,3 +18,6 @@ endif() if(TARGET Qt::Widgets) add_subdirectory(quickwidgets) endif() +if(TARGET Qt::QmlDom) + add_subdirectory(qmldom) +endif() diff --git a/tests/auto/qml/qmlimportscanner/.prev_CMakeLists.txt b/tests/auto/qml/qmlimportscanner/.prev_CMakeLists.txt new file mode 100644 index 0000000000..66231beccb --- /dev/null +++ b/tests/auto/qml/qmlimportscanner/.prev_CMakeLists.txt @@ -0,0 +1,35 @@ +# Generated from qmlimportscanner.pro. + +##################################################################### +## tst_qmlimportscanner Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + data/*) +list(APPEND test_data ${test_data_glob}) + +qt_internal_add_test(tst_qmlimportscanner + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qmlimportscanner.cpp + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + TESTDATA ${test_data} +) + +## Scopes: +##################################################################### + +qt_internal_extend_target(tst_qmlimportscanner CONDITION ANDROID OR IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +qt_internal_extend_target(tst_qmlimportscanner CONDITION NOT ANDROID AND NOT IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qmltyperegistrar/.prev_CMakeLists.txt b/tests/auto/qml/qmltyperegistrar/.prev_CMakeLists.txt index 9ee509cebb..adbe3c2c9e 100644 --- a/tests/auto/qml/qmltyperegistrar/.prev_CMakeLists.txt +++ b/tests/auto/qml/qmltyperegistrar/.prev_CMakeLists.txt @@ -22,6 +22,7 @@ qt_internal_add_test(tst_qmltyperegistrar # QML_FOREIGN_METATYPES = "foreign/foreign_metatypes.json" # QML_IMPORT_NAME = "QmlTypeRegistrarTest" # QML_IMPORT_VERSION = "1.0" +# QML_PAST_MAJOR_VERSIONS = "0" # TEMPLATE = "app" ## Scopes: @@ -29,6 +30,7 @@ qt_internal_add_test(tst_qmltyperegistrar set_target_properties(tst_qmltyperegistrar PROPERTIES QT_QML_MODULE_VERSION 1.0 + QT_QML_PAST_MAJOR_VERSIONS 0 QT_QML_MODULE_URI QmlTypeRegistrarTest QT_QMLTYPES_FILENAME tst_qmltyperegistrar.qmltypes ) diff --git a/tests/auto/qml/qmltyperegistrar/CMakeLists.txt b/tests/auto/qml/qmltyperegistrar/CMakeLists.txt index db8fa4b1d6..c12ef77ebb 100644 --- a/tests/auto/qml/qmltyperegistrar/CMakeLists.txt +++ b/tests/auto/qml/qmltyperegistrar/CMakeLists.txt @@ -24,6 +24,7 @@ target_compile_definitions(tst_qmltyperegistrar PRIVATE BUILD_WITH_CMAKE) # spec # QML_FOREIGN_METATYPES = "foreign/foreign_metatypes.json" # QML_IMPORT_NAME = "QmlTypeRegistrarTest" # QML_IMPORT_VERSION = "1.0" +# QML_PAST_MAJOR_VERSIONS = "0" # TEMPLATE = "app" ## Scopes: @@ -31,8 +32,8 @@ target_compile_definitions(tst_qmltyperegistrar PRIVATE BUILD_WITH_CMAKE) # spec set_target_properties(tst_qmltyperegistrar PROPERTIES QT_QML_MODULE_VERSION 1.0 + QT_QML_PAST_MAJOR_VERSIONS 0 QT_QML_MODULE_URI QmlTypeRegistrarTest - QT_QML_PAST_MAJOR_VERSIONS 0 # special case QT_QMLTYPES_FILENAME tst_qmltyperegistrar.qmltypes ) diff --git a/tests/auto/qmldom/CMakeLists.txt b/tests/auto/qmldom/CMakeLists.txt index 0aa5b19484..00fb7850f4 100644 --- a/tests/auto/qmldom/CMakeLists.txt +++ b/tests/auto/qmldom/CMakeLists.txt @@ -1,6 +1,6 @@ # Generated from qmldom.pro. add_subdirectory(errormessage) -add_subdirectory(path) add_subdirectory(domitem) +add_subdirectory(path) add_subdirectory(stringdumper) diff --git a/tests/auto/qmldom/domitem/CMakeLists.txt b/tests/auto/qmldom/domitem/CMakeLists.txt index 28bcfdefa0..71983f0cdd 100644 --- a/tests/auto/qmldom/domitem/CMakeLists.txt +++ b/tests/auto/qmldom/domitem/CMakeLists.txt @@ -1,7 +1,7 @@ # Generated from domitem.pro. ##################################################################### -## tst_qmldomitem Binary: +## tst_qmldomitem Test: ##################################################################### qt_internal_add_test(tst_qmldomitem @@ -10,8 +10,6 @@ qt_internal_add_test(tst_qmldomitem DEFINES QT_DEPRECATED_WARNINGS PUBLIC_LIBRARIES - Qt::Core Qt::QmlDevToolsPrivate Qt::QmlDomPrivate - Qt::Test ) diff --git a/tests/auto/qmldom/domitem/domitem.pro b/tests/auto/qmldom/domitem/domitem.pro index 87801c7b8d..1cbbb3b5b2 100644 --- a/tests/auto/qmldom/domitem/domitem.pro +++ b/tests/auto/qmldom/domitem/domitem.pro @@ -4,6 +4,7 @@ TARGET = tst_qmldomitem CONFIG += c++11 console CONFIG -= app_bundle +CONFIG += testcase # The following define makes your compiler emit warnings if you use # any Qt feature that has been marked deprecated (the exact warnings diff --git a/tests/auto/qmldom/errormessage/CMakeLists.txt b/tests/auto/qmldom/errormessage/CMakeLists.txt index 7e40889b3e..4a8f5043b9 100644 --- a/tests/auto/qmldom/errormessage/CMakeLists.txt +++ b/tests/auto/qmldom/errormessage/CMakeLists.txt @@ -1,7 +1,7 @@ # Generated from errormessage.pro. ##################################################################### -## tst_qmldomerrormessage Binary: +## tst_qmldomerrormessage Test: ##################################################################### qt_internal_add_test(tst_qmldomerrormessage @@ -10,8 +10,6 @@ qt_internal_add_test(tst_qmldomerrormessage DEFINES QT_DEPRECATED_WARNINGS PUBLIC_LIBRARIES - Qt::Core Qt::QmlDevToolsPrivate Qt::QmlDomPrivate - Qt::Test ) diff --git a/tests/auto/qmldom/errormessage/errormessage.pro b/tests/auto/qmldom/errormessage/errormessage.pro index a31d904c49..21ce2bb1c9 100644 --- a/tests/auto/qmldom/errormessage/errormessage.pro +++ b/tests/auto/qmldom/errormessage/errormessage.pro @@ -4,6 +4,7 @@ TARGET = tst_qmldomerrormessage CONFIG += c++11 console CONFIG -= app_bundle +CONFIG += testcase # The following define makes your compiler emit warnings if you use # any Qt feature that has been marked deprecated (the exact warnings diff --git a/tests/auto/qmldom/path/CMakeLists.txt b/tests/auto/qmldom/path/CMakeLists.txt index 374682b153..4c4109dd02 100644 --- a/tests/auto/qmldom/path/CMakeLists.txt +++ b/tests/auto/qmldom/path/CMakeLists.txt @@ -1,7 +1,7 @@ # Generated from path.pro. ##################################################################### -## tst_qmldompath Binary: +## tst_qmldompath Test: ##################################################################### qt_internal_add_test(tst_qmldompath @@ -10,8 +10,6 @@ qt_internal_add_test(tst_qmldompath DEFINES QT_DEPRECATED_WARNINGS PUBLIC_LIBRARIES - Qt::Core Qt::QmlDevToolsPrivate Qt::QmlDomPrivate - Qt::Test ) diff --git a/tests/auto/qmldom/path/path.pro b/tests/auto/qmldom/path/path.pro index 467948f069..744560bdc3 100644 --- a/tests/auto/qmldom/path/path.pro +++ b/tests/auto/qmldom/path/path.pro @@ -4,6 +4,7 @@ TARGET = tst_qmldompath CONFIG += c++11 console CONFIG -= app_bundle +CONFIG += testcase # The following define makes your compiler emit warnings if you use # any Qt feature that has been marked deprecated (the exact warnings diff --git a/tests/auto/qmldom/stringdumper/CMakeLists.txt b/tests/auto/qmldom/stringdumper/CMakeLists.txt index c72467caf9..1c809c2827 100644 --- a/tests/auto/qmldom/stringdumper/CMakeLists.txt +++ b/tests/auto/qmldom/stringdumper/CMakeLists.txt @@ -1,7 +1,7 @@ # Generated from stringdumper.pro. ##################################################################### -## tst_qmldomstringdumper Binary: +## tst_qmldomstringdumper Test: ##################################################################### qt_internal_add_test(tst_qmldomstringdumper @@ -9,12 +9,9 @@ qt_internal_add_test(tst_qmldomstringdumper tst_qmldomstringdumper.cpp DEFINES QT_DEPRECATED_WARNINGS + INCLUDE_DIRECTORIES + ../../../../src/qmldom PUBLIC_LIBRARIES - Qt::Core Qt::QmlDevToolsPrivate Qt::QmlDomPrivate - Qt::Test ) - -## Scopes: -##################################################################### diff --git a/tests/auto/qmldom/stringdumper/stringdumper.pro b/tests/auto/qmldom/stringdumper/stringdumper.pro index dc9f1a4257..2494f44023 100644 --- a/tests/auto/qmldom/stringdumper/stringdumper.pro +++ b/tests/auto/qmldom/stringdumper/stringdumper.pro @@ -1,4 +1,4 @@ -QT = core qmldevtools-private testlib +QT = core qmldevtools-private qmldom-private testlib TARGET = tst_qmldomstringdumper @@ -7,6 +7,7 @@ INCLUDEPATH += ../../../../src/qmldom CONFIG += c++11 console CONFIG -= app_bundle +CONFIG += testcase # The following define makes your compiler emit warnings if you use # any Qt feature that has been marked deprecated (the exact warnings diff --git a/tests/auto/quick/.prev_CMakeLists.txt b/tests/auto/quick/.prev_CMakeLists.txt index 15cb370860..6714305201 100644 --- a/tests/auto/quick/.prev_CMakeLists.txt +++ b/tests/auto/quick/.prev_CMakeLists.txt @@ -62,6 +62,7 @@ if(QT_FEATURE_private_tests) add_subdirectory(qquicktextinput) add_subdirectory(qquickvisualdatamodel) add_subdirectory(qquickview) + add_subdirectory(qquickview_extra) add_subdirectory(qquickcanvasitem) add_subdirectory(qquickdesignersupport) add_subdirectory(qquickscreen) diff --git a/tests/auto/quick/qquickanimations/CMakeLists.txt b/tests/auto/quick/qquickanimations/CMakeLists.txt index 63a1236eb9..203fa770fb 100644 --- a/tests/auto/quick/qquickanimations/CMakeLists.txt +++ b/tests/auto/quick/qquickanimations/CMakeLists.txt @@ -29,7 +29,7 @@ qt_internal_add_test(tst_qquickanimations ) #### Keys ignored in scope 1:.:.:qquickanimations.pro:<TRUE>: -# OTHER_FILES = "data/animationJobSelfDestructionBug.qml" "data/attached.qml" "data/badproperty1.qml" "data/badproperty2.qml" "data/badtype1.qml" "data/badtype2.qml" "data/badtype3.qml" "data/badtype4.qml" "data/disabledTransition.qml" "data/dontAutoStart.qml" "data/dontStart.qml" "data/dontStart2.qml" "data/dotproperty.qml" "data/Double.qml" "data/doubleRegistrationBug.qml" "data/fastFlickingBug.qml" "data/looping.qml" "data/mixedtype1.qml" "data/mixedtype2.qml" "data/nonTransitionBug.qml" "data/parallelAnimationNullChildBug.qml" "data/pathAnimation.qml" "data/pathAnimation2.qml" "data/pathAnimationInOutBackCrash.qml" "data/pathAnimationNoStart.qml" "data/pathInterpolator.qml" "data/pathInterpolatorBack.qml" "data/pathInterpolatorBack2.qml" "data/pathTransition.qml" "data/pauseBindingBug.qml" "data/pauseBug.qml" "data/properties.qml" "data/properties2.qml" "data/properties3.qml" "data/properties4.qml" "data/properties5.qml" "data/propertiesTransition.qml" "data/propertiesTransition2.qml" "data/propertiesTransition3.qml" "data/propertiesTransition4.qml" "data/propertiesTransition5.qml" "data/propertiesTransition6.qml" "data/propertiesTransition7.qml" "data/reanchor.qml" "data/registrationBug.qml" "data/reparent.qml" "data/rotation.qml" "data/runningTrueBug.qml" "data/scriptActionBug.qml" "data/scriptActionCrash.qml" "data/sequentialAnimationNullChildBug.qml" "data/signals.qml" "data/signalorder.qml" "data/transitionAssignmentBug.qml" "data/valuesource.qml" "data/valuesource2.qml" +# OTHER_FILES = "data/alwaysRunToEndInSequentialAnimationBug.qml" "data/animationJobSelfDestructionBug.qml" "data/attached.qml" "data/badproperty1.qml" "data/badproperty2.qml" "data/badtype1.qml" "data/badtype2.qml" "data/badtype3.qml" "data/badtype4.qml" "data/disabledTransition.qml" "data/dontAutoStart.qml" "data/dontStart.qml" "data/dontStart2.qml" "data/dotproperty.qml" "data/Double.qml" "data/doubleRegistrationBug.qml" "data/fastFlickingBug.qml" "data/looping.qml" "data/mixedtype1.qml" "data/mixedtype2.qml" "data/nonTransitionBug.qml" "data/parallelAnimationNullChildBug.qml" "data/pathAnimation.qml" "data/pathAnimation2.qml" "data/pathAnimationInOutBackCrash.qml" "data/pathAnimationNoStart.qml" "data/pathInterpolator.qml" "data/pathInterpolatorBack.qml" "data/pathInterpolatorBack2.qml" "data/pathTransition.qml" "data/pauseBindingBug.qml" "data/pauseBug.qml" "data/properties.qml" "data/properties2.qml" "data/properties3.qml" "data/properties4.qml" "data/properties5.qml" "data/propertiesTransition.qml" "data/propertiesTransition2.qml" "data/propertiesTransition3.qml" "data/propertiesTransition4.qml" "data/propertiesTransition5.qml" "data/propertiesTransition6.qml" "data/propertiesTransition7.qml" "data/reanchor.qml" "data/registrationBug.qml" "data/reparent.qml" "data/rotation.qml" "data/runningTrueBug.qml" "data/scriptActionBug.qml" "data/scriptActionCrash.qml" "data/sequentialAnimationNullChildBug.qml" "data/signals.qml" "data/signalorder.qml" "data/transitionAssignmentBug.qml" "data/valuesource.qml" "data/valuesource2.qml" ## Scopes: ##################################################################### diff --git a/tests/auto/quick/qquickdesignersupport/CMakeLists.txt b/tests/auto/quick/qquickdesignersupport/CMakeLists.txt index 88c050f55c..e1eb2ee997 100644 --- a/tests/auto/quick/qquickdesignersupport/CMakeLists.txt +++ b/tests/auto/quick/qquickdesignersupport/CMakeLists.txt @@ -31,7 +31,7 @@ qt_internal_add_test(tst_qquickdesignersupport ) #### Keys ignored in scope 1:.:.:qquickdesignersupport.pro:<TRUE>: -# DISTFILES = "data/TestComponent.qml" "data/test.qml" "data/componentTest.qml" "data/Component01.qml" "data/Component02.qml" +# DISTFILES = "data/TestComponent.qml" "data/test.qml" "data/componentTest.qml" "data/Component01.qml" "data/Component02.qml" "data/bindingTest.qml" ## Scopes: ##################################################################### diff --git a/tests/auto/quick/qquickview_extra/CMakeLists.txt b/tests/auto/quick/qquickview_extra/CMakeLists.txt index 16cc36a127..4fa75da811 100644 --- a/tests/auto/quick/qquickview_extra/CMakeLists.txt +++ b/tests/auto/quick/qquickview_extra/CMakeLists.txt @@ -1,4 +1,4 @@ -# Generated from qquickview.pro. +# Generated from qquickview_extra.pro. ##################################################################### ## tst_qquickview_extra Test: @@ -13,9 +13,14 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickview_extra SOURCES ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h tst_qquickview_extra.cpp DEFINES QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared PUBLIC_LIBRARIES Qt::CorePrivate Qt::Gui diff --git a/tests/manual/pointer/.prev_CMakeLists.txt b/tests/manual/pointer/.prev_CMakeLists.txt new file mode 100644 index 0000000000..1de10416f9 --- /dev/null +++ b/tests/manual/pointer/.prev_CMakeLists.txt @@ -0,0 +1,136 @@ +# Generated from pointer.pro. + +##################################################################### +## pointer Binary: +##################################################################### + +qt_internal_add_manual_test(pointer + GUI + SOURCES + inputinspector.cpp inputinspector.h + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickPrivate + Qt::Svg +) + +# Resources: +set(qml_resource_files + "content/CheckBox.qml" + "content/FakeFlickable.qml" + "content/FlashAnimation.qml" + "content/MomentumAnimation.qml" + "content/MouseAreaButton.qml" + "content/MouseAreaSlider.qml" + "content/MouseFeedbackSprite.qml" + "content/MptaButton.qml" + "content/MultiButton.qml" + "content/ScrollBar.qml" + "content/Slider.qml" + "content/TapHandlerButton.qml" + "content/TextBox.qml" + "content/TouchpointFeedbackSprite.qml" + "fakeFlickable.qml" + "flickablesWithHandlers.qml" + "flingAnimation.qml" + "joystick.qml" + "main.qml" + "map.qml" + "map2.qml" + "mixer.qml" + "multibuttons.qml" + "photosurface.qml" + "pinchHandler.qml" + "pointerDrag.qml" + "resources/arrowhead.png" + "resources/balloon.png" + "resources/cursor-airbrush.png" + "resources/cursor-eraser.png" + "resources/cursor-felt-marker.png" + "resources/cursor-pencil.png" + "resources/fighter.png" + "resources/fingersprite.png" + "resources/grabbing-location.svg" + "resources/joystick-outer-case-pov.jpg" + "resources/map.svgz" + "resources/missile.png" + "resources/mixer-knob.png" + "resources/mouse.png" + "resources/mouse_left.png" + "resources/mouse_middle.png" + "resources/mouse_right.png" + "resources/redball.png" + "sidebar.qml" + "singlePointHandlerProperties.qml" + "tabletCanvasDrawing.qml" + "tapHandler.qml" +) + +qt_internal_add_resource(pointer "qml" + PREFIX + "/" + FILES + ${qml_resource_files} +) +set_source_files_properties("../../../examples/quick/shared/Button.qml" + PROPERTIES QT_RESOURCE_ALIAS "Button.qml" +) +set_source_files_properties("../../../examples/quick/shared/CheckBox.qml" + PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml" +) +set_source_files_properties("../../../examples/quick/shared/Label.qml" + PROPERTIES QT_RESOURCE_ALIAS "Label.qml" +) +set_source_files_properties("../../../examples/quick/shared/LauncherList.qml" + PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml" +) +set_source_files_properties("../../../examples/quick/shared/SimpleLauncherDelegate.qml" + PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml" +) +set_source_files_properties("../../../examples/quick/shared/Slider.qml" + PROPERTIES QT_RESOURCE_ALIAS "Slider.qml" +) +set_source_files_properties("../../../examples/quick/shared/TextField.qml" + PROPERTIES QT_RESOURCE_ALIAS "TextField.qml" +) +set_source_files_properties("../../../examples/quick/shared/images/back.png" + PROPERTIES QT_RESOURCE_ALIAS "images/back.png" +) +set_source_files_properties("../../../examples/quick/shared/images/checkmark.png" + PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png" +) +set_source_files_properties("../../../examples/quick/shared/images/next.png" + PROPERTIES QT_RESOURCE_ALIAS "images/next.png" +) +set_source_files_properties("../../../examples/quick/shared/images/slider_handle.png" + PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png" +) +set(quick_shared_resource_files + "Button.qml" + "CheckBox.qml" + "Label.qml" + "LauncherList.qml" + "SimpleLauncherDelegate.qml" + "Slider.qml" + "TextField.qml" + "images/back.png" + "images/checkmark.png" + "images/next.png" + "images/slider_handle.png" +) + +qt_internal_add_resource(pointer "quick_shared" + PREFIX + "/quick/shared" + BASE + "../../../examples/quick/shared" + FILES + ${quick_shared_resource_files} +) + + +#### Keys ignored in scope 1:.:.:pointer.pro:<TRUE>: +# TEMPLATE = "app" |