diff options
Diffstat (limited to 'tests/benchmarks/qml')
19 files changed, 512 insertions, 0 deletions
diff --git a/tests/benchmarks/qml/CMakeLists.txt b/tests/benchmarks/qml/CMakeLists.txt new file mode 100644 index 0000000000..816ad1856e --- /dev/null +++ b/tests/benchmarks/qml/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qml.pro. + +add_subdirectory(binding) +add_subdirectory(compilation) +add_subdirectory(javascript) +add_subdirectory(holistic) +add_subdirectory(qqmlchangeset) +add_subdirectory(qqmlcomponent) +add_subdirectory(qqmlmetaproperty) +add_subdirectory(librarymetrics_performance) +add_subdirectory(script) +add_subdirectory(js) +add_subdirectory(creation) +if(TARGET Qt::OpenGL) + add_subdirectory(painting) + add_subdirectory(qquickwindow) +endif() diff --git a/tests/benchmarks/qml/animation/CMakeLists.txt b/tests/benchmarks/qml/animation/CMakeLists.txt new file mode 100644 index 0000000000..79416db229 --- /dev/null +++ b/tests/benchmarks/qml/animation/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from animation.pro. + +##################################################################### +## tst_animation Binary: +##################################################################### + +add_qt_executable(tst_animation + GUI + SOURCES + tst_animation.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::Test +) + +#### Keys ignored in scope 1:.:.:animation.pro:<TRUE>: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:animation.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/binding/CMakeLists.txt b/tests/benchmarks/qml/binding/CMakeLists.txt new file mode 100644 index 0000000000..7cc445700b --- /dev/null +++ b/tests/benchmarks/qml/binding/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from binding.pro. + +##################################################################### +## tst_binding Binary: +##################################################################### + +add_qt_executable(tst_binding + GUI + SOURCES + testtypes.cpp testtypes.h + tst_binding.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:binding.pro:<TRUE>: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:binding.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/compilation/CMakeLists.txt b/tests/benchmarks/qml/compilation/CMakeLists.txt new file mode 100644 index 0000000000..e4512d1960 --- /dev/null +++ b/tests/benchmarks/qml/compilation/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from compilation.pro. + +##################################################################### +## tst_compilation Binary: +##################################################################### + +add_qt_executable(tst_compilation + GUI + SOURCES + tst_compilation.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:compilation.pro:<TRUE>: +# CONFIG = "benchmark" "release" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:compilation.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/creation/CMakeLists.txt b/tests/benchmarks/qml/creation/CMakeLists.txt new file mode 100644 index 0000000000..46f9f78126 --- /dev/null +++ b/tests/benchmarks/qml/creation/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from creation.pro. + +##################################################################### +## tst_creation Binary: +##################################################################### + +add_qt_executable(tst_creation + GUI + SOURCES + tst_creation.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::Test +) + +#### Keys ignored in scope 1:.:.:creation.pro:<TRUE>: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:creation.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/holistic/CMakeLists.txt b/tests/benchmarks/qml/holistic/CMakeLists.txt new file mode 100644 index 0000000000..5f48cf9f3a --- /dev/null +++ b/tests/benchmarks/qml/holistic/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from holistic.pro. + +##################################################################### +## tst_holistic Binary: +##################################################################### + +add_qt_executable(tst_holistic + GUI + SOURCES + testtypes.cpp testtypes.h + tst_holistic.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:holistic.pro:<TRUE>: +# CONFIG = "benchmark" "release" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:holistic.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/javascript/CMakeLists.txt b/tests/benchmarks/qml/javascript/CMakeLists.txt new file mode 100644 index 0000000000..3c767ce333 --- /dev/null +++ b/tests/benchmarks/qml/javascript/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from javascript.pro. + +##################################################################### +## tst_javascript Binary: +##################################################################### + +add_qt_executable(tst_javascript + GUI + SOURCES + testtypes.cpp testtypes.h + tst_javascript.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:javascript.pro:<TRUE>: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:javascript.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/js/CMakeLists.txt b/tests/benchmarks/qml/js/CMakeLists.txt new file mode 100644 index 0000000000..e503e28ebe --- /dev/null +++ b/tests/benchmarks/qml/js/CMakeLists.txt @@ -0,0 +1,5 @@ +# Generated from js.pro. + +add_subdirectory(qjsengine) +add_subdirectory(qjsvalue) +add_subdirectory(qjsvalueiterator) diff --git a/tests/benchmarks/qml/js/qjsengine/CMakeLists.txt b/tests/benchmarks/qml/js/qjsengine/CMakeLists.txt new file mode 100644 index 0000000000..57aff6bf12 --- /dev/null +++ b/tests/benchmarks/qml/js/qjsengine/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qjsengine.pro. + +##################################################################### +## tst_bench_qjsengine Binary: +##################################################################### + +add_qt_executable(tst_bench_qjsengine + GUI + SOURCES + tst_qjsengine.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qjsengine.pro:<TRUE>: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qjsengine.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/js/qjsvalue/CMakeLists.txt b/tests/benchmarks/qml/js/qjsvalue/CMakeLists.txt new file mode 100644 index 0000000000..ba82b28a86 --- /dev/null +++ b/tests/benchmarks/qml/js/qjsvalue/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qjsvalue.pro. + +##################################################################### +## tst_bench_qjsvalue Binary: +##################################################################### + +add_qt_executable(tst_bench_qjsvalue + GUI + SOURCES + tst_qjsvalue.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qjsvalue.pro:<TRUE>: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qjsvalue.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/js/qjsvalueiterator/CMakeLists.txt b/tests/benchmarks/qml/js/qjsvalueiterator/CMakeLists.txt new file mode 100644 index 0000000000..b5d355eeee --- /dev/null +++ b/tests/benchmarks/qml/js/qjsvalueiterator/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from qjsvalueiterator.pro. + +##################################################################### +## tst_bench_qjsvalueiterator Binary: +##################################################################### + +add_qt_executable(tst_bench_qjsvalueiterator + GUI + SOURCES + tst_qjsvalueiterator.cpp + PUBLIC_LIBRARIES + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qjsvalueiterator.pro:<TRUE>: +# CONFIG = "benchmark" +# TEMPLATE = "app" diff --git a/tests/benchmarks/qml/librarymetrics_performance/CMakeLists.txt b/tests/benchmarks/qml/librarymetrics_performance/CMakeLists.txt new file mode 100644 index 0000000000..5145874028 --- /dev/null +++ b/tests/benchmarks/qml/librarymetrics_performance/CMakeLists.txt @@ -0,0 +1,36 @@ +# Generated from librarymetrics_performance.pro. + +##################################################################### +## tst_librarymetrics_performance Binary: +##################################################################### + +add_qt_executable(tst_librarymetrics_performance + GUI + SOURCES + tst_librarymetrics_performance.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick + Qt::Test +) + +# Resources: +add_qt_resource(tst_librarymetrics_performance "qmake_immediate" + PREFIX + "/" + FILES + data +) + + +#### Keys ignored in scope 1:.:.:librarymetrics_performance.pro:<TRUE>: +# CONFIG = "benchmark" "release" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:librarymetrics_performance.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/painting/CMakeLists.txt b/tests/benchmarks/qml/painting/CMakeLists.txt new file mode 100644 index 0000000000..83290b2483 --- /dev/null +++ b/tests/benchmarks/qml/painting/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from painting.pro. + +##################################################################### +## painting Binary: +##################################################################### + +add_qt_executable(painting + SOURCES + paintbenchmark.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::OpenGL +) + +#### Keys ignored in scope 1:.:.:painting.pro:<TRUE>: +# CONFIG = "console" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:painting.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/qqmlchangeset/CMakeLists.txt b/tests/benchmarks/qml/qqmlchangeset/CMakeLists.txt new file mode 100644 index 0000000000..83d628265e --- /dev/null +++ b/tests/benchmarks/qml/qqmlchangeset/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from qqmlchangeset.pro. + +##################################################################### +## tst_qqmlchangeset Binary: +##################################################################### + +add_qt_executable(tst_qqmlchangeset + GUI + SOURCES + tst_qqmlchangeset.cpp + DEFINES + QT_DISABLE_DEPRECATED_BEFORE=0 + LIBRARIES + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qqmlchangeset.pro:<TRUE>: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlchangeset.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/qqmlcomponent/CMakeLists.txt b/tests/benchmarks/qml/qqmlcomponent/CMakeLists.txt new file mode 100644 index 0000000000..d54f1d09a5 --- /dev/null +++ b/tests/benchmarks/qml/qqmlcomponent/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from qqmlcomponent.pro. + +##################################################################### +## tst_qqmlcomponent Binary: +##################################################################### + +add_qt_executable(tst_qqmlcomponent + GUI + SOURCES + testtypes.cpp testtypes.h + tst_qqmlcomponent.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qqmlcomponent.pro:<TRUE>: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlcomponent.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/qqmlmetaproperty/CMakeLists.txt b/tests/benchmarks/qml/qqmlmetaproperty/CMakeLists.txt new file mode 100644 index 0000000000..5e4205e1f8 --- /dev/null +++ b/tests/benchmarks/qml/qqmlmetaproperty/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qqmlmetaproperty.pro. + +##################################################################### +## tst_qqmlmetaproperty Binary: +##################################################################### + +add_qt_executable(tst_qqmlmetaproperty + GUI + SOURCES + tst_qqmlmetaproperty.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qqmlmetaproperty.pro:<TRUE>: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlmetaproperty.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/qquickwindow/CMakeLists.txt b/tests/benchmarks/qml/qquickwindow/CMakeLists.txt new file mode 100644 index 0000000000..192479355a --- /dev/null +++ b/tests/benchmarks/qml/qquickwindow/CMakeLists.txt @@ -0,0 +1,37 @@ +# Generated from qquickwindow.pro. + +##################################################################### +## tst_qquickwindow Binary: +##################################################################### + +add_qt_executable(tst_qquickwindow + GUI + SOURCES + tst_qquickwindow.cpp + DEFINES + QT_DISABLE_DEPRECATED_BEFORE=0 + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::OpenGLPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::OpenGL + Qt::Qml + Qt::Quick + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qquickwindow.pro:<TRUE>: +# CONFIG = "benchmark" +# DEPLOYMENT = "testDataFiles" +# testDataFiles.files = "data" +# testDataFiles.path = "." + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickwindow.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/script/CMakeLists.txt b/tests/benchmarks/qml/script/CMakeLists.txt new file mode 100644 index 0000000000..bf30b75b5b --- /dev/null +++ b/tests/benchmarks/qml/script/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from script.pro. + +##################################################################### +## tst_script Binary: +##################################################################### + +add_qt_executable(tst_script + GUI + SOURCES + tst_script.cpp + DEFINES + QT_DISABLE_DEPRECATED_BEFORE=0 + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::Test +) + +#### Keys ignored in scope 1:.:.:script.pro:<TRUE>: +# CONFIG = "benchmark" "release" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:script.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/typeimports/CMakeLists.txt b/tests/benchmarks/qml/typeimports/CMakeLists.txt new file mode 100644 index 0000000000..08a164537f --- /dev/null +++ b/tests/benchmarks/qml/typeimports/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from typeimports.pro. + +##################################################################### +## tst_typeimports Binary: +##################################################################### + +add_qt_executable(tst_typeimports + GUI + SOURCES + tst_typeimports.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:typeimports.pro:<TRUE>: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:typeimports.pro:APPLE_OSX: +# CONFIG = "-app_bundle" |