aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml')
-rw-r--r--tests/auto/qml/CMakeLists.txt51
-rw-r--r--tests/auto/qml/qjsonbinding/CMakeLists.txt38
-rw-r--r--tests/auto/qml/qjsvalueiterator/CMakeLists.txt21
-rw-r--r--tests/auto/qml/qmlmin/CMakeLists.txt31
-rw-r--r--tests/auto/qml/qqmlfile/CMakeLists.txt21
-rw-r--r--tests/auto/qml/qqmlfileselector/CMakeLists.txt40
6 files changed, 202 insertions, 0 deletions
diff --git a/tests/auto/qml/CMakeLists.txt b/tests/auto/qml/CMakeLists.txt
new file mode 100644
index 0000000000..5c5b0b9fcf
--- /dev/null
+++ b/tests/auto/qml/CMakeLists.txt
@@ -0,0 +1,51 @@
+# Generated from qml.pro.
+
+#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()
diff --git a/tests/auto/qml/qjsonbinding/CMakeLists.txt b/tests/auto/qml/qjsonbinding/CMakeLists.txt
new file mode 100644
index 0000000000..c0153f6b45
--- /dev/null
+++ b/tests/auto/qml/qjsonbinding/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from qjsonbinding.pro.
+
+#####################################################################
+## tst_qjsonbinding Test:
+#####################################################################
+
+add_qt_test(tst_qjsonbinding
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qjsonbinding.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ LIBRARIES
+ Qt::GuiPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+#### Keys ignored in scope 1:.:.:qjsonbinding.pro:<TRUE>:
+# CONFIG = "testcase"
+# TESTDATA = "data/*"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:qjsonbinding.pro:APPLE_OSX:
+# CONFIG = "-app_bundle"
+
+extend_target(tst_qjsonbinding CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+extend_target(tst_qjsonbinding CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"/data\\\"
+)
diff --git a/tests/auto/qml/qjsvalueiterator/CMakeLists.txt b/tests/auto/qml/qjsvalueiterator/CMakeLists.txt
new file mode 100644
index 0000000000..3c346456bc
--- /dev/null
+++ b/tests/auto/qml/qjsvalueiterator/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from qjsvalueiterator.pro.
+
+#####################################################################
+## tst_qjsvalueiterator Test:
+#####################################################################
+
+add_qt_test(tst_qjsvalueiterator
+ SOURCES
+ tst_qjsvalueiterator.cpp
+ PUBLIC_LIBRARIES
+ Qt::Qml
+)
+
+#### Keys ignored in scope 1:.:.:qjsvalueiterator.pro:<TRUE>:
+# CONFIG = "testcase"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:qjsvalueiterator.pro:APPLE_OSX:
+# CONFIG = "-app_bundle"
diff --git a/tests/auto/qml/qmlmin/CMakeLists.txt b/tests/auto/qml/qmlmin/CMakeLists.txt
new file mode 100644
index 0000000000..a14c76d14e
--- /dev/null
+++ b/tests/auto/qml/qmlmin/CMakeLists.txt
@@ -0,0 +1,31 @@
+# Generated from qmlmin.pro.
+
+#####################################################################
+## tst_qmlmin Test:
+#####################################################################
+
+add_qt_test(tst_qmlmin
+ SOURCES
+ tst_qmlmin.cpp
+ DEFINES
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/.\\\"
+ LIBRARIES
+ Qt::GuiPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+#### Keys ignored in scope 1:.:.:qmlmin.pro:<TRUE>:
+# CONFIG = "testcase"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:qmlmin.pro:APPLE_OSX:
+# CONFIG = "-app_bundle"
+
+extend_target(tst_qmlmin CONDITION cross_compile AND NOT boot2qt
+ DEFINES
+ QTEST_CROSS_COMPILED
+)
diff --git a/tests/auto/qml/qqmlfile/CMakeLists.txt b/tests/auto/qml/qqmlfile/CMakeLists.txt
new file mode 100644
index 0000000000..9105c96306
--- /dev/null
+++ b/tests/auto/qml/qqmlfile/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from qqmlfile.pro.
+
+#####################################################################
+## tst_qqmlfile Test:
+#####################################################################
+
+add_qt_test(tst_qqmlfile
+ SOURCES
+ tst_qqmlfile.cpp
+ PUBLIC_LIBRARIES
+ Qt::Qml
+)
+
+#### Keys ignored in scope 1:.:.:qqmlfile.pro:<TRUE>:
+# CONFIG = "testcase"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:qqmlfile.pro:APPLE_OSX:
+# CONFIG = "-app_bundle"
diff --git a/tests/auto/qml/qqmlfileselector/CMakeLists.txt b/tests/auto/qml/qqmlfileselector/CMakeLists.txt
new file mode 100644
index 0000000000..6e23531fa3
--- /dev/null
+++ b/tests/auto/qml/qqmlfileselector/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from qqmlfileselector.pro.
+
+#####################################################################
+## tst_qqmlfileselector Test:
+#####################################################################
+
+add_qt_test(tst_qqmlfileselector
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qqmlfileselector.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+)
+
+#### Keys ignored in scope 1:.:.:qqmlfileselector.pro:<TRUE>:
+# CONFIG = "testcase"
+# TESTDATA = "data/*"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:qqmlfileselector.pro:APPLE_OSX:
+# CONFIG = "-app_bundle"
+
+extend_target(tst_qqmlfileselector CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+extend_target(tst_qqmlfileselector CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"/data\\\"
+)