diff options
Diffstat (limited to 'tests/benchmarks/gui')
29 files changed, 563 insertions, 1 deletions
diff --git a/tests/benchmarks/gui/CMakeLists.txt b/tests/benchmarks/gui/CMakeLists.txt new file mode 100644 index 0000000000..6af9d8e224 --- /dev/null +++ b/tests/benchmarks/gui/CMakeLists.txt @@ -0,0 +1,8 @@ +# Generated from gui.pro. + +add_subdirectory(animation) +add_subdirectory(image) +add_subdirectory(kernel) +add_subdirectory(math3d) +add_subdirectory(painting) +add_subdirectory(text) diff --git a/tests/benchmarks/gui/animation/CMakeLists.txt b/tests/benchmarks/gui/animation/CMakeLists.txt new file mode 100644 index 0000000000..6190f29a65 --- /dev/null +++ b/tests/benchmarks/gui/animation/CMakeLists.txt @@ -0,0 +1,5 @@ +# Generated from animation.pro. + +if(TARGET Qt::Widgets) + add_subdirectory(qanimation) +endif() diff --git a/tests/benchmarks/gui/animation/qanimation/CMakeLists.txt b/tests/benchmarks/gui/animation/qanimation/CMakeLists.txt new file mode 100644 index 0000000000..38b4c50db8 --- /dev/null +++ b/tests/benchmarks/gui/animation/qanimation/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qanimation.pro. + +##################################################################### +## tst_bench_qanimation Binary: +##################################################################### + +add_qt_benchmark(tst_bench_qanimation + SOURCES + dummyanimation.cpp dummyanimation.h + dummyobject.cpp dummyobject.h + main.cpp + rectanimation.cpp rectanimation.h + PUBLIC_LIBRARIES + Qt::Gui + Qt::Test + Qt::Widgets +) diff --git a/tests/benchmarks/gui/image/CMakeLists.txt b/tests/benchmarks/gui/image/CMakeLists.txt new file mode 100644 index 0000000000..77cfeedc3e --- /dev/null +++ b/tests/benchmarks/gui/image/CMakeLists.txt @@ -0,0 +1,8 @@ +# Generated from image.pro. + +add_subdirectory(blendbench) +add_subdirectory(qimageconversion) +add_subdirectory(qimagereader) +add_subdirectory(qimagescale) +add_subdirectory(qpixmap) +add_subdirectory(qpixmapcache) diff --git a/tests/benchmarks/gui/image/blendbench/CMakeLists.txt b/tests/benchmarks/gui/image/blendbench/CMakeLists.txt new file mode 100644 index 0000000000..3599a51371 --- /dev/null +++ b/tests/benchmarks/gui/image/blendbench/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from blendbench.pro. + +##################################################################### +## tst_bench_blendbench Binary: +##################################################################### + +add_qt_benchmark(tst_bench_blendbench + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Test +) + +#### Keys ignored in scope 1:.:.:blendbench.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/benchmarks/gui/image/qimageconversion/CMakeLists.txt b/tests/benchmarks/gui/image/qimageconversion/CMakeLists.txt new file mode 100644 index 0000000000..d9b481ca46 --- /dev/null +++ b/tests/benchmarks/gui/image/qimageconversion/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from qimageconversion.pro. + +##################################################################### +## tst_bench_imageConversion Binary: +##################################################################### + +add_qt_benchmark(tst_bench_imageConversion + SOURCES + tst_qimageconversion.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qimageconversion.pro:<TRUE>: +# QT_FOR_CONFIG = "gui-private" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +extend_target(tst_bench_imageConversion CONDITION QT_FEATURE_gif + DEFINES + QTEST_HAVE_GIF +) + +extend_target(tst_bench_imageConversion CONDITION QT_FEATURE_jpeg + DEFINES + QTEST_HAVE_JPEG +) diff --git a/tests/benchmarks/gui/image/qimagereader/CMakeLists.txt b/tests/benchmarks/gui/image/qimagereader/CMakeLists.txt new file mode 100644 index 0000000000..be72a44187 --- /dev/null +++ b/tests/benchmarks/gui/image/qimagereader/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qimagereader.pro. + +##################################################################### +## tst_bench_qimagereader Binary: +##################################################################### + +add_qt_benchmark(tst_bench_qimagereader + SOURCES + tst_qimagereader.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qimagereader.pro:<TRUE>: +# QT_FOR_CONFIG = "gui-private" +# TEMPLATE = "app" +# TESTDATA = "images/*" + +## Scopes: +##################################################################### + +extend_target(tst_bench_qimagereader CONDITION QT_FEATURE_gif + DEFINES + QTEST_HAVE_GIF +) + +extend_target(tst_bench_qimagereader CONDITION QT_FEATURE_jpeg + DEFINES + QTEST_HAVE_JPEG +) diff --git a/tests/benchmarks/gui/image/qimagescale/CMakeLists.txt b/tests/benchmarks/gui/image/qimagescale/CMakeLists.txt new file mode 100644 index 0000000000..cbf3e5459b --- /dev/null +++ b/tests/benchmarks/gui/image/qimagescale/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from qimagescale.pro. + +##################################################################### +## tst_bench_imageScale Binary: +##################################################################### + +add_qt_benchmark(tst_bench_imageScale + SOURCES + tst_qimagescale.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qimagescale.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/benchmarks/gui/image/qpixmap/CMakeLists.txt b/tests/benchmarks/gui/image/qpixmap/CMakeLists.txt new file mode 100644 index 0000000000..e75703f33d --- /dev/null +++ b/tests/benchmarks/gui/image/qpixmap/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qpixmap.pro. + +##################################################################### +## tst_bench_qpixmap Binary: +##################################################################### + +add_qt_benchmark(tst_bench_qpixmap + SOURCES + tst_qpixmap.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::GuiPrivate + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qpixmap.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/benchmarks/gui/image/qpixmapcache/CMakeLists.txt b/tests/benchmarks/gui/image/qpixmapcache/CMakeLists.txt new file mode 100644 index 0000000000..46347ef94a --- /dev/null +++ b/tests/benchmarks/gui/image/qpixmapcache/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from qpixmapcache.pro. + +##################################################################### +## tst_bench_qpixmapcache Binary: +##################################################################### + +add_qt_benchmark(tst_bench_qpixmapcache + SOURCES + tst_qpixmapcache.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qpixmapcache.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/benchmarks/gui/kernel/CMakeLists.txt b/tests/benchmarks/gui/kernel/CMakeLists.txt new file mode 100644 index 0000000000..451b12388d --- /dev/null +++ b/tests/benchmarks/gui/kernel/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from kernel.pro. + +add_subdirectory(qguimetatype) +add_subdirectory(qguivariant) diff --git a/tests/benchmarks/gui/kernel/qguimetatype/CMakeLists.txt b/tests/benchmarks/gui/kernel/qguimetatype/CMakeLists.txt new file mode 100644 index 0000000000..cf250cdaf6 --- /dev/null +++ b/tests/benchmarks/gui/kernel/qguimetatype/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from qguimetatype.pro. + +##################################################################### +## tst_bench_qguimetatype Binary: +##################################################################### + +add_qt_benchmark(tst_bench_qguimetatype + SOURCES + tst_qguimetatype.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qguimetatype.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/benchmarks/gui/kernel/qguivariant/CMakeLists.txt b/tests/benchmarks/gui/kernel/qguivariant/CMakeLists.txt new file mode 100644 index 0000000000..0a6ddda456 --- /dev/null +++ b/tests/benchmarks/gui/kernel/qguivariant/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from qguivariant.pro. + +##################################################################### +## tst_bench_qguivariant Binary: +##################################################################### + +add_qt_benchmark(tst_bench_qguivariant + SOURCES + tst_qguivariant.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qguivariant.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/benchmarks/gui/math3d/CMakeLists.txt b/tests/benchmarks/gui/math3d/CMakeLists.txt new file mode 100644 index 0000000000..53e56a83a3 --- /dev/null +++ b/tests/benchmarks/gui/math3d/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from math3d.pro. + +add_subdirectory(qmatrix4x4) +add_subdirectory(qquaternion) diff --git a/tests/benchmarks/gui/math3d/qmatrix4x4/CMakeLists.txt b/tests/benchmarks/gui/math3d/qmatrix4x4/CMakeLists.txt new file mode 100644 index 0000000000..8d594ef1e7 --- /dev/null +++ b/tests/benchmarks/gui/math3d/qmatrix4x4/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from qmatrix4x4.pro. + +##################################################################### +## tst_bench_qmatrix4x4 Binary: +##################################################################### + +add_qt_benchmark(tst_bench_qmatrix4x4 + SOURCES + tst_qmatrix4x4.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qmatrix4x4.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/benchmarks/gui/math3d/qquaternion/CMakeLists.txt b/tests/benchmarks/gui/math3d/qquaternion/CMakeLists.txt new file mode 100644 index 0000000000..2409a6c43a --- /dev/null +++ b/tests/benchmarks/gui/math3d/qquaternion/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from qquaternion.pro. + +##################################################################### +## tst_bench_qquaternion Binary: +##################################################################### + +add_qt_benchmark(tst_bench_qquaternion + SOURCES + tst_qquaternion.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qquaternion.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/benchmarks/gui/painting/CMakeLists.txt b/tests/benchmarks/gui/painting/CMakeLists.txt new file mode 100644 index 0000000000..080fe582f2 --- /dev/null +++ b/tests/benchmarks/gui/painting/CMakeLists.txt @@ -0,0 +1,11 @@ +# Generated from painting.pro. + +add_subdirectory(drawtexture) +add_subdirectory(qcolor) +add_subdirectory(qregion) +add_subdirectory(qtransform) +add_subdirectory(lancebench) +if(TARGET Qt::Widgets) + add_subdirectory(qpainter) + add_subdirectory(qtbench) +endif() diff --git a/tests/benchmarks/gui/painting/drawtexture/CMakeLists.txt b/tests/benchmarks/gui/painting/drawtexture/CMakeLists.txt new file mode 100644 index 0000000000..add15f25fb --- /dev/null +++ b/tests/benchmarks/gui/painting/drawtexture/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from drawtexture.pro. + +##################################################################### +## tst_bench_drawtexture Binary: +##################################################################### + +add_qt_benchmark(tst_bench_drawtexture + SOURCES + tst_drawtexture.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::GuiPrivate + Qt::Test +) + +#### Keys ignored in scope 1:.:.:drawtexture.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/benchmarks/gui/painting/lancebench/CMakeLists.txt b/tests/benchmarks/gui/painting/lancebench/CMakeLists.txt new file mode 100644 index 0000000000..677a3d98d4 --- /dev/null +++ b/tests/benchmarks/gui/painting/lancebench/CMakeLists.txt @@ -0,0 +1,157 @@ +# Generated from lancebench.pro. + +##################################################################### +## tst_bench_lancebench Binary: +##################################################################### + +add_qt_benchmark(tst_bench_lancebench + SOURCES + ../../../../auto/other/lancelot/paintcommands.cpp ../../../../auto/other/lancelot/paintcommands.h + tst_lancebench.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::GuiPrivate + Qt::Test +) + +# Resources: +set_source_files_properties("../../../../auto/other/lancelot/images/alpha.png" + PROPERTIES QT_RESOURCE_ALIAS "images/alpha.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/alpha2x2.png" + PROPERTIES QT_RESOURCE_ALIAS "images/alpha2x2.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/bitmap.png" + PROPERTIES QT_RESOURCE_ALIAS "images/bitmap.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/border.png" + PROPERTIES QT_RESOURCE_ALIAS "images/border.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/borderimage.png" + PROPERTIES QT_RESOURCE_ALIAS "images/borderimage.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/dome_argb32.png" + PROPERTIES QT_RESOURCE_ALIAS "images/dome_argb32.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/dome_indexed.png" + PROPERTIES QT_RESOURCE_ALIAS "images/dome_indexed.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/dome_indexed_mask.png" + PROPERTIES QT_RESOURCE_ALIAS "images/dome_indexed_mask.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/dome_mono.png" + PROPERTIES QT_RESOURCE_ALIAS "images/dome_mono.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/dome_mono_128.png" + PROPERTIES QT_RESOURCE_ALIAS "images/dome_mono_128.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/dome_mono_palette.png" + PROPERTIES QT_RESOURCE_ALIAS "images/dome_mono_palette.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/dome_rgb32.png" + PROPERTIES QT_RESOURCE_ALIAS "images/dome_rgb32.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/dot.png" + PROPERTIES QT_RESOURCE_ALIAS "images/dot.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/face.png" + PROPERTIES QT_RESOURCE_ALIAS "images/face.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/gam030.png" + PROPERTIES QT_RESOURCE_ALIAS "images/gam030.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/gam045.png" + PROPERTIES QT_RESOURCE_ALIAS "images/gam045.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/gam056.png" + PROPERTIES QT_RESOURCE_ALIAS "images/gam056.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/gam100.png" + PROPERTIES QT_RESOURCE_ALIAS "images/gam100.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/gam200.png" + PROPERTIES QT_RESOURCE_ALIAS "images/gam200.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/image.png" + PROPERTIES QT_RESOURCE_ALIAS "images/image.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/mask.png" + PROPERTIES QT_RESOURCE_ALIAS "images/mask.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/mask_100.png" + PROPERTIES QT_RESOURCE_ALIAS "images/mask_100.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/masked.png" + PROPERTIES QT_RESOURCE_ALIAS "images/masked.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/sign.png" + PROPERTIES QT_RESOURCE_ALIAS "images/sign.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/solid.png" + PROPERTIES QT_RESOURCE_ALIAS "images/solid.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/solid2x2.png" + PROPERTIES QT_RESOURCE_ALIAS "images/solid2x2.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/struct-image-01.jpg" + PROPERTIES QT_RESOURCE_ALIAS "images/struct-image-01.jpg" +) +set_source_files_properties("../../../../auto/other/lancelot/images/struct-image-01.png" + PROPERTIES QT_RESOURCE_ALIAS "images/struct-image-01.png" +) +set_source_files_properties("../../../../auto/other/lancelot/images/zebra.png" + PROPERTIES QT_RESOURCE_ALIAS "images/zebra.png" +) +set(images_resource_files + "images/alpha.png" + "images/alpha2x2.png" + "images/bitmap.png" + "images/border.png" + "images/borderimage.png" + "images/dome_argb32.png" + "images/dome_indexed.png" + "images/dome_indexed_mask.png" + "images/dome_mono.png" + "images/dome_mono_128.png" + "images/dome_mono_palette.png" + "images/dome_rgb32.png" + "images/dot.png" + "images/face.png" + "images/gam030.png" + "images/gam045.png" + "images/gam056.png" + "images/gam100.png" + "images/gam200.png" + "images/image.png" + "images/mask.png" + "images/mask_100.png" + "images/masked.png" + "images/sign.png" + "images/solid.png" + "images/solid2x2.png" + "images/struct-image-01.jpg" + "images/struct-image-01.png" + "images/zebra.png" +) + +add_qt_resource(tst_bench_lancebench "images" + PREFIX + "/" + BASE + "../../../../auto/other/lancelot" + FILES + ${images_resource_files} +) + + +#### Keys ignored in scope 1:.:.:lancebench.pro:<TRUE>: +# TEMPLATE = "app" +# TESTDATA = "../../../../auto/other/lancelot/scripts/*" + +## Scopes: +##################################################################### + +extend_target(tst_bench_lancebench CONDITION QT_FEATURE_opengl + PUBLIC_LIBRARIES + Qt::OpenGL +) diff --git a/tests/benchmarks/gui/painting/lancebench/lancebench.pro b/tests/benchmarks/gui/painting/lancebench/lancebench.pro index 6458c50861..5647d26de3 100644 --- a/tests/benchmarks/gui/painting/lancebench/lancebench.pro +++ b/tests/benchmarks/gui/painting/lancebench/lancebench.pro @@ -2,7 +2,7 @@ TEMPLATE = app TARGET = tst_bench_lancebench QT += testlib gui-private - +qtConfig(opengl): QT += opengl SOURCES += tst_lancebench.cpp diff --git a/tests/benchmarks/gui/painting/qcolor/CMakeLists.txt b/tests/benchmarks/gui/painting/qcolor/CMakeLists.txt new file mode 100644 index 0000000000..d5367704ae --- /dev/null +++ b/tests/benchmarks/gui/painting/qcolor/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qcolor.pro. + +##################################################################### +## tst_bench_qcolor Binary: +##################################################################### + +add_qt_benchmark(tst_bench_qcolor + SOURCES + tst_qcolor.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::GuiPrivate + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qcolor.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/benchmarks/gui/painting/qpainter/CMakeLists.txt b/tests/benchmarks/gui/painting/qpainter/CMakeLists.txt new file mode 100644 index 0000000000..a4e3242409 --- /dev/null +++ b/tests/benchmarks/gui/painting/qpainter/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from qpainter.pro. + +##################################################################### +## tst_bench_qpainter Binary: +##################################################################### + +add_qt_benchmark(tst_bench_qpainter + SOURCES + tst_qpainter.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::GuiPrivate + Qt::Test + Qt::Widgets + Qt::WidgetsPrivate +) + +#### Keys ignored in scope 1:.:.:qpainter.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/benchmarks/gui/painting/qregion/CMakeLists.txt b/tests/benchmarks/gui/painting/qregion/CMakeLists.txt new file mode 100644 index 0000000000..e864a1f61d --- /dev/null +++ b/tests/benchmarks/gui/painting/qregion/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from qregion.pro. + +##################################################################### +## tst_bench_qregion Binary: +##################################################################### + +add_qt_benchmark(tst_bench_qregion + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qregion.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/benchmarks/gui/painting/qtbench/CMakeLists.txt b/tests/benchmarks/gui/painting/qtbench/CMakeLists.txt new file mode 100644 index 0000000000..009deeb528 --- /dev/null +++ b/tests/benchmarks/gui/painting/qtbench/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qtbench.pro. + +##################################################################### +## tst_bench_qtbench Binary: +##################################################################### + +add_qt_benchmark(tst_bench_qtbench + SOURCES + tst_qtbench.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Test + Qt::Widgets +) + +#### Keys ignored in scope 1:.:.:qtbench.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/benchmarks/gui/painting/qtransform/CMakeLists.txt b/tests/benchmarks/gui/painting/qtransform/CMakeLists.txt new file mode 100644 index 0000000000..aa24b4a19e --- /dev/null +++ b/tests/benchmarks/gui/painting/qtransform/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from qtransform.pro. + +##################################################################### +## tst_bench_qtransform Binary: +##################################################################### + +add_qt_benchmark(tst_bench_qtransform + SOURCES + tst_qtransform.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qtransform.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/benchmarks/gui/text/CMakeLists.txt b/tests/benchmarks/gui/text/CMakeLists.txt new file mode 100644 index 0000000000..630f01091d --- /dev/null +++ b/tests/benchmarks/gui/text/CMakeLists.txt @@ -0,0 +1,5 @@ +# Generated from text.pro. + +add_subdirectory(qfontmetrics) +add_subdirectory(qtext) +add_subdirectory(qtextdocument) diff --git a/tests/benchmarks/gui/text/qfontmetrics/CMakeLists.txt b/tests/benchmarks/gui/text/qfontmetrics/CMakeLists.txt new file mode 100644 index 0000000000..af42a93d27 --- /dev/null +++ b/tests/benchmarks/gui/text/qfontmetrics/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from qfontmetrics.pro. + +##################################################################### +## tst_bench_QFontMetrics Binary: +##################################################################### + +add_qt_benchmark(tst_bench_QFontMetrics + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qfontmetrics.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/benchmarks/gui/text/qtext/CMakeLists.txt b/tests/benchmarks/gui/text/qtext/CMakeLists.txt new file mode 100644 index 0000000000..b2380c8316 --- /dev/null +++ b/tests/benchmarks/gui/text/qtext/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from qtext.pro. + +##################################################################### +## tst_bench_QText Binary: +##################################################################### + +add_qt_benchmark(tst_bench_QText + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::GuiPrivate + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qtext.pro:<TRUE>: +# TEMPLATE = "app" +# TESTDATA = "bidi.txt" diff --git a/tests/benchmarks/gui/text/qtextdocument/CMakeLists.txt b/tests/benchmarks/gui/text/qtextdocument/CMakeLists.txt new file mode 100644 index 0000000000..eb1f633d9b --- /dev/null +++ b/tests/benchmarks/gui/text/qtextdocument/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qtextdocument.pro. + +##################################################################### +## tst_bench_QTextDocument Binary: +##################################################################### + +add_qt_benchmark(tst_bench_QTextDocument + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::GuiPrivate + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qtextdocument.pro:<TRUE>: +# TEMPLATE = "app" |