diff options
author | Leander Beernaert <leander.beernaert@qt.io> | 2019-08-07 16:25:52 +0200 |
---|---|---|
committer | Leander Beernaert <leander.beernaert@qt.io> | 2019-08-14 14:01:58 +0000 |
commit | 4e14f6e70abb4a02a570a390f462736666b234a7 (patch) | |
tree | abd6ccb232ab16eabe1b41e6e76435ad248fb766 /tests/auto/qml/qqmlmoduleplugin | |
parent | 494dc05ea1758f2bee49ddb98712a030336acbd2 (diff) |
Add QtDeclarative Test Coverage
All tests compile and run on a developer build.
These tests are failing:
tst_qqmlsqldatabase Fails due to missing sql driver
tst_qqmlsqldatabase Fails in wip/qt6
tst_ququicklayouts Fails in wip/qt6
tst_flickableinterop Fails in wip/qt6
tst_qquickpinchandler Fails in wip/qt6
tst_qquickflickable Fails in wip/qt6
tst_qquickgridview Fails in wip/qt6
tst_qquickimage Fails due to missing jpeg plugin
tst_qquicklistview Fails in wip/qt6
tst_qquicktext Fails in wip/qt6
tst_qquickcanvasitem Fails in wip/qt6
tst_scenegraph Fails due to missing jpeg plugin
tst_TestFiltering Fails in wip/qt6
Change-Id: I4b9d69c118e23c095cb72ad5a67653fc30943bb1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlmoduleplugin')
42 files changed, 1353 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlmoduleplugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/.prev_CMakeLists.txt new file mode 100644 index 0000000000..02db3b8bf3 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/.prev_CMakeLists.txt @@ -0,0 +1,95 @@ +# Generated from qqmlmoduleplugin.pro. + +##################################################################### +## tst_qqmlmoduleplugin Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "imports/*") +list(APPEND test_data ${test_data_glob}) + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "${CMAKE_CURRENT_BINARY_DIR}/imports/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlmoduleplugin + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + tst_qqmlmoduleplugin.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + TESTDATA ${test_data} +) + +# Resources: +add_qt_resource(tst_qqmlmoduleplugin "qmake_waitingPlugin" + PREFIX + "/qt-project.org/imports/" + FILES + moduleWithWaitingPlugin +) +add_qt_resource(tst_qqmlmoduleplugin "qmake_staticPlugin" + PREFIX + "/qt-project.org/imports/" + FILES + moduleWithStaticPlugin +) + + +#### Keys ignored in scope 2:.:.:tst_qqmlmoduleplugin.pro:<TRUE>: +# CONFIG = "testcase" "-app_bundle" + +## Scopes: +##################################################################### + +extend_target(tst_qqmlmoduleplugin CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlmoduleplugin CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) +add_subdirectory(plugin) +add_subdirectory(plugin.2) +add_subdirectory(plugin.2.1) +add_subdirectory(pluginWrongCase) +add_subdirectory(pluginWithQmlFile) +add_subdirectory(pluginMixed) +add_subdirectory(pluginVersion) +add_subdirectory(nestedPlugin) +add_subdirectory(strictModule) +add_subdirectory(strictModule.2) +add_subdirectory(nonstrictModule) +add_subdirectory(preemptiveModule) +add_subdirectory(preemptedStrictModule) +add_subdirectory(invalidNamespaceModule) +add_subdirectory(invalidFirstCommandModule) +add_subdirectory(protectedModule) +add_subdirectory(plugin/childplugin) +add_subdirectory(plugin.2/childplugin) +add_subdirectory(plugin.2.1/childplugin) +add_subdirectory(plugin.2.2) diff --git a/tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt new file mode 100644 index 0000000000..715e75b1f5 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt @@ -0,0 +1,110 @@ +# Generated from qqmlmoduleplugin.pro. + +##################################################################### +## tst_qqmlmoduleplugin Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "imports/*") +list(APPEND test_data ${test_data_glob}) + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "${CMAKE_CURRENT_BINARY_DIR}/imports/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlmoduleplugin + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + tst_qqmlmoduleplugin.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + TESTDATA ${test_data} +) + +# Resources: +add_qt_resource(tst_qqmlmoduleplugin "qmake_waitingPlugin" + PREFIX + "/qt-project.org/imports/" + FILES + moduleWithWaitingPlugin +) +add_qt_resource(tst_qqmlmoduleplugin "qmake_staticPlugin" + PREFIX + "/qt-project.org/imports/" + FILES + moduleWithStaticPlugin +) + + +#### Keys ignored in scope 2:.:.:tst_qqmlmoduleplugin.pro:<TRUE>: +# CONFIG = "testcase" "-app_bundle" +# staticPlugin.files = "moduleWithStaticPlugin" +# staticPlugin.prefix = "/qt-project.org/imports/" +# waitingPlugin.files = "moduleWithWaitingPlugin" +# waitingPlugin.prefix = "/qt-project.org/imports/" + +# special case begin +add_qt_resource(tst_qqmlmoduleplugin waitingPlugin + PREFIX /qt-project.org/imports + FILES moduleWithWaitingPlugin/qmldir +) +add_qt_resource(tst_qqmlmoduleplugin staticPlugin + PREFIX /qt-project.org/imports + FILES moduleWithStaticPlugin/qmldir +) +# special case end + +## Scopes: +##################################################################### + +extend_target(tst_qqmlmoduleplugin CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlmoduleplugin CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) +add_subdirectory(plugin) +add_subdirectory(plugin.2) +add_subdirectory(plugin.2.1) +add_subdirectory(pluginWrongCase) +add_subdirectory(pluginWithQmlFile) +add_subdirectory(pluginMixed) +add_subdirectory(pluginVersion) +add_subdirectory(nestedPlugin) +add_subdirectory(strictModule) +add_subdirectory(strictModule.2) +add_subdirectory(nonstrictModule) +add_subdirectory(preemptiveModule) +add_subdirectory(preemptedStrictModule) +add_subdirectory(invalidNamespaceModule) +add_subdirectory(invalidFirstCommandModule) +add_subdirectory(protectedModule) +add_subdirectory(plugin/childplugin) +add_subdirectory(plugin.2/childplugin) +add_subdirectory(plugin.2.1/childplugin) +add_subdirectory(plugin.2.2) diff --git a/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/.prev_CMakeLists.txt new file mode 100644 index 0000000000..097f1ba517 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from invalidFirstCommandModule.pro. + +##################################################################### +## invalidFirstCommandModule Plugin: +##################################################################### + +add_qt_plugin(invalidFirstCommandModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidFirstCommandModule" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:invalidFirstCommandModule.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/CMakeLists.txt new file mode 100644 index 0000000000..b0e7ccb400 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from invalidFirstCommandModule.pro. + +##################################################################### +## invalidFirstCommandModule Plugin: +##################################################################### + +add_qt_plugin(invalidFirstCommandModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidFirstCommandModule" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:invalidFirstCommandModule.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidFirstCommandModule" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/.prev_CMakeLists.txt new file mode 100644 index 0000000000..d04f2f6ecf --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from invalidNamespaceModule.pro. + +##################################################################### +## invalidNamespaceModule Plugin: +##################################################################### + +add_qt_plugin(invalidNamespaceModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidNamespaceModule" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:invalidNamespaceModule.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/CMakeLists.txt new file mode 100644 index 0000000000..d8f71cd07b --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from invalidNamespaceModule.pro. + +##################################################################### +## invalidNamespaceModule Plugin: +##################################################################### + +add_qt_plugin(invalidNamespaceModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidNamespaceModule" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:invalidNamespaceModule.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidNamespaceModule" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/.prev_CMakeLists.txt new file mode 100644 index 0000000000..18a3addd86 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from nestedPlugin.pro. + +##################################################################### +## stedPlugin Module: +##################################################################### + +add_qt_module(stedPlugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlNestedPluginType" + SOURCES + nestedPlugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:nestedPlugin.pro:<TRUE>: +# CONFIG = "nestedPlugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/CMakeLists.txt new file mode 100644 index 0000000000..0a659329a2 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from nestedPlugin.pro. + +##################################################################### +## stedPlugin Module: +##################################################################### + +add_qt_plugin(nestedPlugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlNestedPluginType" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + nestedPlugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:nestedPlugin.pro:<TRUE>: +# CONFIG = "nestedPlugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlNestedPluginType" +) +# special case end TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/.prev_CMakeLists.txt new file mode 100644 index 0000000000..c3d4ecf7a2 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from nonstrictModule.pro. + +##################################################################### +## nonstrictModule Plugin: +##################################################################### + +add_qt_plugin(nonstrictModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/NonstrictModule" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:nonstrictModule.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/CMakeLists.txt new file mode 100644 index 0000000000..8a5bcdd685 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from nonstrictModule.pro. + +##################################################################### +## nonstrictModule Plugin: +##################################################################### + +add_qt_plugin(nonstrictModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/NonstrictModule" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:nonstrictModule.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/NonstrictModule" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/.prev_CMakeLists.txt new file mode 100644 index 0000000000..0ab0991f45 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from plugin.2.1.pro. + +##################################################################### +## plugin.2.1 Plugin: +##################################################################### + +add_qt_plugin(plugin.2.1 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.1" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:plugin.2.1.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt new file mode 100644 index 0000000000..bd50d1b5ce --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from plugin.2.1.pro. + +##################################################################### +## plugin.2.1 Plugin: +##################################################################### + +add_qt_plugin(plugin.2.1 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.1" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:plugin.2.1.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +set_target_properties(plugin.2.1 PROPERTIES OUTPUT_NAME "plugin") +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.1" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/.prev_CMakeLists.txt new file mode 100644 index 0000000000..2f4f165097 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from childplugin.pro. + +##################################################################### +## ildplugin Module: +##################################################################### + +add_qt_module(ildplugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2.1/ChildPlugin" + SOURCES + childplugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:childplugin.pro:<TRUE>: +# CONFIG = "childplugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/CMakeLists.txt new file mode 100644 index 0000000000..b4362aaaf9 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from childplugin.pro. + +##################################################################### +## ildplugin Module: +##################################################################### + +add_qt_plugin(childplugin.2.1 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2.1/ChildPlugin" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + childplugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:childplugin.pro:<TRUE>: +# CONFIG = "childplugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +set_target_properties(childplugin.2.1 PROPERTIES OUTPUT_NAME "childplugin") +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2.1/ChildPlugin" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/.prev_CMakeLists.txt new file mode 100644 index 0000000000..da2d627290 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from plugin.2.2.pro. + +##################################################################### +## plugin.2.2 Plugin: +##################################################################### + +add_qt_plugin(plugin.2.2 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.2" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:plugin.2.2.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt new file mode 100644 index 0000000000..8c4f760817 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from plugin.2.2.pro. + +##################################################################### +## plugin.2.2 Plugin: +##################################################################### + +add_qt_plugin(plugin.2.2 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.2" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:plugin.2.2.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +set_target_properties(plugin.2.2 PROPERTIES OUTPUT_NAME "plugin") +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.2" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2/.prev_CMakeLists.txt new file mode 100644 index 0000000000..49a78baeea --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from plugin.2.pro. + +##################################################################### +## plugin.2 Plugin: +##################################################################### + +add_qt_plugin(plugin.2 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:plugin.2.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt new file mode 100644 index 0000000000..3a7ee03721 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from plugin.2.pro. + +##################################################################### +## plugin.2 Plugin: +##################################################################### + +add_qt_plugin(plugin.2 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:plugin.2.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +set_target_properties(plugin.2 PROPERTIES OUTPUT_NAME "plugin") +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/.prev_CMakeLists.txt new file mode 100644 index 0000000000..bf7ecee408 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/.prev_CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from childplugin.pro. + +##################################################################### +## ildplugin Module: +##################################################################### + +add_qt_module(ildplugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2/ChildPlugin" + SOURCES + childplugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:childplugin.pro:<TRUE>: +# CONFIG = "childplugin" +# IMPORT_DIR = "DESTDIR" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/CMakeLists.txt new file mode 100644 index 0000000000..6a36a6190f --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/CMakeLists.txt @@ -0,0 +1,35 @@ +# Generated from childplugin.pro. + +##################################################################### +## ildplugin Module: +##################################################################### + +add_qt_plugin(childplugin.2 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2/ChildPlugin" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + childplugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:childplugin.pro:<TRUE>: +# CONFIG = "childplugin" +# IMPORT_DIR = "DESTDIR" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +set_target_properties(childplugin.2 PROPERTIES OUTPUT_NAME "childplugin") +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2/ChildPlugin" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin/.prev_CMakeLists.txt new file mode 100644 index 0000000000..029b426404 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from plugin.pro. + +##################################################################### +## plugin Plugin: +##################################################################### + +add_qt_plugin(plugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:plugin.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin/CMakeLists.txt new file mode 100644 index 0000000000..907216f9de --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from plugin.pro. + +##################################################################### +## plugin Plugin: +##################################################################### + +add_qt_plugin(plugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:plugin.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/.prev_CMakeLists.txt new file mode 100644 index 0000000000..7a2ba6bac1 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from childplugin.pro. + +##################################################################### +## ildplugin Module: +##################################################################### + +add_qt_module(ildplugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType/ChildPlugin" + SOURCES + childplugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:childplugin.pro:<TRUE>: +# CONFIG = "childplugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/CMakeLists.txt new file mode 100644 index 0000000000..c7e997f5e0 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from childplugin.pro. + +##################################################################### +## ildplugin Module: +##################################################################### + +add_qt_plugin(childplugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType/ChildPlugin" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + childplugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:childplugin.pro:<TRUE>: +# CONFIG = "childplugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType/ChildPlugin" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginMixed/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginMixed/.prev_CMakeLists.txt new file mode 100644 index 0000000000..77ca7e8094 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/pluginMixed/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from pluginMixed.pro. + +##################################################################### +## pluginMixed Plugin: +##################################################################### + +add_qt_plugin(pluginMixed + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlMixedPluginType" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:pluginMixed.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "Foo.qml" "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginMixed/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginMixed/CMakeLists.txt new file mode 100644 index 0000000000..f1a6bc227a --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/pluginMixed/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from pluginMixed.pro. + +##################################################################### +## pluginMixed Plugin: +##################################################################### + +add_qt_plugin(pluginMixed + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlMixedPluginType" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:pluginMixed.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "Foo.qml" "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir Foo.qml + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlMixedPluginType" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginVersion/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginVersion/.prev_CMakeLists.txt new file mode 100644 index 0000000000..d74a877f96 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/pluginVersion/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from pluginVersion.pro. + +##################################################################### +## pluginVersion Plugin: +##################################################################### + +add_qt_plugin(pluginVersion + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlVersionPluginType" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:pluginVersion.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginVersion/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginVersion/CMakeLists.txt new file mode 100644 index 0000000000..f7f4d9e714 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/pluginVersion/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from pluginVersion.pro. + +##################################################################### +## pluginVersion Plugin: +##################################################################### + +add_qt_plugin(pluginVersion + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlVersionPluginType" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:pluginVersion.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlVersionPluginType" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/.prev_CMakeLists.txt new file mode 100644 index 0000000000..674db41333 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from pluginWithQmlFile.pro. + +##################################################################### +## pluginWithQmlFile Plugin: +##################################################################### + +add_qt_plugin(pluginWithQmlFile + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestPluginWithQmlFile" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:pluginWithQmlFile.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" "MyQmlFile.qml" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/CMakeLists.txt new file mode 100644 index 0000000000..636e919e44 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from pluginWithQmlFile.pro. + +##################################################################### +## pluginWithQmlFile Plugin: +##################################################################### + +add_qt_plugin(pluginWithQmlFile + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestPluginWithQmlFile" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:pluginWithQmlFile.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" "MyQmlFile.qml" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir MyQmlFile.qml + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestPluginWithQmlFile" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/.prev_CMakeLists.txt new file mode 100644 index 0000000000..08b5371ff9 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from pluginWrongCase.pro. + +##################################################################### +## Plugin Plugin: +##################################################################### + +add_qt_plugin(Plugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/WrongCase" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:pluginWrongCase.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/CMakeLists.txt new file mode 100644 index 0000000000..a7b0e44786 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from pluginWrongCase.pro. + +##################################################################### +## Plugin Plugin: +##################################################################### + +add_qt_plugin(Plugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/WrongCase" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:pluginWrongCase.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/WrongCase" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/.prev_CMakeLists.txt new file mode 100644 index 0000000000..49c3a5fb54 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from preemptedStrictModule.pro. + +##################################################################### +## preemptedStrictModule Plugin: +##################################################################### + +add_qt_plugin(preemptedStrictModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptedStrictModule" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:preemptedStrictModule.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/CMakeLists.txt new file mode 100644 index 0000000000..b9dfd31dd3 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from preemptedStrictModule.pro. + +##################################################################### +## preemptedStrictModule Plugin: +##################################################################### + +add_qt_plugin(preemptedStrictModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptedStrictModule" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:preemptedStrictModule.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptedStrictModule" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/.prev_CMakeLists.txt new file mode 100644 index 0000000000..31a7a7933f --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from preemptiveModule.pro. + +##################################################################### +## preemptiveModule Plugin: +##################################################################### + +add_qt_plugin(preemptiveModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptiveModule" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:preemptiveModule.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/CMakeLists.txt new file mode 100644 index 0000000000..d9cba40ce2 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from preemptiveModule.pro. + +##################################################################### +## preemptiveModule Plugin: +##################################################################### + +add_qt_plugin(preemptiveModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptiveModule" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:preemptiveModule.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptiveModule" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/protectedModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/protectedModule/.prev_CMakeLists.txt new file mode 100644 index 0000000000..6528ebfb25 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/protectedModule/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from protectedModule.pro. + +##################################################################### +## protectedModule Plugin: +##################################################################### + +add_qt_plugin(protectedModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/ProtectedModule" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:protectedModule.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/protectedModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/protectedModule/CMakeLists.txt new file mode 100644 index 0000000000..313225b0ae --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/protectedModule/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from protectedModule.pro. + +##################################################################### +## protectedModule Plugin: +##################################################################### + +add_qt_plugin(protectedModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/ProtectedModule" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:protectedModule.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/ProtectedModule" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/strictModule.2/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/strictModule.2/.prev_CMakeLists.txt new file mode 100644 index 0000000000..e597514e4a --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/strictModule.2/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from strictModule.2.pro. + +##################################################################### +## strictModule.2 Plugin: +##################################################################### + +add_qt_plugin(strictModule.2 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule.2" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:strictModule.2.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/strictModule.2/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/strictModule.2/CMakeLists.txt new file mode 100644 index 0000000000..5b76d771fa --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/strictModule.2/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from strictModule.2.pro. + +##################################################################### +## strictModule.2 Plugin: +##################################################################### + +add_qt_plugin(strictModule.2 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule.2" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:strictModule.2.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +set_target_properties(strictModule.2 PROPERTIES OUTPUT_NAME "strictModule") +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule.2" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/strictModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/strictModule/.prev_CMakeLists.txt new file mode 100644 index 0000000000..6876de778d --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/strictModule/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from strictModule.pro. + +##################################################################### +## strictModule Plugin: +##################################################################### + +add_qt_plugin(strictModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:strictModule.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/strictModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/strictModule/CMakeLists.txt new file mode 100644 index 0000000000..98508d32bf --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/strictModule/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from strictModule.pro. + +##################################################################### +## strictModule Plugin: +##################################################################### + +add_qt_plugin(strictModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:strictModule.pro:<TRUE>: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule" +) +# special case end |