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 | |
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')
156 files changed, 6059 insertions, 49 deletions
diff --git a/tests/auto/qml/CMakeLists.txt b/tests/auto/qml/CMakeLists.txt index 5c5b0b9fcf..3237749513 100644 --- a/tests/auto/qml/CMakeLists.txt +++ b/tests/auto/qml/CMakeLists.txt @@ -1,51 +1,88 @@ # Generated from qml.pro. -#add_subdirectory(parserstress) +add_subdirectory(parserstress) add_subdirectory(qjsvalueiterator) add_subdirectory(qjsonbinding) add_subdirectory(qqmlfile) add_subdirectory(qqmlfileselector) add_subdirectory(qmlmin) -#add_subdirectory(qqmlcomponent) -#add_subdirectory(qqmlconsole) -#add_subdirectory(qqmlengine) -#add_subdirectory(qqmlerror) -#add_subdirectory(qqmlincubator) -#add_subdirectory(qqmlinfo) -#add_subdirectory(qqmllistreference) -#add_subdirectory(qqmllocale) -#add_subdirectory(qqmlmetaobject) -#add_subdirectory(qqmlmoduleplugin) -#add_subdirectory(qqmlnotifier) -#add_subdirectory(qqmlqt) -#add_subdirectory(qqmlxmlhttprequest) -#add_subdirectory(qqmlpromise) -#add_subdirectory(qtqmlmodules) -#add_subdirectory(qquickfolderlistmodel) -#add_subdirectory(qqmlapplicationengine) -#add_subdirectory(qqmlsettings) -#add_subdirectory(qqmlstatemachine) -#add_subdirectory(qmldiskcache) -#add_subdirectory(qqmlmetatype) - -#if(TARGET Qt::Widgets) -#endif() - -#if(QT_FEATURE_process) - - #if(QT_FEATURE_qml_debug) - #add_subdirectory(debugger) - #endif() - - #if(NOT boot2qt) - #add_subdirectory(qmllint) - #add_subdirectory(qmlplugindump) - #endif() -#endif() - -#if(QT_FEATURE_library) - #add_subdirectory(qqmlextensionplugin) -#endif() - -#if(QT_FEATURE_private_tests) -#endif() +add_subdirectory(qqmlcomponent) +add_subdirectory(qqmlconsole) +add_subdirectory(qqmlengine) +add_subdirectory(qqmlerror) +add_subdirectory(qqmlincubator) +add_subdirectory(qqmlinfo) +add_subdirectory(qqmllistreference) +add_subdirectory(qqmllocale) +add_subdirectory(qqmlmetaobject) +add_subdirectory(qqmlmoduleplugin) +add_subdirectory(qqmlnotifier) +add_subdirectory(qqmlqt) +add_subdirectory(qqmlxmlhttprequest) +add_subdirectory(qqmlpromise) +add_subdirectory(qtqmlmodules) +add_subdirectory(qquickfolderlistmodel) +add_subdirectory(qqmlapplicationengine) +add_subdirectory(qqmlsettings) +add_subdirectory(qqmlstatemachine) +add_subdirectory(qmldiskcache) +add_subdirectory(qqmlmetatype) +if(QT_FEATURE_process AND QT_FEATURE_qml_debug) + add_subdirectory(debugger) +endif() +if(QT_FEATURE_process AND NOT boot2qt) + add_subdirectory(qmllint) + add_subdirectory(qmlplugindump) +endif() +if(QT_FEATURE_library) + add_subdirectory(qqmlextensionplugin) +endif() +if(QT_FEATURE_private_tests) + add_subdirectory(qqmlcpputils) + add_subdirectory(qqmldirparser) + add_subdirectory(qmlcachegen) + add_subdirectory(animation) + add_subdirectory(qqmlecmascript) + add_subdirectory(qqmlcontext) + add_subdirectory(qqmlexpression) + add_subdirectory(qqmlglobal) + add_subdirectory(qqmllanguage) + add_subdirectory(qqmlopenmetaobject) + add_subdirectory(qqmlproperty) + add_subdirectory(qqmlpropertycache) + add_subdirectory(qqmlpropertymap) +# special case begin + if (TARGET Qt::Sql) +# special case end + add_subdirectory(qqmlsqldatabase) +# special case begin + endif() +# special case end + add_subdirectory(qqmlvaluetypes) + add_subdirectory(qqmlvaluetypeproviders) + add_subdirectory(qqmlbinding) + add_subdirectory(qqmlchangeset) + add_subdirectory(qqmlconnections) + add_subdirectory(qqmllistcompositor) + add_subdirectory(qqmllistmodel) + add_subdirectory(qqmllistmodelworkerscript) + add_subdirectory(qqmlitemmodels) + add_subdirectory(qqmltypeloader) + add_subdirectory(qqmlparser) + add_subdirectory(qquickworkerscript) + add_subdirectory(qrcqml) + add_subdirectory(qqmltimer) + add_subdirectory(qqmlinstantiator) + add_subdirectory(qqmlenginecleanup) + add_subdirectory(qqmltranslation) + add_subdirectory(qqmlimport) + add_subdirectory(qqmlobjectmodel) + add_subdirectory(qqmltablemodel) + add_subdirectory(qv4assembler) + add_subdirectory(qv4mm) + add_subdirectory(qv4identifiertable) + add_subdirectory(qv4regexp) + add_subdirectory(ecmascripttests) + add_subdirectory(bindingdependencyapi) + add_subdirectory(v4misc) +endif() diff --git a/tests/auto/qml/animation/CMakeLists.txt b/tests/auto/qml/animation/CMakeLists.txt new file mode 100644 index 0000000000..7337777b9c --- /dev/null +++ b/tests/auto/qml/animation/CMakeLists.txt @@ -0,0 +1,7 @@ +# Generated from animation.pro. + +add_subdirectory(qabstractanimationjob) +add_subdirectory(qanimationgroupjob) +add_subdirectory(qparallelanimationgroupjob) +add_subdirectory(qpauseanimationjob) +add_subdirectory(qsequentialanimationgroupjob) diff --git a/tests/auto/qml/animation/qabstractanimationjob/CMakeLists.txt b/tests/auto/qml/animation/qabstractanimationjob/CMakeLists.txt new file mode 100644 index 0000000000..4209ef7540 --- /dev/null +++ b/tests/auto/qml/animation/qabstractanimationjob/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qabstractanimationjob.pro. + +##################################################################### +## tst_qabstractanimationjob Test: +##################################################################### + +add_qt_test(tst_qabstractanimationjob + GUI + SOURCES + tst_qabstractanimationjob.cpp + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qabstractanimationjob.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qabstractanimationjob.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/animation/qanimationgroupjob/CMakeLists.txt b/tests/auto/qml/animation/qanimationgroupjob/CMakeLists.txt new file mode 100644 index 0000000000..a5f88c0e5f --- /dev/null +++ b/tests/auto/qml/animation/qanimationgroupjob/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qanimationgroupjob.pro. + +##################################################################### +## tst_qanimationgroupjob Test: +##################################################################### + +add_qt_test(tst_qanimationgroupjob + GUI + SOURCES + tst_qanimationgroupjob.cpp + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qanimationgroupjob.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qanimationgroupjob.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/animation/qparallelanimationgroupjob/CMakeLists.txt b/tests/auto/qml/animation/qparallelanimationgroupjob/CMakeLists.txt new file mode 100644 index 0000000000..c1e654f315 --- /dev/null +++ b/tests/auto/qml/animation/qparallelanimationgroupjob/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qparallelanimationgroupjob.pro. + +##################################################################### +## tst_qparallelanimationgroupjob Test: +##################################################################### + +add_qt_test(tst_qparallelanimationgroupjob + GUI + SOURCES + tst_qparallelanimationgroupjob.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qparallelanimationgroupjob.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qparallelanimationgroupjob.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/animation/qpauseanimationjob/CMakeLists.txt b/tests/auto/qml/animation/qpauseanimationjob/CMakeLists.txt new file mode 100644 index 0000000000..d8a35a3507 --- /dev/null +++ b/tests/auto/qml/animation/qpauseanimationjob/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qpauseanimationjob.pro. + +##################################################################### +## tst_qpauseanimationjob Test: +##################################################################### + +add_qt_test(tst_qpauseanimationjob + GUI + SOURCES + tst_qpauseanimationjob.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qpauseanimationjob.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qpauseanimationjob.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/animation/qsequentialanimationgroupjob/CMakeLists.txt b/tests/auto/qml/animation/qsequentialanimationgroupjob/CMakeLists.txt new file mode 100644 index 0000000000..435aac31eb --- /dev/null +++ b/tests/auto/qml/animation/qsequentialanimationgroupjob/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qsequentialanimationgroupjob.pro. + +##################################################################### +## tst_qsequentialanimationgroupjob Test: +##################################################################### + +add_qt_test(tst_qsequentialanimationgroupjob + GUI + SOURCES + tst_qsequentialanimationgroupjob.cpp + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qsequentialanimationgroupjob.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qsequentialanimationgroupjob.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/bindingdependencyapi/CMakeLists.txt b/tests/auto/qml/bindingdependencyapi/CMakeLists.txt new file mode 100644 index 0000000000..c248969091 --- /dev/null +++ b/tests/auto/qml/bindingdependencyapi/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from bindingdependencyapi.pro. + +##################################################################### +## tst_bindingdependencyapi 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}) + +add_qt_test(tst_bindingdependencyapi + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_bindingdependencyapi.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:bindingdependencyapi.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:bindingdependencyapi.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_bindingdependencyapi CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_bindingdependencyapi CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/CMakeLists.txt b/tests/auto/qml/debugger/CMakeLists.txt new file mode 100644 index 0000000000..7c0bd2e1cb --- /dev/null +++ b/tests/auto/qml/debugger/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from debugger.pro. + +add_subdirectory(qqmldebugjsserver) +add_subdirectory(qdebugmessageservice) +add_subdirectory(qqmlenginedebugservice) +add_subdirectory(qqmldebugjs) +add_subdirectory(qqmlinspector) +add_subdirectory(qqmlprofilerservice) +add_subdirectory(qpacketprotocol) +add_subdirectory(qqmlenginedebuginspectorintegrationtest) +add_subdirectory(qqmlenginecontrol) +add_subdirectory(qqmldebuggingenabler) +add_subdirectory(qqmlnativeconnector) +add_subdirectory(qqmldebugprocess) +add_subdirectory(qqmlpreview) +if(QT_FEATURE_private_tests) + add_subdirectory(qqmldebugclient) + add_subdirectory(qqmldebuglocal) + add_subdirectory(qqmldebugservice) + add_subdirectory(qv4debugger) +endif() diff --git a/tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt b/tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt new file mode 100644 index 0000000000..26b9635206 --- /dev/null +++ b/tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt @@ -0,0 +1,54 @@ +# Generated from qdebugmessageservice.pro. + +##################################################################### +## tst_qdebugmessageservice 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}) + +add_qt_test(tst_qdebugmessageservice + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qdebugmessageservice.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qdebugmessageservice.pro:<TRUE>: +# CONFIG = "testcase" +# OTHER_FILES = "data/test.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qdebugmessageservice.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qdebugmessageservice CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qdebugmessageservice CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt b/tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt new file mode 100644 index 0000000000..08f8ae3694 --- /dev/null +++ b/tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt @@ -0,0 +1,44 @@ +# Generated from qpacketprotocol.pro. + +##################################################################### +## tst_qpacketprotocol Test: +##################################################################### + +add_qt_test(tst_qpacketprotocol + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qpacketprotocol.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::QmlDebug +) + +#### Keys ignored in scope 1:.:.:qpacketprotocol.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qpacketprotocol.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qpacketprotocol CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qpacketprotocol CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt new file mode 100644 index 0000000000..4e52ab57cf --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt @@ -0,0 +1,43 @@ +# Generated from qqmldebugclient.pro. + +##################################################################### +## tst_qqmldebugclient Test: +##################################################################### + +add_qt_test(tst_qqmldebugclient + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + ../shared/qqmldebugtestservice.cpp ../shared/qqmldebugtestservice.h + tst_qqmldebugclient.cpp + DEFINES + QT_QML_DEBUG + QT_QML_DEBUG_NO_WARNING + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlDebug +) + +## Scopes: +##################################################################### + +extend_target(tst_qqmldebugclient CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmldebugclient CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmldebuggingenabler/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuggingenabler/CMakeLists.txt new file mode 100644 index 0000000000..8ba39c1d93 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebuggingenabler/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from qqmldebuggingenabler.pro. + +add_subdirectory(qqmldebuggingenabler) +add_subdirectory(qqmldebuggingenablerserver) diff --git a/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt new file mode 100644 index 0000000000..59a5aa9fa1 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt @@ -0,0 +1,45 @@ +# Generated from qqmldebuggingenabler.pro. + +##################################################################### +## tst_qqmldebuggingenabler Test: +##################################################################### + +add_qt_test(tst_qqmldebuggingenabler + GUI + SOURCES + ../../../../shared/util.cpp ../../../../shared/util.h + ../../shared/debugutil.cpp ../../shared/debugutil_p.h + ../../shared/qqmldebugprocess.cpp ../../shared/qqmldebugprocess_p.h + tst_qqmldebuggingenabler.cpp + INCLUDE_DIRECTORIES + ../../../../shared + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlDebug +) + +#### Keys ignored in scope 1:.:.:qqmldebuggingenabler.pro:<TRUE>: +# CONFIG = "testcase" "-debug_and_release_target" +# OTHER_FILES = "data/test.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebuggingenabler.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmldebuggingenabler CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmldebuggingenabler CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt new file mode 100644 index 0000000000..602d1afd20 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from qqmldebuggingenablerserver.pro. + +##################################################################### +## qqmldebuggingenablerserver Binary: +##################################################################### + +add_qt_executable(qqmldebuggingenablerserver + GUI + # special case begin + # Remove OUTPUT_DIRECTORY and INSTALL_DIRECTORY with $$[QT_INSTALL_TESTS] + # as these are invalid + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qqmldebuggingenabler" + # special case end + SOURCES + qqmldebuggingenablerserver.cpp + DEFINES + QT_QML_DEBUG_NO_WARNING + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qqmldebuggingenablerserver.pro:<TRUE>: +# CONFIG = "-debug_and_release_target" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebuggingenablerserver.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt new file mode 100644 index 0000000000..79279f1622 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qqmldebugjs.pro. + +##################################################################### +## tst_qqmldebugjs 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}) + +add_qt_test(tst_qqmldebugjs + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmldebugjs.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmldebugjs.pro:<TRUE>: +# CONFIG = "testcase" +# OTHER_FILES = "data/test.qml" "data/test.js" "data/timer.qml" "data/exception.qml" "data/oncompleted.qml" "data/loadjsfile.qml" "data/condition.qml" "data/changeBreakpoint.qml" "data/stepAction.qml" "data/breakpointRelocation.qml" "data/createComponent.qml" "data/encodeQmlScope.qml" "data/breakOnAnchor.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebugjs.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmldebugjs CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmldebugjs CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt new file mode 100644 index 0000000000..3de762f331 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from qqmldebugjsserver.pro. + +##################################################################### +## qqmldebugjsserver Binary: +##################################################################### + +# special case begin +# Remove INSTALL_DIRECTORY and INSTALL_DIRECTORY from this test a +# use the one from special case instead +# special case end +add_qt_executable(qqmldebugjsserver + GUI + # special case begin + OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} + # special case end + SOURCES + qqmldebugjsserver.cpp + DEFINES + QT_QML_DEBUG_NO_WARNING + INCLUDE_DIRECTORIES + ../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebugjsserver.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt new file mode 100644 index 0000000000..b4ba42d140 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from qqmldebuglocal.pro. + +##################################################################### +## tst_qqmldebuglocal Test: +##################################################################### + +add_qt_test(tst_qqmldebuglocal + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + ../shared/qqmldebugtestservice.cpp ../shared/qqmldebugtestservice.h + tst_qqmldebuglocal.cpp + DEFINES + QT_QML_DEBUG_NO_WARNING + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlDebug +) + +#### Keys ignored in scope 1:.:.:qqmldebuglocal.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebuglocal.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmldebuglocal CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmldebuglocal CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmldebugprocess/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugprocess/CMakeLists.txt new file mode 100644 index 0000000000..41482ab37c --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugprocess/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from qqmldebugprocess.pro. + +add_subdirectory(qqmldebugprocess) +add_subdirectory(qqmldebugprocessprocess) diff --git a/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocess/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocess/CMakeLists.txt new file mode 100644 index 0000000000..3af7cb42bb --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocess/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from qqmldebugprocess.pro. + +##################################################################### +## tst_qqmldebugprocess Test: +##################################################################### + +add_qt_test(tst_qqmldebugprocess + GUI + SOURCES + ../../shared/qqmldebugprocess.cpp ../../shared/qqmldebugprocess_p.h + tst_qqmldebugprocess.cpp + INCLUDE_DIRECTORIES + ../../shared +) + +#### Keys ignored in scope 1:.:.:qqmldebugprocess.pro:<TRUE>: +# CONFIG = "testcase" "-debug_and_release_target" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebugprocess.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/CMakeLists.txt new file mode 100644 index 0000000000..3a1bbae9f4 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qqmldebugprocessprocess.pro. + +##################################################################### +## qqmldebugprocessprocess Binary: +##################################################################### + +# special case begin +# Remove OUTPUT_DIRECTORY and INSTALL_DIRECTORY which start with +# $$[QT_INSTALL_TESTS] +# special case end + +add_qt_executable(qqmldebugprocessprocess +# special case begin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qqmldebugprocess" +# special case end + SOURCES + qqmldebugprocessprocess.cpp +) + +#### Keys ignored in scope 1:.:.:qqmldebugprocessprocess.pro:<TRUE>: +# CONFIG = "-debug_and_release_target" "console" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebugprocessprocess.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt new file mode 100644 index 0000000000..0e93b2b55f --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt @@ -0,0 +1,58 @@ +# Generated from qqmldebugservice.pro. + +##################################################################### +## tst_qqmldebugservice 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}) + +add_qt_test(tst_qqmldebugservice + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + ../shared/qqmldebugtestservice.cpp ../shared/qqmldebugtestservice.h + tst_qqmldebugservice.cpp + DEFINES + QT_QML_DEBUG_NO_WARNING + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmldebugservice.pro:<TRUE>: +# CONFIG = "testcase" +# OTHER_FILES = "data/test.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebugservice.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmldebugservice CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmldebugservice CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt b/tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt new file mode 100644 index 0000000000..6c2da84ce8 --- /dev/null +++ b/tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qqmlenginecontrol.pro. + +##################################################################### +## tst_qqmlenginecontrol 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}) + +add_qt_test(tst_qqmlenginecontrol + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmlenginecontrol.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlenginecontrol.pro:<TRUE>: +# CONFIG = "testcase" +# OTHER_FILES = "data/test.qml" "data/exit.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlenginecontrol.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlenginecontrol CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlenginecontrol CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt b/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt new file mode 100644 index 0000000000..0b3a8e8ffc --- /dev/null +++ b/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qqmlenginedebuginspectorintegrationtest.pro. + +##################################################################### +## tst_qqmlenginedebuginspectorintegration 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}) + +add_qt_test(tst_qqmlenginedebuginspectorintegration + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmlenginedebuginspectorintegration.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlenginedebuginspectorintegrationtest.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlenginedebuginspectorintegrationtest.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlenginedebuginspectorintegration CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlenginedebuginspectorintegration CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt b/tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt new file mode 100644 index 0000000000..9235577d89 --- /dev/null +++ b/tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt @@ -0,0 +1,46 @@ +# Generated from qqmlenginedebugservice.pro. + +##################################################################### +## tst_qqmlenginedebugservice Test: +##################################################################### + +add_qt_test(tst_qqmlenginedebugservice + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmlenginedebugservice.cpp + DEFINES + QT_QML_DEBUG_NO_WARNING + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::QmlDebugPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlDebug + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qqmlenginedebugservice.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlenginedebugservice.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlenginedebugservice CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlenginedebugservice CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt b/tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt new file mode 100644 index 0000000000..470d46880a --- /dev/null +++ b/tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qqmlinspector.pro. + +##################################################################### +## tst_qqmlinspector 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}) + +add_qt_test(tst_qqmlinspector + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmlinspector.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlinspector.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlinspector.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlinspector CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlinspector CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt b/tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt new file mode 100644 index 0000000000..117417baf7 --- /dev/null +++ b/tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from qqmlnativeconnector.pro. + +##################################################################### +## tst_qqmlnativeconnector Test: +##################################################################### + +add_qt_test(tst_qqmlnativeconnector + GUI + SOURCES + tst_qqmlnativeconnector.cpp + DEFINES + QT_QML_DEBUG + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +## Scopes: +##################################################################### diff --git a/tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt b/tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt new file mode 100644 index 0000000000..fb8deee316 --- /dev/null +++ b/tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt @@ -0,0 +1,54 @@ +# Generated from qqmlpreview.pro. + +##################################################################### +## tst_qqmlpreview Test: +##################################################################### + +# Collect test data +list(APPEND test_data "data/window.qml") +list(APPEND test_data "data/qtquick2.qml") +list(APPEND test_data "data/window2.qml") +list(APPEND test_data "data/window1.qml") +list(APPEND test_data "data/broken.qml") +list(APPEND test_data "data/zoom.qml") +list(APPEND test_data "data/i18n/qml_fr_FR.qm") + +add_qt_test(tst_qqmlpreview + GUI + SOURCES + ../../../../../src/plugins/qmltooling/qmldbg_preview/qqmlpreviewblacklist.cpp ../../../../../src/plugins/qmltooling/qmldbg_preview/qqmlpreviewblacklist.h + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmlpreview.cpp + INCLUDE_DIRECTORIES + ../../../../../src/plugins/qmltooling/qmldbg_preview + ../../../shared + ../shared + LIBRARIES + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlpreview.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlpreview.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlpreview CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlpreview CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt b/tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt new file mode 100644 index 0000000000..4ddb2cadbd --- /dev/null +++ b/tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qqmlprofilerservice.pro. + +##################################################################### +## tst_qqmlprofilerservice 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}) + +add_qt_test(tst_qqmlprofilerservice + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmlprofilerservice.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlprofilerservice.pro:<TRUE>: +# CONFIG = "testcase" +# OTHER_FILES = "data/pixmapCacheTest.qml" "data/controlFromJS.qml" "data/test.qml" "data/exit.qml" "data/scenegraphTest.qml" "data/TestImage_2x2.png" "data/signalSourceLocation.qml" "data/javascript.qml" "data/timer.qml" "data/qstr.qml" "data/memory.qml" "data/batchOverflow.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlprofilerservice.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlprofilerservice CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlprofilerservice CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qv4debugger/CMakeLists.txt b/tests/auto/qml/debugger/qv4debugger/CMakeLists.txt new file mode 100644 index 0000000000..a0e474578c --- /dev/null +++ b/tests/auto/qml/debugger/qv4debugger/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from qv4debugger.pro. + +##################################################################### +## tst_qv4debugger Test: +##################################################################### + +add_qt_test(tst_qv4debugger + GUI + SOURCES + ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.cpp ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h + ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4debugger.cpp ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4debugger.h + ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4debugjob.cpp ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4debugjob.h + tst_qv4debugger.cpp + INCLUDE_DIRECTORIES + ../../../../../src/plugins/qmltooling/qmldbg_debugger + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qv4debugger.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qv4debugger.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/ecmascripttests/CMakeLists.txt b/tests/auto/qml/ecmascripttests/CMakeLists.txt new file mode 100644 index 0000000000..00357fb36b --- /dev/null +++ b/tests/auto/qml/ecmascripttests/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from ecmascripttests.pro. + +##################################################################### +## tst_ecmascripttests Test: +##################################################################### + +add_qt_test(tst_ecmascripttests + GUI + SOURCES + qjstest/test262runner.cpp qjstest/test262runner.h + tst_ecmascripttests.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Qml +) + +#### Keys ignored in scope 2:.:.:testcase.pro:<TRUE>: +# CONFIG = "testcase" +# QT_TOOL_ENV = "checkenv" +# checkenv.name = "QTEST_FUNCTION_TIMEOUT" +# checkenv.value = "500000" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 3:.:.:testcase.pro:APPLE_OSX: +# CONFIG = "-app_bundle" +add_subdirectory(qjstest) diff --git a/tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt b/tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt new file mode 100644 index 0000000000..52317655c4 --- /dev/null +++ b/tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qjstest.pro. + +##################################################################### +## qjstest Tool: +##################################################################### + +add_qt_tool(qjstest + SOURCES + main.cpp + test262runner.cpp test262runner.h + DEFINES + QT_DEPRECATED_WARNINGS + INCLUDE_DIRECTORIES + . + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qjstest.pro:<TRUE>: +# QMAKE_TARGET_DESCRIPTION = "Javascript" "test" "runner" +# TEMPLATE = "app" +# _LOADED = "qt_tool" diff --git a/tests/auto/qml/parserstress/CMakeLists.txt b/tests/auto/qml/parserstress/CMakeLists.txt new file mode 100644 index 0000000000..2a2a67e25f --- /dev/null +++ b/tests/auto/qml/parserstress/CMakeLists.txt @@ -0,0 +1,36 @@ +# Generated from parserstress.pro. + +##################################################################### +## tst_parserstress Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "tests/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_parserstress + GUI + SOURCES + tst_parserstress.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:parserstress.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:parserstress.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qjsengine/CMakeLists.txt b/tests/auto/qml/qjsengine/CMakeLists.txt new file mode 100644 index 0000000000..2d5980760f --- /dev/null +++ b/tests/auto/qml/qjsengine/CMakeLists.txt @@ -0,0 +1,57 @@ +# Generated from qjsengine.pro. + +##################################################################### +## tst_qjsengine Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "script/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qjsengine + GUI + SOURCES + tst_qjsengine.cpp + LIBRARIES + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Widgets + TESTDATA ${test_data} +) + +# Resources: +add_qt_resource(tst_qjsengine "qjsengine" + PREFIX + "/" + FILES + translations/idtranslatable-unicode.qm + translations/idtranslatable_la.qm + translations/translatable-unicode.qm + translations/translatable_la.qm +) +add_qt_resource(tst_qjsengine "qmake_immediate" + PREFIX + "/" + FILES + exporterror1.mjs + importerror1.mjs + modulewithlexicals.mjs + testmodule.mjs +) + + +#### Keys ignored in scope 1:.:.:qjsengine.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qjsengine.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qjsonbinding/CMakeLists.txt b/tests/auto/qml/qjsonbinding/CMakeLists.txt index c0153f6b45..dbc0f2d2d6 100644 --- a/tests/auto/qml/qjsonbinding/CMakeLists.txt +++ b/tests/auto/qml/qjsonbinding/CMakeLists.txt @@ -4,7 +4,16 @@ ## tst_qjsonbinding 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}) + add_qt_test(tst_qjsonbinding + GUI SOURCES ../../shared/util.cpp ../../shared/util.h tst_qjsonbinding.cpp @@ -15,11 +24,11 @@ add_qt_test(tst_qjsonbinding PUBLIC_LIBRARIES Qt::Gui Qt::Qml + TESTDATA ${test_data} ) #### Keys ignored in scope 1:.:.:qjsonbinding.pro:<TRUE>: # CONFIG = "testcase" -# TESTDATA = "data/*" ## Scopes: ##################################################################### @@ -34,5 +43,5 @@ extend_target(tst_qjsonbinding CONDITION ANDROID OR APPLE_IOS extend_target(tst_qjsonbinding CONDITION NOT ANDROID AND NOT APPLE_IOS DEFINES - QT_QMLTEST_DATADIR=\\\"/data\\\" + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" ) diff --git a/tests/auto/qml/qjsvalue/CMakeLists.txt b/tests/auto/qml/qjsvalue/CMakeLists.txt new file mode 100644 index 0000000000..9e0e1b7d13 --- /dev/null +++ b/tests/auto/qml/qjsvalue/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qjsvalue.pro. + +##################################################################### +## tst_qjsvalue Test: +##################################################################### + +add_qt_test(tst_qjsvalue + GUI + SOURCES + tst_qjsvalue.cpp tst_qjsvalue.h + LIBRARIES + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Widgets +) + +#### Keys ignored in scope 1:.:.:qjsvalue.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qjsvalue.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qjsvalueiterator/CMakeLists.txt b/tests/auto/qml/qjsvalueiterator/CMakeLists.txt index 3c346456bc..ca3bf5c250 100644 --- a/tests/auto/qml/qjsvalueiterator/CMakeLists.txt +++ b/tests/auto/qml/qjsvalueiterator/CMakeLists.txt @@ -5,6 +5,7 @@ ##################################################################### add_qt_test(tst_qjsvalueiterator + GUI SOURCES tst_qjsvalueiterator.cpp PUBLIC_LIBRARIES diff --git a/tests/auto/qml/qmlcachegen/CMakeLists.txt b/tests/auto/qml/qmlcachegen/CMakeLists.txt new file mode 100644 index 0000000000..0ac705cd0d --- /dev/null +++ b/tests/auto/qml/qmlcachegen/CMakeLists.txt @@ -0,0 +1,125 @@ +# Generated from qmlcachegen.pro. + +##################################################################### +## tst_qmlcachegen 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}) + +add_qt_test(tst_qmlcachegen + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qmlcachegen.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +# Resources: +set(qmake_workerscripts_test_resource_files + "data/worker.js" + "data/worker.qml" +) + +add_qt_resource(tst_qmlcachegen "qmake_workerscripts_test" + PREFIX + "/workerscripts" + FILES + ${qmake_workerscripts_test_resource_files} +) +set_source_files_properties("data/trickypaths.qml" + PROPERTIES alias "file name with spaces.qml" +) +set_source_files_properties("data/versionStyleSuffix-1.2-core-yc.qml" + PROPERTIES alias "versionStyleSuffix-1.2-core-yc.qml" +) +set_source_files_properties("data/versionStyleSuffix-1.2-more.qml" + PROPERTIES alias "versionStyleSuffix-1.2-more.qml" +) +set(trickypaths_resource_files + "data/trickypaths.qml" + "data/versionStyleSuffix-1.2-core-yc.qml" + "data/versionStyleSuffix-1.2-more.qml" +) + +add_qt_resource(tst_qmlcachegen "trickypaths" + PREFIX + "/directory with spaces" + FILES + ${trickypaths_resource_files} +) +set_source_files_properties("data/Retain.qml" + PROPERTIES alias "Retain.qml" +) +set(retain_resource_files + "data/Retain.qml" +) + +set_source_files_properties(${retain_resource_files} PROPERTIES QT_RETAIN_QUICKCOMPILER 1) + +add_qt_resource(tst_qmlcachegen "retain" + PREFIX + "/" + FILES + ${retain_resource_files} +) +set(qmake_immediate_resource_files + "data/Enums.qml" + "data/componentInItem.qml" + "data/jsimport.qml" + "data/jsmoduleimport.qml" + "data/library.js" + "data/script.js" + "data/script.mjs" + "data/versionchecks.qml" +) + +add_qt_resource(tst_qmlcachegen "qmake_immediate" + PREFIX + "/" + FILES + ${qmake_immediate_resource_files} +) + + +## Scopes: +##################################################################### + +# Resources: +set_source_files_properties("data/umlaut.qml" + PROPERTIES alias "Bäh.qml" +) +set(trickypaths_umlaut_resource_files + "data/umlaut.qml" +) + +add_qt_resource(tst_qmlcachegen "trickypaths_umlaut" + PREFIX + "/" + FILES + ${trickypaths_umlaut_resource_files} +) + + +extend_target(tst_qmlcachegen CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qmlcachegen CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qmldiskcache/CMakeLists.txt b/tests/auto/qml/qmldiskcache/CMakeLists.txt new file mode 100644 index 0000000000..096641cae9 --- /dev/null +++ b/tests/auto/qml/qmldiskcache/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from qmldiskcache.pro. + +##################################################################### +## tst_qmldiskcache Test: +##################################################################### + +add_qt_test(tst_qmldiskcache + GUI + SOURCES + tst_qmldiskcache.cpp + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +# special case begin +# Disable quick compiler for this test +set_source_files_properties( + importmodule.qml + module.mjs + test.qml + PROPERTIES + QT_SKIP_QUICKCOMPILER TRUE +) +# special case end + +# Resources: +add_qt_resource(tst_qmldiskcache "qmake_immediate" + PREFIX + "/" + FILES + importmodule.qml + module.mjs + test.qml +) + + +#### Keys ignored in scope 1:.:.:qmldiskcache.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qmldiskcache.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qmllint/CMakeLists.txt b/tests/auto/qml/qmllint/CMakeLists.txt new file mode 100644 index 0000000000..a9995910ae --- /dev/null +++ b/tests/auto/qml/qmllint/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from qmllint.pro. + +##################################################################### +## testqmllint Binary: +##################################################################### + +add_qt_executable(testqmllint + GUI + SOURCES + main.cpp + INCLUDE_DIRECTORIES + . + PUBLIC_LIBRARIES + Qt::Gui + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qmllint.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/qml/qmlmin/CMakeLists.txt b/tests/auto/qml/qmlmin/CMakeLists.txt index a14c76d14e..18fa793f07 100644 --- a/tests/auto/qml/qmlmin/CMakeLists.txt +++ b/tests/auto/qml/qmlmin/CMakeLists.txt @@ -5,10 +5,11 @@ ##################################################################### add_qt_test(tst_qmlmin + GUI SOURCES tst_qmlmin.cpp DEFINES - SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/.\\\" + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" LIBRARIES Qt::GuiPrivate PUBLIC_LIBRARIES diff --git a/tests/auto/qml/qmlplugindump/CMakeLists.txt b/tests/auto/qml/qmlplugindump/CMakeLists.txt new file mode 100644 index 0000000000..f8204d1057 --- /dev/null +++ b/tests/auto/qml/qmlplugindump/CMakeLists.txt @@ -0,0 +1,44 @@ +# Generated from qmlplugindump.pro. + +##################################################################### +## tst_qmlplugindump Test: +##################################################################### + +add_qt_test(tst_qmlplugindump + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qmlplugindump.cpp + DEFINES + QT_QMLTEST_DIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 2:.:.:tst_qmlplugindump.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 3:.:.:tst_qmlplugindump.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qmlplugindump CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qmlplugindump CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) +add_subdirectory(data/dumper/Dummy) +add_subdirectory(data/dumper/Imports) +add_subdirectory(data/dumper/Versions) +add_subdirectory(data/dumper/ExtendedType) diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Dummy/.prev_CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Dummy/.prev_CMakeLists.txt new file mode 100644 index 0000000000..905d199505 --- /dev/null +++ b/tests/auto/qml/qmlplugindump/data/dumper/Dummy/.prev_CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from dummy.pro. + +##################################################################### +## Dummy Plugin: +##################################################################### + +add_qt_plugin(Dummy + SOURCES + dummy.cpp dummy.h + dummy_plugin.cpp dummy_plugin.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:dummy.pro:<TRUE>: +# CONFIG = "qt" "plugin" "-debug_and_release_target" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:dummy.pro:NOT build_pass AND QT_FEATURE_debug_and_release: +# CONFIG = "release" + +#### Keys ignored in scope 3:.:.:dummy.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD: +# COPIES = "cp" +# cp.files = "qmldir" "plugins.qmltypes" +# cp.path = "$$OUT_PWD" diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Dummy/CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Dummy/CMakeLists.txt new file mode 100644 index 0000000000..db6c8469e5 --- /dev/null +++ b/tests/auto/qml/qmlplugindump/data/dumper/Dummy/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from dummy.pro. + +##################################################################### +## Dummy Plugin: +##################################################################### + +add_qt_plugin(Dummy +# special case begin + TYPE qml_plugin + OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +# special case end + SOURCES + dummy.cpp dummy.h + dummy_plugin.cpp dummy_plugin.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:dummy.pro:<TRUE>: +# CONFIG = "qt" "plugin" "-debug_and_release_target" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:dummy.pro:NOT build_pass AND QT_FEATURE_debug_and_release: +# CONFIG = "release" + +#### Keys ignored in scope 3:.:.:dummy.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD: +# COPIES = "cp" +# cp.files = "qmldir" "plugins.qmltypes" +# cp.path = "$$OUT_PWD" + +# special case begin +get_target_property(binary_dir Dummy BINARY_DIR) +file(COPY qmldir plugins.qmltypes + DESTINATION ${binary_dir} +) diff --git a/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/.prev_CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/.prev_CMakeLists.txt new file mode 100644 index 0000000000..442ce7f080 --- /dev/null +++ b/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/.prev_CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from extendedtype.pro. + +##################################################################### +## ExtendedType Plugin: +##################################################################### + +add_qt_plugin(ExtendedType + SOURCES + plugin.cpp plugin.h + types.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:extendedtype.pro:<TRUE>: +# CONFIG = "qt" "plugin" "-debug_and_release_target" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:extendedtype.pro:NOT build_pass AND QT_FEATURE_debug_and_release: +# CONFIG = "release" + +#### Keys ignored in scope 3:.:.:extendedtype.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD: +# COPIES = "cp" +# cp.files = "qmldir" "plugins.qmltypes" +# cp.path = "$$OUT_PWD" diff --git a/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/CMakeLists.txt new file mode 100644 index 0000000000..7917b3643a --- /dev/null +++ b/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/CMakeLists.txt @@ -0,0 +1,41 @@ +# Generated from extendedtype.pro. + +##################################################################### +## ExtendedType Plugin: +##################################################################### + +add_qt_plugin(ExtendedType +# special case begin + TYPE qml_plugin + OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +# special case end + SOURCES + plugin.cpp plugin.h + types.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:extendedtype.pro:<TRUE>: +# CONFIG = "qt" "plugin" "-debug_and_release_target" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:extendedtype.pro:NOT build_pass AND QT_FEATURE_debug_and_release: +# CONFIG = "release" + +#### Keys ignored in scope 3:.:.:extendedtype.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD: +# COPIES = "cp" +# cp.files = "qmldir" "plugins.qmltypes" +# cp.path = "$$OUT_PWD" + +# special case begin +get_target_property(binary_dir ExtendedType BINARY_DIR) +file(COPY qmldir plugins.qmltypes + DESTINATION ${binary_dir} +) +# special case end diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Imports/.prev_CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Imports/.prev_CMakeLists.txt new file mode 100644 index 0000000000..536abe9c53 --- /dev/null +++ b/tests/auto/qml/qmlplugindump/data/dumper/Imports/.prev_CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from imports.pro. + +##################################################################### +## Imports Plugin: +##################################################################### + +add_qt_plugin(Imports + SOURCES + imports.cpp imports.h + imports_plugin.cpp imports_plugin.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:imports.pro:<TRUE>: +# CONFIG = "qt" "plugin" "-debug_and_release_target" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:imports.pro:NOT build_pass AND QT_FEATURE_debug_and_release: +# CONFIG = "release" + +#### Keys ignored in scope 3:.:.:imports.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD: +# COPIES = "cp" +# cp.files = "qmldir" "plugins.qmltypes" "CompositeImports.qml" +# cp.path = "$$OUT_PWD" diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Imports/CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Imports/CMakeLists.txt new file mode 100644 index 0000000000..f34ccb84e3 --- /dev/null +++ b/tests/auto/qml/qmlplugindump/data/dumper/Imports/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from imports.pro. + +##################################################################### +## Imports Plugin: +##################################################################### + +add_qt_plugin(Imports +# special case begin + TYPE qml_plugin + OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +# special case end + SOURCES + imports.cpp imports.h + imports_plugin.cpp imports_plugin.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:imports.pro:<TRUE>: +# CONFIG = "qt" "plugin" "-debug_and_release_target" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:imports.pro:NOT build_pass AND QT_FEATURE_debug_and_release: +# CONFIG = "release" + +#### Keys ignored in scope 3:.:.:imports.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD: +# COPIES = "cp" +# cp.files = "qmldir" "plugins.qmltypes" "CompositeImports.qml" +# cp.path = "$$OUT_PWD" + +# special case begin +get_target_property(binary_dir Imports BINARY_DIR) +file(COPY qmldir plugins.qmltypes CompositeImports.qml + DESTINATION ${binary_dir} +) diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Versions/.prev_CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Versions/.prev_CMakeLists.txt new file mode 100644 index 0000000000..04a77f825c --- /dev/null +++ b/tests/auto/qml/qmlplugindump/data/dumper/Versions/.prev_CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from versions.pro. + +##################################################################### +## Versions Plugin: +##################################################################### + +add_qt_plugin(Versions + SOURCES + versions.cpp versions.h + versions_plugin.cpp versions_plugin.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:versions.pro:<TRUE>: +# CONFIG = "qt" "plugin" "-debug_and_release_target" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:versions.pro:NOT build_pass AND QT_FEATURE_debug_and_release: +# CONFIG = "release" + +#### Keys ignored in scope 3:.:.:versions.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD: +# COPIES = "cpqmldir" +# cpqmldir.files = "qmldir" "plugins.qmltypes" +# cpqmldir.path = "$$OUT_PWD" diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Versions/CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Versions/CMakeLists.txt new file mode 100644 index 0000000000..88e058f0c9 --- /dev/null +++ b/tests/auto/qml/qmlplugindump/data/dumper/Versions/CMakeLists.txt @@ -0,0 +1,41 @@ +# Generated from versions.pro. + +##################################################################### +## Versions Plugin: +##################################################################### + +add_qt_plugin(Versions +# special case begin + TYPE qml_plugin + OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +# special case end + SOURCES + versions.cpp versions.h + versions_plugin.cpp versions_plugin.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:versions.pro:<TRUE>: +# CONFIG = "qt" "plugin" "-debug_and_release_target" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:versions.pro:NOT build_pass AND QT_FEATURE_debug_and_release: +# CONFIG = "release" + +#### Keys ignored in scope 3:.:.:versions.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD: +# COPIES = "cpqmldir" +# cpqmldir.files = "qmldir" "plugins.qmltypes" +# cpqmldir.path = "$$OUT_PWD" + +# special case begin +get_target_property(binary_dir Versions BINARY_DIR) +file(COPY qmldir plugins.qmltypes + DESTINATION ${binary_dir} +) +# special case end diff --git a/tests/auto/qml/qqmlapplicationengine/CMakeLists.txt b/tests/auto/qml/qqmlapplicationengine/CMakeLists.txt new file mode 100644 index 0000000000..9508ebfa9b --- /dev/null +++ b/tests/auto/qml/qqmlapplicationengine/CMakeLists.txt @@ -0,0 +1,62 @@ +# Generated from qqmlapplicationengine.pro. + +##################################################################### +## tst_qqmlapplicationengine 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}) + +add_qt_test(tst_qqmlapplicationengine + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlapplicationengine.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_qqmlapplicationengine "tst_qqmlapplicationengine" + PREFIX + "/" + FILES + data/i18n/qml.qm + data/loadTranslation.qml +) + + +#### Keys ignored in scope 2:.:.:tst_qqmlapplicationengine.pro:<TRUE>: +# CONFIG = "testcase" +# TRANSLATIONS = "data/i18n/qml_ja.ts" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 3:.:.:tst_qqmlapplicationengine.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlapplicationengine CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlapplicationengine CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) +add_subdirectory(testapp) diff --git a/tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt b/tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt new file mode 100644 index 0000000000..6adbba2b49 --- /dev/null +++ b/tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from testapp.pro. + +##################################################################### +## testapp Binary: +##################################################################### + +add_qt_executable(testapp + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/./" + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +# Resources: +add_qt_resource(testapp "main" + PREFIX + "/" + FILES + delayedExit.qml + delayedQuit.qml + immediateExit.qml + immediateQuit.qml +) + + +#### Keys ignored in scope 1:.:.:testapp.pro:<TRUE>: +# CONFIG = "-app_bundle" "console" +# TEMPLATE = "app" diff --git a/tests/auto/qml/qqmlbinding/CMakeLists.txt b/tests/auto/qml/qqmlbinding/CMakeLists.txt new file mode 100644 index 0000000000..9b4594cb00 --- /dev/null +++ b/tests/auto/qml/qqmlbinding/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qqmlbinding.pro. + +##################################################################### +## tst_qqmlbinding 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}) + +add_qt_test(tst_qqmlbinding + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlbinding.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlbinding.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlbinding.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlbinding CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlbinding CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlchangeset/CMakeLists.txt b/tests/auto/qml/qqmlchangeset/CMakeLists.txt new file mode 100644 index 0000000000..f91ac975c3 --- /dev/null +++ b/tests/auto/qml/qqmlchangeset/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qqmlchangeset.pro. + +##################################################################### +## tst_qqmlhangeset Test: +##################################################################### + +add_qt_test(tst_qqmlhangeset + GUI + SOURCES + tst_qqmlchangeset.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels +) + +#### Keys ignored in scope 1:.:.:qqmlchangeset.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlchangeset.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qqmlcomponent/CMakeLists.txt b/tests/auto/qml/qqmlcomponent/CMakeLists.txt new file mode 100644 index 0000000000..46a8d11b3c --- /dev/null +++ b/tests/auto/qml/qqmlcomponent/CMakeLists.txt @@ -0,0 +1,61 @@ +# Generated from qqmlcomponent.pro. + +##################################################################### +## tst_qqmlcomponent 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}) + +add_qt_test(tst_qqmlcomponent + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + tst_qqmlcomponent.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +# Resources: +add_qt_resource(tst_qqmlcomponent "qmake_immediate" + PREFIX + "/" + FILES + data/QtObjectComponent.qml +) + +#### Keys ignored in scope 1:.:.:qqmlcomponent.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlcomponent.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlcomponent CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlcomponent CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlconnections/CMakeLists.txt b/tests/auto/qml/qqmlconnections/CMakeLists.txt new file mode 100644 index 0000000000..22a768036d --- /dev/null +++ b/tests/auto/qml/qqmlconnections/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qqmlconnections.pro. + +##################################################################### +## tst_qqmlconnections 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}) + +add_qt_test(tst_qqmlconnections + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlconnections.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlconnections.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlconnections.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlconnections CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlconnections CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlconsole/CMakeLists.txt b/tests/auto/qml/qqmlconsole/CMakeLists.txt new file mode 100644 index 0000000000..1f2c3d129d --- /dev/null +++ b/tests/auto/qml/qqmlconsole/CMakeLists.txt @@ -0,0 +1,47 @@ +# Generated from qqmlconsole.pro. + +##################################################################### +## tst_qqmlconsole 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}) + +add_qt_test(tst_qqmlconsole + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlconsole.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlconsole.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlconsole.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlconsole CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlconsole CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlcontext/CMakeLists.txt b/tests/auto/qml/qqmlcontext/CMakeLists.txt new file mode 100644 index 0000000000..fb555bef2a --- /dev/null +++ b/tests/auto/qml/qqmlcontext/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from qqmlcontext.pro. + +##################################################################### +## tst_qqmlcontext 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}) + +add_qt_test(tst_qqmlcontext + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlcontext.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlcontext.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlcontext.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlcontext CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlcontext CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlcpputils/CMakeLists.txt b/tests/auto/qml/qqmlcpputils/CMakeLists.txt new file mode 100644 index 0000000000..fbb1863d43 --- /dev/null +++ b/tests/auto/qml/qqmlcpputils/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qqmlcpputils.pro. + +##################################################################### +## tst_qqmlcpputils Test: +##################################################################### + +add_qt_test(tst_qqmlcpputils + GUI + SOURCES + tst_qqmlcpputils.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qqmlcpputils.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlcpputils.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qqmldirparser/CMakeLists.txt b/tests/auto/qml/qqmldirparser/CMakeLists.txt new file mode 100644 index 0000000000..21a8fa44ae --- /dev/null +++ b/tests/auto/qml/qqmldirparser/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qqmldirparser.pro. + +##################################################################### +## tst_qqmldirparser Test: +##################################################################### + +add_qt_test(tst_qqmldirparser + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmldirparser.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qqmldirparser.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldirparser.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmldirparser CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmldirparser CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlecmascript/CMakeLists.txt b/tests/auto/qml/qqmlecmascript/CMakeLists.txt new file mode 100644 index 0000000000..693fa90c00 --- /dev/null +++ b/tests/auto/qml/qqmlecmascript/CMakeLists.txt @@ -0,0 +1,80 @@ +# Generated from qqmlecmascript.pro. + +##################################################################### +## tst_qqmlecmascript 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}) + +add_qt_test(tst_qqmlecmascript + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + testtypes.cpp testtypes.h + tst_qqmlecmascript.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + TESTDATA ${test_data} +) + +# Resources: +# special case begin +set_source_files_properties( + data/include.js + data/include.qml + data/js/include2.js + data/js/include3.js + PROPERTIES + QT_SKIP_QUICKCOMPILER 1 +) + +# special case end +add_qt_resource(tst_qqmlecmascript "qqmlecmascript" + PREFIX + "/" + FILES + data/include.js + data/include.qml + data/js/include2.js + data/js/include3.js +) + + +#### Keys ignored in scope 1:.:.:qqmlecmascript.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlecmascript.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlecmascript CONDITION TARGET Qt::Widgets + PUBLIC_LIBRARIES + Qt::Widgets +) + +extend_target(tst_qqmlecmascript CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlecmascript CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlengine/CMakeLists.txt b/tests/auto/qml/qqmlengine/CMakeLists.txt new file mode 100644 index 0000000000..5f38633234 --- /dev/null +++ b/tests/auto/qml/qqmlengine/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from qqmlengine.pro. + +##################################################################### +## tst_qqmlengine Test: +##################################################################### + +add_qt_test(tst_qqmlengine + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlengine.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml +) + +# Resources: +add_qt_resource(tst_qqmlengine "qmake_immediate" + PREFIX + "/" + FILES + data/qrcurls.js + data/qrcurls.qml +) + + +#### Keys ignored in scope 1:.:.:qqmlengine.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlengine.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlengine CONDITION boot2qt + DEFINES + SKIP_GCCORRUPTION_TEST +) + +extend_target(tst_qqmlengine CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlengine CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlenginecleanup/CMakeLists.txt b/tests/auto/qml/qqmlenginecleanup/CMakeLists.txt new file mode 100644 index 0000000000..66856f3ae0 --- /dev/null +++ b/tests/auto/qml/qqmlenginecleanup/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qqmlenginecleanup.pro. + +##################################################################### +## tst_qqmlenginecleanup Test: +##################################################################### + +add_qt_test(tst_qqmlenginecleanup + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlenginecleanup.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Qml +) + +#### Keys ignored in scope 2:.:.:tst_qqmlenginecleanup.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 3:.:.:tst_qqmlenginecleanup.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlenginecleanup CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlenginecleanup CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) +add_subdirectory(CustomModuleImport) diff --git a/tests/auto/qml/qqmlenginecleanup/CustomModuleImport/CMakeLists.txt b/tests/auto/qml/qqmlenginecleanup/CustomModuleImport/CMakeLists.txt new file mode 100644 index 0000000000..5338e58334 --- /dev/null +++ b/tests/auto/qml/qqmlenginecleanup/CustomModuleImport/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from CustomModule.pro. + +##################################################################### +## stomModule Module: +##################################################################### + +add_qt_plugin(CustomModule + # special case begin + TYPE qml_plugin + # special case end + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../CustomModule" + SOURCES + moduleplugin.cpp + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(CustomModule "moduleplugin" + PREFIX + "/" + FILES + ModuleType.qml +) + + +#### Keys ignored in scope 1:.:.:CustomModule.pro:<TRUE>: +# CONFIG = "qtquickcompiler" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../CustomModule" +) +# special case end diff --git a/tests/auto/qml/qqmlerror/CMakeLists.txt b/tests/auto/qml/qqmlerror/CMakeLists.txt new file mode 100644 index 0000000000..a2d34733e1 --- /dev/null +++ b/tests/auto/qml/qqmlerror/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from qqmlerror.pro. + +##################################################################### +## tst_qqmlerror 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}) + +add_qt_test(tst_qqmlerror + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlerror.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlerror.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlerror.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlerror CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlerror CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlexpression/CMakeLists.txt b/tests/auto/qml/qqmlexpression/CMakeLists.txt new file mode 100644 index 0000000000..42643ad841 --- /dev/null +++ b/tests/auto/qml/qqmlexpression/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from qqmlexpression.pro. + +##################################################################### +## tst_qqmlexpression 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}) + +add_qt_test(tst_qqmlexpression + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlexpression.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlexpression.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlexpression.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlexpression CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlexpression CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlextensionplugin/CMakeLists.txt b/tests/auto/qml/qqmlextensionplugin/CMakeLists.txt new file mode 100644 index 0000000000..4080517fa4 --- /dev/null +++ b/tests/auto/qml/qqmlextensionplugin/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from qqmlextensionplugin.pro. + +##################################################################### +## tst_qqmlextensionplugin Test: +##################################################################### + +add_qt_test(tst_qqmlextensionplugin + GUI + SOURCES + tst_qqmlextensionplugin.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qqmlextensionplugin.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlextensionplugin.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qqmlfile/CMakeLists.txt b/tests/auto/qml/qqmlfile/CMakeLists.txt index 9105c96306..387e7029dc 100644 --- a/tests/auto/qml/qqmlfile/CMakeLists.txt +++ b/tests/auto/qml/qqmlfile/CMakeLists.txt @@ -5,9 +5,11 @@ ##################################################################### add_qt_test(tst_qqmlfile + GUI SOURCES tst_qqmlfile.cpp PUBLIC_LIBRARIES + Qt::Gui Qt::Qml ) diff --git a/tests/auto/qml/qqmlfileselector/CMakeLists.txt b/tests/auto/qml/qqmlfileselector/CMakeLists.txt index 6e23531fa3..c074abad74 100644 --- a/tests/auto/qml/qqmlfileselector/CMakeLists.txt +++ b/tests/auto/qml/qqmlfileselector/CMakeLists.txt @@ -4,7 +4,16 @@ ## tst_qqmlfileselector 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}) + add_qt_test(tst_qqmlfileselector + GUI SOURCES ../../shared/util.cpp ../../shared/util.h tst_qqmlfileselector.cpp @@ -17,11 +26,11 @@ add_qt_test(tst_qqmlfileselector PUBLIC_LIBRARIES Qt::Gui Qt::Qml + TESTDATA ${test_data} ) #### Keys ignored in scope 1:.:.:qqmlfileselector.pro:<TRUE>: # CONFIG = "testcase" -# TESTDATA = "data/*" ## Scopes: ##################################################################### @@ -36,5 +45,5 @@ extend_target(tst_qqmlfileselector CONDITION ANDROID OR APPLE_IOS extend_target(tst_qqmlfileselector CONDITION NOT ANDROID AND NOT APPLE_IOS DEFINES - QT_QMLTEST_DATADIR=\\\"/data\\\" + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" ) diff --git a/tests/auto/qml/qqmlglobal/CMakeLists.txt b/tests/auto/qml/qqmlglobal/CMakeLists.txt new file mode 100644 index 0000000000..3a8f175d76 --- /dev/null +++ b/tests/auto/qml/qqmlglobal/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qqmlglobal.pro. + +##################################################################### +## tst_qqmlglobal Test: +##################################################################### + +add_qt_test(tst_qqmlglobal + GUI + SOURCES + tst_qqmlglobal.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qqmlglobal.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlglobal.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qqmlimport/CMakeLists.txt b/tests/auto/qml/qqmlimport/CMakeLists.txt new file mode 100644 index 0000000000..71f71c7326 --- /dev/null +++ b/tests/auto/qml/qqmlimport/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from qqmlimport.pro. + +##################################################################### +## tst_qqmlimport Test: +##################################################################### + +add_qt_test(tst_qqmlimport + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlimport.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qqmlimport.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlimport.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlimport CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlimport CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlincubator/CMakeLists.txt b/tests/auto/qml/qqmlincubator/CMakeLists.txt new file mode 100644 index 0000000000..c46519e533 --- /dev/null +++ b/tests/auto/qml/qqmlincubator/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qqmlincubator.pro. + +##################################################################### +## tst_qqmlincubator 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}) + +add_qt_test(tst_qqmlincubator + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + testtypes.cpp testtypes.h + tst_qqmlincubator.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlincubator.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlincubator.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlincubator CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlincubator CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlinfo/CMakeLists.txt b/tests/auto/qml/qqmlinfo/CMakeLists.txt new file mode 100644 index 0000000000..b676d6bd2a --- /dev/null +++ b/tests/auto/qml/qqmlinfo/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from qqmlinfo.pro. + +##################################################################### +## tst_qqmlinfo 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}) + +add_qt_test(tst_qqmlinfo + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlinfo.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlinfo.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlinfo.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlinfo CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlinfo CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlinstantiator/CMakeLists.txt b/tests/auto/qml/qqmlinstantiator/CMakeLists.txt new file mode 100644 index 0000000000..16efb35c65 --- /dev/null +++ b/tests/auto/qml/qqmlinstantiator/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qqmlinstantiator.pro. + +##################################################################### +## tst_qqmlinstantiator 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}) + +add_qt_test(tst_qqmlinstantiator + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + stringmodel.h + tst_qqmlinstantiator.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlinstantiator.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlinstantiator.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlinstantiator CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlinstantiator CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlitemmodels/CMakeLists.txt b/tests/auto/qml/qqmlitemmodels/CMakeLists.txt new file mode 100644 index 0000000000..e65dc58ddf --- /dev/null +++ b/tests/auto/qml/qqmlitemmodels/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from qqmlitemmodels.pro. + +##################################################################### +## tst_qqmlitemmodels 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}) + +add_qt_test(tst_qqmlitemmodels + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + qtestmodel.h + testtypes.h + tst_qqmlitemmodels.cpp + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlitemmodels.pro:<TRUE>: +# CONFIG = "testcase" +# DISTFILES = "data/modelindex.qml" "data/persistentmodelindex.qml" "data/itemselectionrange.qml" "data/modelindexlist.qml" "data/itemselection.qml" "data/modelindexconversion.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlitemmodels.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlitemmodels CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlitemmodels CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmllanguage/CMakeLists.txt b/tests/auto/qml/qqmllanguage/CMakeLists.txt new file mode 100644 index 0000000000..86958dfc81 --- /dev/null +++ b/tests/auto/qml/qqmllanguage/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qqmllanguage.pro. + +##################################################################### +## tst_qqmllanguage 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}) + +add_qt_test(tst_qqmllanguage + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + testtypes.cpp testtypes.h + tst_qqmllanguage.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmllanguage.pro:<TRUE>: +# CONFIG = "testcase" +# OTHER_FILES = "data/readonlyObjectProperty.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmllanguage.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmllanguage CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmllanguage CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmllistcompositor/CMakeLists.txt b/tests/auto/qml/qqmllistcompositor/CMakeLists.txt new file mode 100644 index 0000000000..211f9beb6d --- /dev/null +++ b/tests/auto/qml/qqmllistcompositor/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qqmllistcompositor.pro. + +##################################################################### +## tst_qqmllistcompositor Test: +##################################################################### + +add_qt_test(tst_qqmllistcompositor + GUI + SOURCES + tst_qqmllistcompositor.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qqmllistcompositor.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmllistcompositor.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qqmllistmodel/CMakeLists.txt b/tests/auto/qml/qqmllistmodel/CMakeLists.txt new file mode 100644 index 0000000000..72c219e14b --- /dev/null +++ b/tests/auto/qml/qqmllistmodel/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qqmllistmodel.pro. + +##################################################################### +## tst_qqmllistmodel 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}) + +add_qt_test(tst_qqmllistmodel + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmllistmodel.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmllistmodel.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmllistmodel.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmllistmodel CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmllistmodel CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt b/tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt new file mode 100644 index 0000000000..cd4dd7db7f --- /dev/null +++ b/tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qqmllistmodelworkerscript.pro. + +##################################################################### +## tst_qqmllistmodelworkerscript 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}) + +add_qt_test(tst_qqmllistmodelworkerscript + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmllistmodelworkerscript.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmllistmodelworkerscript.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmllistmodelworkerscript.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmllistmodelworkerscript CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmllistmodelworkerscript CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmllistreference/CMakeLists.txt b/tests/auto/qml/qqmllistreference/CMakeLists.txt new file mode 100644 index 0000000000..e30129b7e0 --- /dev/null +++ b/tests/auto/qml/qqmllistreference/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qqmllistreference.pro. + +##################################################################### +## tst_qqmllistreference 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}) + +add_qt_test(tst_qqmllistreference + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmllistreference.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmllistreference.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmllistreference.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmllistreference CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmllistreference CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmllocale/CMakeLists.txt b/tests/auto/qml/qqmllocale/CMakeLists.txt new file mode 100644 index 0000000000..d21e0b8e0f --- /dev/null +++ b/tests/auto/qml/qqmllocale/CMakeLists.txt @@ -0,0 +1,47 @@ +# Generated from qqmllocale.pro. + +##################################################################### +## tst_qqmllocale 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}) + +add_qt_test(tst_qqmllocale + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmllocale.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmllocale.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmllocale.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmllocale CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmllocale CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlmetaobject/CMakeLists.txt b/tests/auto/qml/qqmlmetaobject/CMakeLists.txt new file mode 100644 index 0000000000..25a05ed111 --- /dev/null +++ b/tests/auto/qml/qqmlmetaobject/CMakeLists.txt @@ -0,0 +1,47 @@ +# Generated from qqmlmetaobject.pro. + +##################################################################### +## tst_qqmlmetaobject 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}) + +add_qt_test(tst_qqmlmetaobject + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlmetaobject.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlmetaobject.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlmetaobject.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlmetaobject CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlmetaobject CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlmetatype/CMakeLists.txt b/tests/auto/qml/qqmlmetatype/CMakeLists.txt new file mode 100644 index 0000000000..0f96747410 --- /dev/null +++ b/tests/auto/qml/qqmlmetatype/CMakeLists.txt @@ -0,0 +1,66 @@ +# Generated from qqmlmetatype.pro. + +##################################################################### +## tst_qqmlmetatype 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}) + +add_qt_test(tst_qqmlmetatype + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlmetatype.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +# Resources: +add_qt_resource(tst_qqmlmetatype "qmake_qmlfiles" + PREFIX + "/tstqqmlmetatype" + FILES + data/CompositeType.qml +) +add_qt_resource(tst_qqmlmetatype "qmake_qmldirresource" + PREFIX + "/" + FILES + data/Components/App.qml + data/Components/qmldir + data/enumsInRecursiveImport.qml +) + + +#### Keys ignored in scope 1:.:.:qqmlmetatype.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlmetatype.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlmetatype CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlmetatype CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) 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 diff --git a/tests/auto/qml/qqmlnotifier/CMakeLists.txt b/tests/auto/qml/qqmlnotifier/CMakeLists.txt new file mode 100644 index 0000000000..a53621b8d4 --- /dev/null +++ b/tests/auto/qml/qqmlnotifier/CMakeLists.txt @@ -0,0 +1,45 @@ +# Generated from qqmlnotifier.pro. + +##################################################################### +## tst_qqmlnotifier 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}) + +add_qt_test(tst_qqmlnotifier + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlnotifier.cpp + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlnotifier.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlnotifier.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlnotifier CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlnotifier CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlobjectmodel/CMakeLists.txt b/tests/auto/qml/qqmlobjectmodel/CMakeLists.txt new file mode 100644 index 0000000000..cb184f9abd --- /dev/null +++ b/tests/auto/qml/qqmlobjectmodel/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from qqmlobjectmodel.pro. + +##################################################################### +## tst_qqmlobjectmodel Test: +##################################################################### + +add_qt_test(tst_qqmlobjectmodel + GUI + SOURCES + tst_qqmlobjectmodel.cpp + LIBRARIES + Qt::CorePrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels +) + +#### Keys ignored in scope 1:.:.:qqmlobjectmodel.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlobjectmodel.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt b/tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt new file mode 100644 index 0000000000..58120cacae --- /dev/null +++ b/tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qqmlopenmetaobject.pro. + +##################################################################### +## tst_qqmlopenmetaobject Test: +##################################################################### + +add_qt_test(tst_qqmlopenmetaobject + GUI + SOURCES + tst_qqmlopenmetaobject.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qqmlopenmetaobject.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlopenmetaobject.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qqmlparser/CMakeLists.txt b/tests/auto/qml/qqmlparser/CMakeLists.txt new file mode 100644 index 0000000000..ef7113d6cc --- /dev/null +++ b/tests/auto/qml/qqmlparser/CMakeLists.txt @@ -0,0 +1,54 @@ +# Generated from qqmlparser.pro. + +##################################################################### +## tst_qqmlparser 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}) + +add_qt_test(tst_qqmlparser + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlparser.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlparser.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlparser.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlparser CONDITION cross_compile + DEFINES + QTEST_CROSS_COMPILED +) + +extend_target(tst_qqmlparser CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlparser CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlpromise/CMakeLists.txt b/tests/auto/qml/qqmlpromise/CMakeLists.txt new file mode 100644 index 0000000000..d8c5caa6d2 --- /dev/null +++ b/tests/auto/qml/qqmlpromise/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qqmlpromise.pro. + +##################################################################### +## tst_qqmlpromise 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}) + +add_qt_test(tst_qqmlpromise + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlpromise.cpp + DEFINES + QT_DISABLE_DEPRECATED_BEFORE=0 + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlpromise.pro:<TRUE>: +# CONFIG = "testcase" +# DISTFILES = "data/then-fulfilled-non-callable.qml" "data/then-reject-non-callable.qml" "data/then-resolve-multiple-then.qml" "data/then-resolve-chaining.qml" "data/then-reject-chaining.qml" "data/promise-resolve-with-value.qml" "data/promise-resolve-with-promise.qml" "data/promise-reject-with-value.qml" "data/promise-executor-resolve.qml" "data/promise-get-length.qml" "data/promise-executor-reject.qml" "data/promise-reject-catch.qml" "data/promise-async-resolve-with-value.qml" "data/promise-async-reject-with-value.qml" "data/promise-all-resolve.qml" "data/promise-all-empty-input.qml" "data/promise-resolve-with-array.qml" "data/promise-all-reject-reject-is-last.qml" "data/promise-all-reject-reject-is-mid.qml" "data/promise-race-resolve-1st.qml" "data/promise-race-empty-input.qml" "data/promise-race-resolve-2nd.qml" "data/promise-race-resolve-1st-in-executor-function.qml" "data/promise-resolve-is-a-function.qml" "data/promise-resolve-function-length.qml" "data/promise-all-invoke-then-method.qml" "data/promise-resolve-with-empty.qml" "data/promise-executor-throw-exception.qml" "data/promise-executor-function-extensible.qml" "data/promise-all-noniterable-input.qml" +# OTHER_FILES = <EMPTY> + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlpromise.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlpromise CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlpromise CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlproperty/CMakeLists.txt b/tests/auto/qml/qqmlproperty/CMakeLists.txt new file mode 100644 index 0000000000..6ef1e1fbba --- /dev/null +++ b/tests/auto/qml/qqmlproperty/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from qqmlproperty.pro. + +##################################################################### +## tst_qqmlproperty 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}) + +add_qt_test(tst_qqmlproperty + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlproperty.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlproperty.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlproperty.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlproperty CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlproperty CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlpropertycache/CMakeLists.txt b/tests/auto/qml/qqmlpropertycache/CMakeLists.txt new file mode 100644 index 0000000000..be7eb3eb13 --- /dev/null +++ b/tests/auto/qml/qqmlpropertycache/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from qqmlpropertycache.pro. + +##################################################################### +## tst_qqmlpropertycache 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}) + +add_qt_test(tst_qqmlpropertycache + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlpropertycache.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlpropertycache.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlpropertycache.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlpropertycache CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlpropertycache CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlpropertymap/CMakeLists.txt b/tests/auto/qml/qqmlpropertymap/CMakeLists.txt new file mode 100644 index 0000000000..fc7da3df75 --- /dev/null +++ b/tests/auto/qml/qqmlpropertymap/CMakeLists.txt @@ -0,0 +1,42 @@ +# Generated from qqmlpropertymap.pro. + +##################################################################### +## tst_qqmlpropertymap Test: +##################################################################### + +add_qt_test(tst_qqmlpropertymap + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlpropertymap.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qqmlpropertymap.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlpropertymap.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlpropertymap CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlpropertymap CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlqt/CMakeLists.txt b/tests/auto/qml/qqmlqt/CMakeLists.txt new file mode 100644 index 0000000000..8de072b253 --- /dev/null +++ b/tests/auto/qml/qqmlqt/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qqmlqt.pro. + +##################################################################### +## tst_qqmlqt 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}) + +add_qt_test(tst_qqmlqt + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlqt.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlqt.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlqt.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlqt CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlqt CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlsettings/CMakeLists.txt b/tests/auto/qml/qqmlsettings/CMakeLists.txt new file mode 100644 index 0000000000..a51dd56958 --- /dev/null +++ b/tests/auto/qml/qqmlsettings/CMakeLists.txt @@ -0,0 +1,45 @@ +# Generated from qqmlsettings.pro. + +##################################################################### +## tst_qqmlsettings 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}) + +add_qt_test(tst_qqmlsettings + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlsettings.cpp + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlsettings.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlsettings.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlsettings CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlsettings CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlsqldatabase/CMakeLists.txt b/tests/auto/qml/qqmlsqldatabase/CMakeLists.txt new file mode 100644 index 0000000000..b72eb91bae --- /dev/null +++ b/tests/auto/qml/qqmlsqldatabase/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qqmlsqldatabase.pro. + +##################################################################### +## tst_qqmlsqldatabase 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}) + +add_qt_test(tst_qqmlsqldatabase + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlsqldatabase.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::Sql + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlsqldatabase.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlsqldatabase.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlsqldatabase CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlsqldatabase CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlstatemachine/CMakeLists.txt b/tests/auto/qml/qqmlstatemachine/CMakeLists.txt new file mode 100644 index 0000000000..e187fe7b1f --- /dev/null +++ b/tests/auto/qml/qqmlstatemachine/CMakeLists.txt @@ -0,0 +1,42 @@ +# Generated from qqmlstatemachine.pro. + +##################################################################### +## tst_qqmlstatemachine Test: +##################################################################### + +add_qt_test(tst_qqmlstatemachine + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlstatemachine.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qqmlstatemachine.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlstatemachine.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlstatemachine CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlstatemachine CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmltablemodel/CMakeLists.txt b/tests/auto/qml/qqmltablemodel/CMakeLists.txt new file mode 100644 index 0000000000..e37c8e700d --- /dev/null +++ b/tests/auto/qml/qqmltablemodel/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from qqmltablemodel.pro. + +##################################################################### +## tst_qqmltablemodel 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}) + +add_qt_test(tst_qqmltablemodel + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmltablemodel.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::QmlModelsPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmltablemodel.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +extend_target(tst_qqmltablemodel CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmltablemodel CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmltimer/CMakeLists.txt b/tests/auto/qml/qqmltimer/CMakeLists.txt new file mode 100644 index 0000000000..aac4d58128 --- /dev/null +++ b/tests/auto/qml/qqmltimer/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qqmltimer.pro. + +##################################################################### +## tst_qqmltimer Test: +##################################################################### + +add_qt_test(tst_qqmltimer + GUI + SOURCES + tst_qqmltimer.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qqmltimer.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmltimer.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qqmltranslation/CMakeLists.txt b/tests/auto/qml/qqmltranslation/CMakeLists.txt new file mode 100644 index 0000000000..560d712b94 --- /dev/null +++ b/tests/auto/qml/qqmltranslation/CMakeLists.txt @@ -0,0 +1,74 @@ +# Generated from qqmltranslation.pro. + +##################################################################### +## tst_qqmltranslation 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}) + +add_qt_test(tst_qqmltranslation + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmltranslation.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +# Resources: +# special case begin +set_source_files_properties( + data/translation.qml + PROPERTIES + QT_SKIP_QUICKCOMPILER 1 + alias translation.qml +) +set_source_files_properties( + data/qml_fr.qm + PROPERTIES + alias qml_fr.qm +) +# special case end +add_qt_resource(tst_qqmltranslation "translation" + PREFIX + "/" + BASE + "data" + FILES + qml_fr.qm + translation.qml +) + + +#### Keys ignored in scope 1:.:.:qqmltranslation.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmltranslation.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmltranslation CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmltranslation CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmltypeloader/CMakeLists.txt b/tests/auto/qml/qqmltypeloader/CMakeLists.txt new file mode 100644 index 0000000000..e36245bef8 --- /dev/null +++ b/tests/auto/qml/qqmltypeloader/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from qqmltypeloader.pro. + +##################################################################### +## tst_qqmltypeloader Test: +##################################################################### + +add_qt_test(tst_qqmltypeloader + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + tst_qqmltypeloader.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 2:.:.:tst_qqmltypeloader.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 3:.:.:tst_qqmltypeloader.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmltypeloader CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmltypeloader CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) +add_subdirectory(SlowImport) diff --git a/tests/auto/qml/qqmltypeloader/SlowImport/CMakeLists.txt b/tests/auto/qml/qqmltypeloader/SlowImport/CMakeLists.txt new file mode 100644 index 0000000000..2bd4922f30 --- /dev/null +++ b/tests/auto/qml/qqmltypeloader/SlowImport/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from Slow.pro. + +##################################################################### +## ow Module: +##################################################################### + +add_qt_plugin(Slow + # special case begin + TYPE qml_plugin + # special case end + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../Slow" + SOURCES + plugin.cpp plugin.h + slow.cpp slow.h + INCLUDE_DIRECTORIES + . + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:Slow.pro:<TRUE>: +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file (COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../Slow" +) +# special case end diff --git a/tests/auto/qml/qqmlvaluetypeproviders/CMakeLists.txt b/tests/auto/qml/qqmlvaluetypeproviders/CMakeLists.txt new file mode 100644 index 0000000000..8ba29695f7 --- /dev/null +++ b/tests/auto/qml/qqmlvaluetypeproviders/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qqmlvaluetypeproviders.pro. + +##################################################################### +## tst_qqmlvaluetypeproviders 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}) + +add_qt_test(tst_qqmlvaluetypeproviders + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + testtypes.cpp testtypes.h + tst_qqmlvaluetypeproviders.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlvaluetypeproviders.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlvaluetypeproviders.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlvaluetypeproviders CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlvaluetypeproviders CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlvaluetypes/CMakeLists.txt b/tests/auto/qml/qqmlvaluetypes/CMakeLists.txt new file mode 100644 index 0000000000..4d6eb47a4d --- /dev/null +++ b/tests/auto/qml/qqmlvaluetypes/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qqmlvaluetypes.pro. + +##################################################################### +## tst_qqmlvaluetypes 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}) + +add_qt_test(tst_qqmlvaluetypes + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + testtypes.cpp testtypes.h + tst_qqmlvaluetypes.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlvaluetypes.pro:<TRUE>: +# CONFIG = "testcase" +# DISTFILES = "data/customvaluetype.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlvaluetypes.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlvaluetypes CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlvaluetypes CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt b/tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt new file mode 100644 index 0000000000..a06a2196b7 --- /dev/null +++ b/tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qqmlxmlhttprequest.pro. + +##################################################################### +## tst_qqmlxmlhttprequest 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}) + +add_qt_test(tst_qqmlxmlhttprequest + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + tst_qqmlxmlhttprequest.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlxmlhttprequest.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlxmlhttprequest.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlxmlhttprequest CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlxmlhttprequest CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt b/tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt new file mode 100644 index 0000000000..d4d6441187 --- /dev/null +++ b/tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt @@ -0,0 +1,60 @@ +# Generated from qquickfolderlistmodel.pro. + +##################################################################### +## tst_qquickfolderlistmodel 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}) + +add_qt_test(tst_qquickfolderlistmodel + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickfolderlistmodel.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +# Resources: +add_qt_resource(tst_qquickfolderlistmodel "introspect" + PREFIX + "/myprefix/subdir" + BASE + "data" + FILES + txtdir/hello.txt +) + + +#### Keys ignored in scope 1:.:.:qquickfolderlistmodel.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickfolderlistmodel.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickfolderlistmodel CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickfolderlistmodel CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qquickfolderlistmodel/CMakeLists.txt b/tests/auto/qml/qquickfolderlistmodel/CMakeLists.txt new file mode 100644 index 0000000000..bb32a2426f --- /dev/null +++ b/tests/auto/qml/qquickfolderlistmodel/CMakeLists.txt @@ -0,0 +1,63 @@ +# Generated from qquickfolderlistmodel.pro. + +##################################################################### +## tst_qquickfolderlistmodel 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}) + +add_qt_test(tst_qquickfolderlistmodel + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickfolderlistmodel.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +# special case begin +set_source_files_properties(data/txtdir/hello.txt PROPERTIES alias "txtdir/hello.txt") +# special case end +# Resources: +add_qt_resource(tst_qquickfolderlistmodel "introspect" + PREFIX + "/myprefix/subdir" + BASE + "data" + FILES + txtdir/hello.txt +) + + +#### Keys ignored in scope 1:.:.:qquickfolderlistmodel.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickfolderlistmodel.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickfolderlistmodel CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickfolderlistmodel CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qquickworkerscript/CMakeLists.txt b/tests/auto/qml/qquickworkerscript/CMakeLists.txt new file mode 100644 index 0000000000..b29fd3fc25 --- /dev/null +++ b/tests/auto/qml/qquickworkerscript/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qquickworkerscript.pro. + +##################################################################### +## tst_qquickworkerscript 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}) + +add_qt_test(tst_qquickworkerscript + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickworkerscript.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QmlWorkerScriptPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlWorkerScript + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickworkerscript.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickworkerscript.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickworkerscript CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickworkerscript CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qrcqml/CMakeLists.txt b/tests/auto/qml/qrcqml/CMakeLists.txt new file mode 100644 index 0000000000..a6a1234f3c --- /dev/null +++ b/tests/auto/qml/qrcqml/CMakeLists.txt @@ -0,0 +1,81 @@ +# Generated from qrcqml.pro. + +##################################################################### +## tst_qrcqml Test: +##################################################################### + +add_qt_test(tst_qrcqml + GUI + SOURCES + tst_qrcqml.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +# Resources: +set_source_files_properties("data/SameDir2.qml" + PROPERTIES alias "SameDir.qml" +) +set_source_files_properties("data/importtest.qml" + PROPERTIES alias "importtest.qml" +) +set_source_files_properties("data/main2.qml" + PROPERTIES alias "main.qml" +) +add_qt_resource(tst_qrcqml "qrcqml" + PREFIX + "/" + FILES + data/SameDir.qml + data/SameDir2.qml + data/SubDir.qml + data/importtest.qml + data/main.qml + data/main2.qml +) +set_source_files_properties("data/SameDir3.qml" + PROPERTIES alias "SameDir.qml" +) +set_source_files_properties("data/main3.qml" + PROPERTIES alias "main.qml" +) +add_qt_resource(tst_qrcqml "qrcqml1" + PREFIX + "/search" + FILES + data/SameDir3.qml + data/main3.qml +) +set_source_files_properties("data/SubDir.qml" + PROPERTIES alias "SubDir.qml" +) +add_qt_resource(tst_qrcqml "qrcqml2" + PREFIX + "/search/data" + FILES + data/SubDir.qml +) +set_source_files_properties("data/imports/QrcImport/Imported.qml" + PROPERTIES alias "QrcImport/Imported.qml" +) +set_source_files_properties("data/imports/QrcImport/qmldir" + PROPERTIES alias "QrcImport/qmldir" +) +add_qt_resource(tst_qrcqml "qrcqml3" + PREFIX + "/imports" + FILES + data/imports/QrcImport/Imported.qml + data/imports/QrcImport/qmldir +) + + +#### Keys ignored in scope 1:.:.:qrcqml.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qrcqml.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qtqmlmodules/CMakeLists.txt b/tests/auto/qml/qtqmlmodules/CMakeLists.txt new file mode 100644 index 0000000000..5e5bec357e --- /dev/null +++ b/tests/auto/qml/qtqmlmodules/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from qtqmlmodules.pro. + +##################################################################### +## tst_qtqmlmodules 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}) + +add_qt_test(tst_qtqmlmodules + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qtqmlmodules.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qtqmlmodules.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qtqmlmodules.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qtqmlmodules CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qtqmlmodules CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qv4assembler/CMakeLists.txt b/tests/auto/qml/qv4assembler/CMakeLists.txt new file mode 100644 index 0000000000..0dccff91a2 --- /dev/null +++ b/tests/auto/qml/qv4assembler/CMakeLists.txt @@ -0,0 +1,47 @@ +# Generated from qv4assembler.pro. + +##################################################################### +## tst_qv4assembler 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}) + +add_qt_test(tst_qv4assembler + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qv4assembler.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qv4assembler.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qv4assembler.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qv4assembler CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qv4assembler CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qv4identifiertable/CMakeLists.txt b/tests/auto/qml/qv4identifiertable/CMakeLists.txt new file mode 100644 index 0000000000..2420c4add9 --- /dev/null +++ b/tests/auto/qml/qv4identifiertable/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qv4identifiertable.pro. + +##################################################################### +## tst_qv4identifiertable Test: +##################################################################### + +add_qt_test(tst_qv4identifiertable + GUI + SOURCES + tst_qv4identifiertable.cpp + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qv4identifiertable.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qv4identifiertable.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qv4mm/CMakeLists.txt b/tests/auto/qml/qv4mm/CMakeLists.txt new file mode 100644 index 0000000000..129331698c --- /dev/null +++ b/tests/auto/qml/qv4mm/CMakeLists.txt @@ -0,0 +1,47 @@ +# Generated from qv4mm.pro. + +##################################################################### +## tst_qv4mm 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}) + +add_qt_test(tst_qv4mm + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qv4mm.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qv4mm.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qv4mm.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qv4mm CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qv4mm CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qv4regexp/CMakeLists.txt b/tests/auto/qml/qv4regexp/CMakeLists.txt new file mode 100644 index 0000000000..06db7718aa --- /dev/null +++ b/tests/auto/qml/qv4regexp/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qv4regexp.pro. + +##################################################################### +## tst_qv4regexp Test: +##################################################################### + +add_qt_test(tst_qv4regexp + GUI + SOURCES + tst_qv4regexp.cpp + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qv4regexp.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qv4regexp.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qwidgetsinqml/CMakeLists.txt b/tests/auto/qml/qwidgetsinqml/CMakeLists.txt new file mode 100644 index 0000000000..a36558f295 --- /dev/null +++ b/tests/auto/qml/qwidgetsinqml/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from qwidgetsinqml.pro. + +##################################################################### +## tst_qwidgetsinqml Test: +##################################################################### + +add_qt_test(tst_qwidgetsinqml + GUI + SOURCES + tst_qwidgetsinqml.cpp + DEFINES + QT_DISABLE_DEPRECATED_BEFORE=0 + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Widgets +) + +#### Keys ignored in scope 1:.:.:qwidgetsinqml.pro:<TRUE>: +# CONFIG = "testcase" "parallel_test" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qwidgetsinqml.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/v4misc/CMakeLists.txt b/tests/auto/qml/v4misc/CMakeLists.txt new file mode 100644 index 0000000000..fa2cf07687 --- /dev/null +++ b/tests/auto/qml/v4misc/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from v4misc.pro. + +##################################################################### +## tst_v4misc Test: +##################################################################### + +add_qt_test(tst_v4misc + GUI + SOURCES + tst_v4misc.cpp + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:v4misc.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:v4misc.pro:APPLE_OSX: +# CONFIG = "-app_bundle" |