diff options
Diffstat (limited to 'tests/auto/gui')
111 files changed, 2418 insertions, 0 deletions
diff --git a/tests/auto/gui/.prev_CMakeLists.txt b/tests/auto/gui/.prev_CMakeLists.txt new file mode 100644 index 0000000000..8cbfa78aad --- /dev/null +++ b/tests/auto/gui/.prev_CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from gui.pro. + +add_subdirectory(kernel) +if(NOT APPLE_UIKIT) + add_subdirectory(image) + add_subdirectory(math3d) + add_subdirectory(painting) + add_subdirectory(text) + add_subdirectory(util) + add_subdirectory(itemmodels) + add_subdirectory(rhi) +endif() +if(QT_FEATURE_opengl AND NOT APPLE_UIKIT AND NOT WINRT) + add_subdirectory(qopenglconfig) + add_subdirectory(qopengl) +endif() +if(QT_FEATURE_vulkan AND NOT APPLE_UIKIT) + add_subdirectory(qvulkan) +endif() diff --git a/tests/auto/gui/CMakeLists.txt b/tests/auto/gui/CMakeLists.txt new file mode 100644 index 0000000000..9a1312bd48 --- /dev/null +++ b/tests/auto/gui/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from gui.pro. + +add_subdirectory(kernel) +if(NOT APPLE_UIKIT) + add_subdirectory(image) + add_subdirectory(math3d) + add_subdirectory(painting) + add_subdirectory(text) + add_subdirectory(util) + add_subdirectory(itemmodels) + add_subdirectory(rhi) +endif() +if(QT_FEATURE_opengl AND NOT APPLE_UIKIT AND NOT WINRT) + add_subdirectory(qopenglconfig) + add_subdirectory(qopengl) +endif() +if(QT_FEATURE_vulkan AND NOT APPLE_UIKIT) + add_subdirectory(qvulkan) +endif() diff --git a/tests/auto/gui/image/CMakeLists.txt b/tests/auto/gui/image/CMakeLists.txt new file mode 100644 index 0000000000..8ae016a8f8 --- /dev/null +++ b/tests/auto/gui/image/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from image.pro. + +if(TARGET Qt::Network) + add_subdirectory(qimagereader) +endif() +add_subdirectory(qicoimageformat) +add_subdirectory(qpixmap) +add_subdirectory(qimage) +add_subdirectory(qimageiohandler) +add_subdirectory(qimagewriter) +add_subdirectory(qmovie) +add_subdirectory(qpicture) +add_subdirectory(qicon) +add_subdirectory(qiconhighdpi) +if(QT_FEATURE_private_tests) + add_subdirectory(qpixmapcache) +endif() diff --git a/tests/auto/gui/image/qicoimageformat/CMakeLists.txt b/tests/auto/gui/image/qicoimageformat/CMakeLists.txt new file mode 100644 index 0000000000..0c8393631a --- /dev/null +++ b/tests/auto/gui/image/qicoimageformat/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from qicoimageformat.pro. + +##################################################################### +## tst_qicoimageformat Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + icons/*) +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qicoimageformat + SOURCES + tst_qicoimageformat.cpp + PUBLIC_LIBRARIES + Qt::Gui + TESTDATA ${test_data} +) + +## Scopes: +##################################################################### + +if(ANDROID) + # Resources: + set(qicoimageformat_resource_files + "icons/invalid/35floppy.ico" + "icons/valid/35FLOPPY.ICO" + "icons/valid/AddPerfMon.ico" + "icons/valid/App.ico" + "icons/valid/Obj_N2_Internal_Mem.ico" + "icons/valid/Qt.ico" + "icons/valid/Status_Play.ico" + "icons/valid/TIMER01.ICO" + "icons/valid/WORLD.ico" + "icons/valid/WORLDH.ico" + "icons/valid/abcardWindow.ico" + "icons/valid/semitransparent.ico" + "icons/valid/trolltechlogo_tiny.ico" + "icons/valid/yellow.cur" + ) + + add_qt_resource(tst_qicoimageformat "qicoimageformat" + PREFIX + "/" + FILES + ${qicoimageformat_resource_files} + ) +endif() diff --git a/tests/auto/gui/image/qicon/CMakeLists.txt b/tests/auto/gui/image/qicon/CMakeLists.txt new file mode 100644 index 0000000000..81f5390d79 --- /dev/null +++ b/tests/auto/gui/image/qicon/CMakeLists.txt @@ -0,0 +1,94 @@ +# Generated from qicon.pro. + +##################################################################### +## tst_qicon Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + icons/*) +list(APPEND test_data ${test_data_glob}) +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + second_icons/*) +list(APPEND test_data ${test_data_glob}) +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + fallback_icons/*) +list(APPEND test_data ${test_data_glob}) +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + *.png) +list(APPEND test_data ${test_data_glob}) +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + *.svg) +list(APPEND test_data ${test_data_glob}) +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + *.svgz) +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qicon + SOURCES + tst_qicon.cpp + PUBLIC_LIBRARIES + Qt::Gui + TESTDATA ${test_data} +) + +# Resources: +set(tst_qicon_resource_files + "./fallback_icons/red.png" + "./icons/testtheme/16x16/actions/appointment-new.png" + "./icons/testtheme/22x22/actions/appointment-new.png" + "./icons/testtheme/index.theme" + "./icons/testtheme/scalable/actions/svg-only.svg" + "./icons/themeparent/16x16/actions/address-book-new.png" + "./icons/themeparent/16x16/actions/appointment-new.png" + "./icons/themeparent/22x22/actions/address-book-new.png" + "./icons/themeparent/22x22/actions/appointment-new.png" + "./icons/themeparent/32x32/actions/address-book-new.png" + "./icons/themeparent/32x32/actions/appointment-new.png" + "./icons/themeparent/icon-theme.cache" + "./icons/themeparent/index.theme" + "./icons/themeparent/scalable/actions/address-book-new.svg" + "./icons/themeparent/scalable/actions/appointment-new.svg" + "./second_icons/testtheme/32x32/actions/appointment-new.png" + "./styles/commonstyle/images/standardbutton-open-128.png" + "./styles/commonstyle/images/standardbutton-open-16.png" + "./styles/commonstyle/images/standardbutton-open-32.png" + "./styles/commonstyle/images/standardbutton-save-128.png" + "./styles/commonstyle/images/standardbutton-save-16.png" + "./styles/commonstyle/images/standardbutton-save-32.png" + "image.png" + "rect.png" + "tst_qicon.cpp" +) + +add_qt_resource(tst_qicon "tst_qicon" + PREFIX + "/" + FILES + ${tst_qicon_resource_files} +) +set(qmake_immediate_resource_files + "tst_qicon.cpp" +) + +add_qt_resource(tst_qicon "qmake_immediate" + PREFIX + "/" + FILES + ${qmake_immediate_resource_files} +) + + +## Scopes: +##################################################################### + +extend_target(tst_qicon CONDITION TARGET Qt::Widgets + PUBLIC_LIBRARIES + Qt::Widgets +) diff --git a/tests/auto/gui/image/qiconhighdpi/CMakeLists.txt b/tests/auto/gui/image/qiconhighdpi/CMakeLists.txt new file mode 100644 index 0000000000..6f6aaedca5 --- /dev/null +++ b/tests/auto/gui/image/qiconhighdpi/CMakeLists.txt @@ -0,0 +1,37 @@ +# Generated from qiconhighdpi.pro. + +##################################################################### +## tst_qiconhighdpi Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + icons/*) +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qiconhighdpi + SOURCES + tst_qiconhighdpi.cpp + PUBLIC_LIBRARIES + Qt::Gui + TESTDATA ${test_data} +) + +# Resources: +set(tst_qiconhighdpi_resource_files + "icons/misc/button.9.png" + "icons/misc/button@2x.9.png" + "icons/testtheme/16x16/actions/appointment-new.png" + "icons/testtheme/22x22/actions/appointment-new.png" + "icons/testtheme/22x22@2/actions/appointment-new.png" + "icons/testtheme/index.theme" +) + +add_qt_resource(tst_qiconhighdpi "tst_qiconhighdpi" + PREFIX + "/" + FILES + ${tst_qiconhighdpi_resource_files} +) + diff --git a/tests/auto/gui/image/qimage/CMakeLists.txt b/tests/auto/gui/image/qimage/CMakeLists.txt new file mode 100644 index 0000000000..6951f9a703 --- /dev/null +++ b/tests/auto/gui/image/qimage/CMakeLists.txt @@ -0,0 +1,67 @@ +# Generated from qimage.pro. + +##################################################################### +## tst_qimage Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + images/*) +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qimage + SOURCES + tst_qimage.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + TESTDATA ${test_data} +) + +## Scopes: +##################################################################### + +if(ANDROID AND NOT ANDROID_EMBEDDED) + # Resources: + set(qimage_resource_files + "images/image.bmp" + "images/image.gif" + "images/image.ico" + "images/image.jpg" + "images/image.pbm" + "images/image.pgm" + "images/image.png" + "images/image.ppm" + "images/image.xbm" + "images/image.xpm" + "images/jpeg_exif_orientation_value_1.jpg" + "images/jpeg_exif_orientation_value_2.jpg" + "images/jpeg_exif_orientation_value_3.jpg" + "images/jpeg_exif_orientation_value_4.jpg" + "images/jpeg_exif_orientation_value_5.jpg" + "images/jpeg_exif_orientation_value_6.jpg" + "images/jpeg_exif_orientation_value_7.jpg" + "images/jpeg_exif_orientation_value_8.jpg" + ) + + add_qt_resource(tst_qimage "qimage" + PREFIX + "/" + FILES + ${qimage_resource_files} + ) +endif() + +extend_target(tst_qimage CONDITION WIN32 AND NOT WINRT + PUBLIC_LIBRARIES + gdi32 + user32 +) + +extend_target(tst_qimage CONDITION APPLE + PUBLIC_LIBRARIES + ${FWCoreGraphics} +) diff --git a/tests/auto/gui/image/qimageiohandler/CMakeLists.txt b/tests/auto/gui/image/qimageiohandler/CMakeLists.txt new file mode 100644 index 0000000000..23e5e98b16 --- /dev/null +++ b/tests/auto/gui/image/qimageiohandler/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qimageiohandler.pro. + +##################################################################### +## tst_qimageiohandler Test: +##################################################################### + +add_qt_test(tst_qimageiohandler + SOURCES + tst_qimageiohandler.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/image/qimagereader/CMakeLists.txt b/tests/auto/gui/image/qimagereader/CMakeLists.txt new file mode 100644 index 0000000000..93bf709c20 --- /dev/null +++ b/tests/auto/gui/image/qimagereader/CMakeLists.txt @@ -0,0 +1,66 @@ +# Generated from qimagereader.pro. + +##################################################################### +## tst_qimagereader Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + images/*) +list(APPEND test_data ${test_data_glob}) +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + baseline/*) +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qimagereader + SOURCES + tst_qimagereader.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + TESTDATA ${test_data} +) + +file(GLOB resource_glob_0 RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "images/*") +foreach(file IN LISTS resource_glob_0) + set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/${file}" PROPERTIES QT_RESOURCE_ALIAS "${file}") +endforeach() + +# Resources: +set(qmake_immediate_resource_files + ${resource_glob_0} +) + +add_qt_resource(tst_qimagereader "qmake_immediate" + PREFIX + "/" + FILES + ${qmake_immediate_resource_files} +) + + +#### Keys ignored in scope 1:.:.:qimagereader.pro:<TRUE>: +# MOC_DIR = "tmp" + +## Scopes: +##################################################################### + +if(ANDROID AND NOT ANDROID_EMBEDDED) + # Resources: + set(android_testdata_resource_files + "images/kollada-noext" + "images/trans.gif" + ) + + add_qt_resource(tst_qimagereader "android_testdata" + PREFIX + "/" + FILES + ${android_testdata_resource_files} + ) +endif() diff --git a/tests/auto/gui/image/qimagewriter/CMakeLists.txt b/tests/auto/gui/image/qimagewriter/CMakeLists.txt new file mode 100644 index 0000000000..1a04dfbce0 --- /dev/null +++ b/tests/auto/gui/image/qimagewriter/CMakeLists.txt @@ -0,0 +1,50 @@ +# Generated from qimagewriter.pro. + +##################################################################### +## tst_qimagewriter Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + images/*) +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qimagewriter + SOURCES + tst_qimagewriter.cpp + PUBLIC_LIBRARIES + Qt::Gui + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qimagewriter.pro:<TRUE>: +# MOC_DIR = "tmp" + +## Scopes: +##################################################################### + +if(ANDROID AND NOT ANDROID_EMBEDDED) + # Resources: + set(qimagewriter_resource_files + "images/YCbCr_cmyk.jpg" + "images/YCbCr_rgb.jpg" + "images/beavis.jpg" + "images/colorful.bmp" + "images/earth.gif" + "images/font.bmp" + "images/gnus.xbm" + "images/kollada.png" + "images/marble.xpm" + "images/ship63.pbm" + "images/teapot.ppm" + "images/trolltech.gif" + ) + + add_qt_resource(tst_qimagewriter "qimagewriter" + PREFIX + "/" + FILES + ${qimagewriter_resource_files} + ) +endif() diff --git a/tests/auto/gui/image/qmovie/CMakeLists.txt b/tests/auto/gui/image/qmovie/CMakeLists.txt new file mode 100644 index 0000000000..bc841b5d29 --- /dev/null +++ b/tests/auto/gui/image/qmovie/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from qmovie.pro. + +##################################################################### +## tst_qmovie Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + animations/*) +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qmovie + SOURCES + tst_qmovie.cpp + PUBLIC_LIBRARIES + Qt::Gui + TESTDATA ${test_data} +) + +# Resources: +set(resources_resource_files + "animations/comicsecard.gif" + "animations/corrupt.gif" + "animations/trolltech.gif" +) + +add_qt_resource(tst_qmovie "resources" + PREFIX + "/" + FILES + ${resources_resource_files} +) + + +#### Keys ignored in scope 1:.:.:qmovie.pro:<TRUE>: +# MOC_DIR = "tmp" +# QT_FOR_CONFIG = "gui-private" + +## Scopes: +##################################################################### + +extend_target(tst_qmovie CONDITION TARGET Qt::Widgets + PUBLIC_LIBRARIES + Qt::Widgets +) + +extend_target(tst_qmovie CONDITION QT_FEATURE_gif + DEFINES + QTEST_HAVE_GIF +) + +extend_target(tst_qmovie CONDITION QT_FEATURE_jpeg + DEFINES + QTEST_HAVE_JPEG +) diff --git a/tests/auto/gui/image/qpicture/CMakeLists.txt b/tests/auto/gui/image/qpicture/CMakeLists.txt new file mode 100644 index 0000000000..625d19b3a5 --- /dev/null +++ b/tests/auto/gui/image/qpicture/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qpicture.pro. + +##################################################################### +## tst_qpicture Test: +##################################################################### + +add_qt_test(tst_qpicture + SOURCES + tst_qpicture.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/image/qpixmap/CMakeLists.txt b/tests/auto/gui/image/qpixmap/CMakeLists.txt new file mode 100644 index 0000000000..32c60e95c3 --- /dev/null +++ b/tests/auto/gui/image/qpixmap/CMakeLists.txt @@ -0,0 +1,109 @@ +# Generated from qpixmap.pro. + +##################################################################### +## tst_qpixmap Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + convertFromImage/*) +list(APPEND test_data ${test_data_glob}) +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + convertFromToHICON/*) +list(APPEND test_data ${test_data_glob}) +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + loadFromData/*) +list(APPEND test_data ${test_data_glob}) +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + images/*) +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qpixmap + SOURCES + tst_qpixmap.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + TESTDATA ${test_data} +) + +# Resources: +set(qpixmap_resource_files + "convertFromImage/task31722_0/img1.png" + "convertFromImage/task31722_0/img2.png" + "convertFromImage/task31722_1/img1.png" + "convertFromImage/task31722_1/img2.png" + "convertFromToHICON/icon_32bpp.ico" + "convertFromToHICON/icon_32bpp_16x16.png" + "convertFromToHICON/icon_32bpp_256x256.png" + "convertFromToHICON/icon_32bpp_32x32.png" + "convertFromToHICON/icon_32bpp_48x48.png" + "convertFromToHICON/icon_8bpp.ico" + "convertFromToHICON/icon_8bpp_16x16.png" + "convertFromToHICON/icon_8bpp_32x32.png" + "convertFromToHICON/icon_8bpp_48x48.png" + "images/designer.png" + "images/dx_-10_dy_-10_50_50_100_100.png" + "images/dx_-10_dy_-10_x_y_w_h.png" + "images/dx_-10_dy_0_50_50_100_100.png" + "images/dx_-10_dy_0_x_y_w_h.png" + "images/dx_-128_dy_-128_x_y_w_h.png" + "images/dx_-128_dy_0_x_y_w_h.png" + "images/dx_0_dy_-10_50_50_100_100.png" + "images/dx_0_dy_-10_x_y_w_h.png" + "images/dx_0_dy_-128_x_y_w_h.png" + "images/dx_0_dy_0_50_50_100_100.png" + "images/dx_0_dy_0_null.png" + "images/dx_0_dy_0_x_y_w_h.png" + "images/dx_0_dy_10_50_50_100_100.png" + "images/dx_0_dy_10_x_y_w_h.png" + "images/dx_0_dy_128_x_y_w_h.png" + "images/dx_0_dy_1_null.png" + "images/dx_10_dy_0_50_50_100_100.png" + "images/dx_10_dy_0_x_y_w_h.png" + "images/dx_10_dy_10_50_50_100_100.png" + "images/dx_10_dy_10_x_y_w_h.png" + "images/dx_128_dy_0_x_y_w_h.png" + "images/dx_128_dy_128_64_64_128_128.png" + "images/dx_128_dy_128_x_y_w_h.png" + "images/dx_1_dy_0_null.png" + "loadFromData/designer_argb32.png" + "loadFromData/designer_indexed8_no_alpha.gif" + "loadFromData/designer_indexed8_no_alpha.png" + "loadFromData/designer_indexed8_no_alpha_animated.gif" + "loadFromData/designer_indexed8_with_alpha.gif" + "loadFromData/designer_indexed8_with_alpha.png" + "loadFromData/designer_indexed8_with_alpha_animated.gif" + "loadFromData/designer_rgb32.jpg" + "loadFromData/designer_rgb32.png" +) + +add_qt_resource(tst_qpixmap "qpixmap" + PREFIX + "/" + FILES + ${qpixmap_resource_files} +) + + +## Scopes: +##################################################################### + +extend_target(tst_qpixmap CONDITION TARGET Qt::Widgets + LIBRARIES + Qt::WidgetsPrivate + PUBLIC_LIBRARIES + Qt::Widgets +) + +extend_target(tst_qpixmap CONDITION WIN32 AND NOT WINRT + PUBLIC_LIBRARIES + gdi32 + user32 +) diff --git a/tests/auto/gui/image/qpixmapcache/CMakeLists.txt b/tests/auto/gui/image/qpixmapcache/CMakeLists.txt new file mode 100644 index 0000000000..584e77c986 --- /dev/null +++ b/tests/auto/gui/image/qpixmapcache/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from qpixmapcache.pro. + +##################################################################### +## tst_qpixmapcache Test: +##################################################################### + +add_qt_test(tst_qpixmapcache + SOURCES + tst_qpixmapcache.cpp + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/itemmodels/CMakeLists.txt b/tests/auto/gui/itemmodels/CMakeLists.txt new file mode 100644 index 0000000000..196168b1b2 --- /dev/null +++ b/tests/auto/gui/itemmodels/CMakeLists.txt @@ -0,0 +1,4 @@ +add_subdirectory("qstandarditem") +if (QT_FEATURE_widgets) +# add_subdirectory("qstandarditemmodel") +endif() diff --git a/tests/auto/gui/itemmodels/qstandarditem/CMakeLists.txt b/tests/auto/gui/itemmodels/qstandarditem/CMakeLists.txt new file mode 100644 index 0000000000..8a19f6afaf --- /dev/null +++ b/tests/auto/gui/itemmodels/qstandarditem/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qstandarditem.pro. + +##################################################################### +## tst_qstandarditem Test: +##################################################################### + +add_qt_test(tst_qstandarditem + SOURCES + tst_qstandarditem.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/kernel/CMakeLists.txt b/tests/auto/gui/kernel/CMakeLists.txt new file mode 100644 index 0000000000..b2397bed19 --- /dev/null +++ b/tests/auto/gui/kernel/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from kernel.pro. + +add_subdirectory(qbackingstore) +add_subdirectory(qcursor) +add_subdirectory(qdrag) +add_subdirectory(qevent) +add_subdirectory(qfileopenevent) +add_subdirectory(qguieventdispatcher) +add_subdirectory(qguimetatype) +add_subdirectory(qguitimer) +add_subdirectory(qguivariant) +add_subdirectory(qinputmethod) +add_subdirectory(qkeyevent) +add_subdirectory(qkeysequence) +add_subdirectory(qmouseevent) +add_subdirectory(qpalette) +add_subdirectory(qscreen) +add_subdirectory(qsurfaceformat) +add_subdirectory(qwindow) +add_subdirectory(qguiapplication) +add_subdirectory(qpixelformat) +add_subdirectory(qrasterwindow) +if(NOT ANDROID AND NOT APPLE_UIKIT) + add_subdirectory(qclipboard) +endif() +if(TARGET Qt::Network) + add_subdirectory(qguieventloop) +endif() +if(TARGET Qt::Widgets) + add_subdirectory(qmouseevent_modal) + add_subdirectory(qtouchevent) +endif() +if(QT_FEATURE_opengl) + add_subdirectory(qopenglwindow) +endif() +if(TARGET Qt::Network AND WIN32 AND NOT WINRT) + add_subdirectory(noqteventloop) +endif() diff --git a/tests/auto/gui/kernel/noqteventloop/CMakeLists.txt b/tests/auto/gui/kernel/noqteventloop/CMakeLists.txt new file mode 100644 index 0000000000..7161c47db1 --- /dev/null +++ b/tests/auto/gui/kernel/noqteventloop/CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from noqteventloop.pro. + +##################################################################### +## tst_noqteventloop Test: +##################################################################### + +add_qt_test(tst_noqteventloop + SOURCES + tst_noqteventloop.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network +) + +## Scopes: +##################################################################### + +extend_target(tst_noqteventloop CONDITION QT_FEATURE_dynamicgl AND WIN32 AND NOT WINRT + PUBLIC_LIBRARIES + user32 +) diff --git a/tests/auto/gui/kernel/qbackingstore/CMakeLists.txt b/tests/auto/gui/kernel/qbackingstore/CMakeLists.txt new file mode 100644 index 0000000000..d657196113 --- /dev/null +++ b/tests/auto/gui/kernel/qbackingstore/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qbackingstore.pro. + +##################################################################### +## tst_qbackingstore Test: +##################################################################### + +add_qt_test(tst_qbackingstore + SOURCES + tst_qbackingstore.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/kernel/qclipboard/CMakeLists.txt b/tests/auto/gui/kernel/qclipboard/CMakeLists.txt new file mode 100644 index 0000000000..b795d32520 --- /dev/null +++ b/tests/auto/gui/kernel/qclipboard/CMakeLists.txt @@ -0,0 +1,7 @@ +# Generated from qclipboard.pro. + +add_subdirectory(test) +if(NOT WINRT) + add_subdirectory(copier) + add_subdirectory(paster) +endif() diff --git a/tests/auto/gui/kernel/qclipboard/copier/CMakeLists.txt b/tests/auto/gui/kernel/qclipboard/copier/CMakeLists.txt new file mode 100644 index 0000000000..30990c1387 --- /dev/null +++ b/tests/auto/gui/kernel/qclipboard/copier/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from copier.pro. + +##################################################################### +## copier Binary: +##################################################################### + +add_qt_executable(copier + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui +) + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:copier.pro:WIN32: +# DESTDIR = "../copier" diff --git a/tests/auto/gui/kernel/qclipboard/paster/CMakeLists.txt b/tests/auto/gui/kernel/qclipboard/paster/CMakeLists.txt new file mode 100644 index 0000000000..2c90c1530f --- /dev/null +++ b/tests/auto/gui/kernel/qclipboard/paster/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from paster.pro. + +##################################################################### +## paster Binary: +##################################################################### + +add_qt_executable(paster + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui +) + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:paster.pro:WIN32: +# DESTDIR = "../paster" diff --git a/tests/auto/gui/kernel/qclipboard/test/CMakeLists.txt b/tests/auto/gui/kernel/qclipboard/test/CMakeLists.txt new file mode 100644 index 0000000000..2678b8e470 --- /dev/null +++ b/tests/auto/gui/kernel/qclipboard/test/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from test.pro. + +##################################################################### +## tst_qclipboard Test: +##################################################################### + +add_qt_test(tst_qclipboard + SOURCES + ../tst_qclipboard.cpp + PUBLIC_LIBRARIES + Qt::Gui +) + +## Scopes: +##################################################################### + +extend_target(tst_qclipboard CONDITION APPLE_OSX + PUBLIC_LIBRARIES + ${FWAppKit} +) + +#### Keys ignored in scope 6:.:.:test.pro:NOT ANDROID AND NOT WINRT: +# TEST_HELPER_INSTALLS = "../copier/copier" "../paster/paster" diff --git a/tests/auto/gui/kernel/qcursor/CMakeLists.txt b/tests/auto/gui/kernel/qcursor/CMakeLists.txt new file mode 100644 index 0000000000..8f4062a42a --- /dev/null +++ b/tests/auto/gui/kernel/qcursor/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qcursor.pro. + +##################################################################### +## tst_qcursor Test: +##################################################################### + +add_qt_test(tst_qcursor + SOURCES + tst_qcursor.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/kernel/qdrag/CMakeLists.txt b/tests/auto/gui/kernel/qdrag/CMakeLists.txt new file mode 100644 index 0000000000..84bceaf0de --- /dev/null +++ b/tests/auto/gui/kernel/qdrag/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qdrag.pro. + +##################################################################### +## tst_qdrag Test: +##################################################################### + +add_qt_test(tst_qdrag + SOURCES + tst_qdrag.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/kernel/qevent/CMakeLists.txt b/tests/auto/gui/kernel/qevent/CMakeLists.txt new file mode 100644 index 0000000000..01d6db7225 --- /dev/null +++ b/tests/auto/gui/kernel/qevent/CMakeLists.txt @@ -0,0 +1,10 @@ +# Generated from qevent.pro. + +##################################################################### +## tst_qevent Test: +##################################################################### + +add_qt_test(tst_qevent + SOURCES + tst_qevent.cpp +) diff --git a/tests/auto/gui/kernel/qfileopenevent/CMakeLists.txt b/tests/auto/gui/kernel/qfileopenevent/CMakeLists.txt new file mode 100644 index 0000000000..2404833737 --- /dev/null +++ b/tests/auto/gui/kernel/qfileopenevent/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from qfileopenevent.pro. + +add_subdirectory(test) +add_subdirectory(qfileopeneventexternal) diff --git a/tests/auto/gui/kernel/qfileopenevent/qfileopeneventexternal/CMakeLists.txt b/tests/auto/gui/kernel/qfileopenevent/qfileopeneventexternal/CMakeLists.txt new file mode 100644 index 0000000000..0c50f7ff56 --- /dev/null +++ b/tests/auto/gui/kernel/qfileopenevent/qfileopeneventexternal/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from qfileopeneventexternal.pro. + +##################################################################### +## qfileopeneventexternal Binary: +##################################################################### + +add_qt_executable(qfileopeneventexternal + GUI + SOURCES + qfileopeneventexternal.cpp + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qfileopeneventexternal.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/gui/kernel/qfileopenevent/test/CMakeLists.txt b/tests/auto/gui/kernel/qfileopenevent/test/CMakeLists.txt new file mode 100644 index 0000000000..6695ef42b3 --- /dev/null +++ b/tests/auto/gui/kernel/qfileopenevent/test/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from test.pro. + +##################################################################### +## tst_qfileopenevent Test: +##################################################################### + +add_qt_test(tst_qfileopenevent + SOURCES + tst_qfileopenevent.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/kernel/qguiapplication/.prev_CMakeLists.txt b/tests/auto/gui/kernel/qguiapplication/.prev_CMakeLists.txt new file mode 100644 index 0000000000..1874a33794 --- /dev/null +++ b/tests/auto/gui/kernel/qguiapplication/.prev_CMakeLists.txt @@ -0,0 +1,47 @@ +# Generated from qguiapplication.pro. + +if(NOT QT_FEATURE_private_tests) + return() +endif() + +##################################################################### +## tst_qguiapplication Test: +##################################################################### + +add_qt_test(tst_qguiapplication + SOURCES + tst_qcoreapplication.cpp tst_qcoreapplication.h + tst_qguiapplication.cpp + DEFINES + QT_DISABLE_DEPRECATED_BEFORE=0x050E00 + INCLUDE_DIRECTORIES + ../../../corelib/kernel/qcoreapplication + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) + +# Resources: +set(tst_qguiapplication_resource_files + "icons/appicon.png" + "icons/usericon.png" +) + +add_qt_resource(tst_qguiapplication "tst_qguiapplication" + PREFIX + "/" + FILES + ${tst_qguiapplication_resource_files} +) + + +## Scopes: +##################################################################### + +#### Keys ignored in scope 3:.:../../../corelib/kernel/qcoreapplication:../../../corelib/kernel/qcoreapplication/qcoreapplication.pro:WIN32: +# VERSION = "1.2.3.4" + +#### Keys ignored in scope 4:.:../../../corelib/kernel/qcoreapplication:../../../corelib/kernel/qcoreapplication/qcoreapplication.pro:else: +# VERSION = "1.2.3" diff --git a/tests/auto/gui/kernel/qguiapplication/CMakeLists.txt b/tests/auto/gui/kernel/qguiapplication/CMakeLists.txt new file mode 100644 index 0000000000..09498e2a39 --- /dev/null +++ b/tests/auto/gui/kernel/qguiapplication/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from qguiapplication.pro. + +if(NOT QT_FEATURE_private_tests) + return() +endif() + +##################################################################### +## tst_qguiapplication Test: +##################################################################### + +add_qt_test(tst_qguiapplication + SOURCES + ../../../corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp ../../../corelib/kernel/qcoreapplication/tst_qcoreapplication.h # special case + tst_qguiapplication.cpp + DEFINES + QT_DISABLE_DEPRECATED_BEFORE=0x050E00 + INCLUDE_DIRECTORIES + ../../../corelib/kernel/qcoreapplication + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Threads::Threads # special case +) + +# Resources: +set(tst_qguiapplication_resource_files + "icons/appicon.png" + "icons/usericon.png" +) + +add_qt_resource(tst_qguiapplication "tst_qguiapplication" + PREFIX + "/" + FILES + ${tst_qguiapplication_resource_files} +) + + +## Scopes: +##################################################################### + +#### Keys ignored in scope 3:.:../../../corelib/kernel/qcoreapplication:../../../corelib/kernel/qcoreapplication/qcoreapplication.pro:WIN32: +# VERSION = "1.2.3.4" + +#### Keys ignored in scope 4:.:../../../corelib/kernel/qcoreapplication:../../../corelib/kernel/qcoreapplication/qcoreapplication.pro:else: +# VERSION = "1.2.3" diff --git a/tests/auto/gui/kernel/qguieventdispatcher/CMakeLists.txt b/tests/auto/gui/kernel/qguieventdispatcher/CMakeLists.txt new file mode 100644 index 0000000000..eb36e0ece7 --- /dev/null +++ b/tests/auto/gui/kernel/qguieventdispatcher/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qguieventdispatcher.pro. + +##################################################################### +## tst_qguieventdispatcher Test: +##################################################################### + +add_qt_test(tst_qguieventdispatcher + SOURCES + ../../../corelib/kernel/qeventdispatcher/tst_qeventdispatcher.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/kernel/qguieventloop/.prev_CMakeLists.txt b/tests/auto/gui/kernel/qguieventloop/.prev_CMakeLists.txt new file mode 100644 index 0000000000..c4daa5a310 --- /dev/null +++ b/tests/auto/gui/kernel/qguieventloop/.prev_CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from qguieventloop.pro. + +##################################################################### +## tst_qguieventloop Test: +##################################################################### + +add_qt_test(tst_qguieventloop + SOURCES + ../../../corelib/kernel/qeventloop/tst_qeventloop.cpp + LIBRARIES + Qt::CorePrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network +) + +## Scopes: +##################################################################### + +extend_target(tst_qguieventloop CONDITION WIN32 AND NOT WINRT + PUBLIC_LIBRARIES + user32 +) + +extend_target(tst_qguieventloop CONDITION QT_FEATURE_glib + DEFINES + HAVE_GLIB +) diff --git a/tests/auto/gui/kernel/qguieventloop/CMakeLists.txt b/tests/auto/gui/kernel/qguieventloop/CMakeLists.txt new file mode 100644 index 0000000000..c4daa5a310 --- /dev/null +++ b/tests/auto/gui/kernel/qguieventloop/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from qguieventloop.pro. + +##################################################################### +## tst_qguieventloop Test: +##################################################################### + +add_qt_test(tst_qguieventloop + SOURCES + ../../../corelib/kernel/qeventloop/tst_qeventloop.cpp + LIBRARIES + Qt::CorePrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network +) + +## Scopes: +##################################################################### + +extend_target(tst_qguieventloop CONDITION WIN32 AND NOT WINRT + PUBLIC_LIBRARIES + user32 +) + +extend_target(tst_qguieventloop CONDITION QT_FEATURE_glib + DEFINES + HAVE_GLIB +) diff --git a/tests/auto/gui/kernel/qguimetatype/CMakeLists.txt b/tests/auto/gui/kernel/qguimetatype/CMakeLists.txt new file mode 100644 index 0000000000..3701b3983a --- /dev/null +++ b/tests/auto/gui/kernel/qguimetatype/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qguimetatype.pro. + +##################################################################### +## tst_qguimetatype Test: +##################################################################### + +add_qt_test(tst_qguimetatype + SOURCES + tst_qguimetatype.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/kernel/qguitimer/.prev_CMakeLists.txt b/tests/auto/gui/kernel/qguitimer/.prev_CMakeLists.txt new file mode 100644 index 0000000000..6d0f3cbbee --- /dev/null +++ b/tests/auto/gui/kernel/qguitimer/.prev_CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from qguitimer.pro. + +##################################################################### +## tst_qguitimer Test: +##################################################################### + +add_qt_test(tst_qguitimer + SOURCES + ../../../corelib/kernel/qtimer/tst_qtimer.cpp + LIBRARIES + Qt::CorePrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/kernel/qguitimer/CMakeLists.txt b/tests/auto/gui/kernel/qguitimer/CMakeLists.txt new file mode 100644 index 0000000000..5f255d49e4 --- /dev/null +++ b/tests/auto/gui/kernel/qguitimer/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qguitimer.pro. + +##################################################################### +## tst_qguitimer Test: +##################################################################### + +add_qt_test(tst_qguitimer + SOURCES + ../../../corelib/kernel/qtimer/tst_qtimer.cpp + LIBRARIES + Qt::CorePrivate + PUBLIC_LIBRARIES + Qt::Gui + Threads::Threads # special case +) diff --git a/tests/auto/gui/kernel/qguivariant/CMakeLists.txt b/tests/auto/gui/kernel/qguivariant/CMakeLists.txt new file mode 100644 index 0000000000..3a0adab6e3 --- /dev/null +++ b/tests/auto/gui/kernel/qguivariant/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from qguivariant.pro. + +add_subdirectory(test) +add_subdirectory(no_application) diff --git a/tests/auto/gui/kernel/qguivariant/no_application/CMakeLists.txt b/tests/auto/gui/kernel/qguivariant/no_application/CMakeLists.txt new file mode 100644 index 0000000000..8261212801 --- /dev/null +++ b/tests/auto/gui/kernel/qguivariant/no_application/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from no_application.pro. + +##################################################################### +## no_application Test: +##################################################################### + +add_qt_test(no_application + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/kernel/qguivariant/test/CMakeLists.txt b/tests/auto/gui/kernel/qguivariant/test/CMakeLists.txt new file mode 100644 index 0000000000..af2cea60e6 --- /dev/null +++ b/tests/auto/gui/kernel/qguivariant/test/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from test.pro. + +##################################################################### +## tst_qguivariant Test: +##################################################################### + +add_qt_test(tst_qguivariant + SOURCES + tst_qguivariant.cpp + INCLUDE_DIRECTORIES + ../../../../other/qvariant_common + PUBLIC_LIBRARIES + Qt::Gui +) + +# Resources: +set(tst_qguivariant_resource_files + "black.png" + "black2.png" +) + +add_qt_resource(tst_qguivariant "tst_qguivariant" + PREFIX + "/" + FILES + ${tst_qguivariant_resource_files} +) +set(qguivariant_resource_files + "data" +) + +add_qt_resource(tst_qguivariant "qguivariant" + PREFIX + "/" + FILES + ${qguivariant_resource_files} +) + diff --git a/tests/auto/gui/kernel/qinputmethod/CMakeLists.txt b/tests/auto/gui/kernel/qinputmethod/CMakeLists.txt new file mode 100644 index 0000000000..f0f09818e5 --- /dev/null +++ b/tests/auto/gui/kernel/qinputmethod/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qinputmethod.pro. + +##################################################################### +## tst_qinputmethod Test: +##################################################################### + +add_qt_test(tst_qinputmethod + SOURCES + tst_qinputmethod.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/kernel/qkeyevent/CMakeLists.txt b/tests/auto/gui/kernel/qkeyevent/CMakeLists.txt new file mode 100644 index 0000000000..2e36795375 --- /dev/null +++ b/tests/auto/gui/kernel/qkeyevent/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qkeyevent.pro. + +##################################################################### +## tst_qkeyevent Test: +##################################################################### + +add_qt_test(tst_qkeyevent + SOURCES + tst_qkeyevent.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/kernel/qkeysequence/CMakeLists.txt b/tests/auto/gui/kernel/qkeysequence/CMakeLists.txt new file mode 100644 index 0000000000..01f03fac76 --- /dev/null +++ b/tests/auto/gui/kernel/qkeysequence/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qkeysequence.pro. + +##################################################################### +## tst_qkeysequence Test: +##################################################################### + +add_qt_test(tst_qkeysequence + SOURCES + tst_qkeysequence.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) + +# Resources: +set(qkeysequence_resource_files + "keys_de.qm" + "qt_de.qm" +) + +add_qt_resource(tst_qkeysequence "qkeysequence" + PREFIX + "/" + FILES + ${qkeysequence_resource_files} +) + diff --git a/tests/auto/gui/kernel/qmouseevent/CMakeLists.txt b/tests/auto/gui/kernel/qmouseevent/CMakeLists.txt new file mode 100644 index 0000000000..4e1081c6ad --- /dev/null +++ b/tests/auto/gui/kernel/qmouseevent/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qmouseevent.pro. + +##################################################################### +## tst_qmouseevent Test: +##################################################################### + +add_qt_test(tst_qmouseevent + SOURCES + tst_qmouseevent.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/kernel/qmouseevent_modal/CMakeLists.txt b/tests/auto/gui/kernel/qmouseevent_modal/CMakeLists.txt new file mode 100644 index 0000000000..c7f447ffeb --- /dev/null +++ b/tests/auto/gui/kernel/qmouseevent_modal/CMakeLists.txt @@ -0,0 +1,13 @@ +# Generated from qmouseevent_modal.pro. + +##################################################################### +## tst_qmouseevent_modal Test: +##################################################################### + +add_qt_test(tst_qmouseevent_modal + SOURCES + tst_qmouseevent_modal.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Widgets +) diff --git a/tests/auto/gui/kernel/qopenglwindow/CMakeLists.txt b/tests/auto/gui/kernel/qopenglwindow/CMakeLists.txt new file mode 100644 index 0000000000..1915f28a18 --- /dev/null +++ b/tests/auto/gui/kernel/qopenglwindow/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qopenglwindow.pro. + +##################################################################### +## tst_qopenglwindow Test: +##################################################################### + +add_qt_test(tst_qopenglwindow + SOURCES + tst_qopenglwindow.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/kernel/qpalette/CMakeLists.txt b/tests/auto/gui/kernel/qpalette/CMakeLists.txt new file mode 100644 index 0000000000..4bd2ce7cc5 --- /dev/null +++ b/tests/auto/gui/kernel/qpalette/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qpalette.pro. + +##################################################################### +## tst_qpalette Test: +##################################################################### + +add_qt_test(tst_qpalette + SOURCES + tst_qpalette.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/kernel/qpixelformat/CMakeLists.txt b/tests/auto/gui/kernel/qpixelformat/CMakeLists.txt new file mode 100644 index 0000000000..43deb02af1 --- /dev/null +++ b/tests/auto/gui/kernel/qpixelformat/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qpixelformat.pro. + +##################################################################### +## tst_qpixelformat Test: +##################################################################### + +add_qt_test(tst_qpixelformat + SOURCES + tst_qpixelformat.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/kernel/qrasterwindow/CMakeLists.txt b/tests/auto/gui/kernel/qrasterwindow/CMakeLists.txt new file mode 100644 index 0000000000..61e1be44fd --- /dev/null +++ b/tests/auto/gui/kernel/qrasterwindow/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qrasterwindow.pro. + +##################################################################### +## tst_qrasterwindow Test: +##################################################################### + +add_qt_test(tst_qrasterwindow + SOURCES + tst_qrasterwindow.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/kernel/qscreen/CMakeLists.txt b/tests/auto/gui/kernel/qscreen/CMakeLists.txt new file mode 100644 index 0000000000..2e2a04f969 --- /dev/null +++ b/tests/auto/gui/kernel/qscreen/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qscreen.pro. + +##################################################################### +## tst_qscreen Test: +##################################################################### + +add_qt_test(tst_qscreen + SOURCES + tst_qscreen.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/kernel/qsurfaceformat/CMakeLists.txt b/tests/auto/gui/kernel/qsurfaceformat/CMakeLists.txt new file mode 100644 index 0000000000..148ab2be8d --- /dev/null +++ b/tests/auto/gui/kernel/qsurfaceformat/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qsurfaceformat.pro. + +##################################################################### +## tst_qsurfaceformat Test: +##################################################################### + +add_qt_test(tst_qsurfaceformat + SOURCES + tst_qsurfaceformat.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/kernel/qtouchevent/CMakeLists.txt b/tests/auto/gui/kernel/qtouchevent/CMakeLists.txt new file mode 100644 index 0000000000..2a74918f8a --- /dev/null +++ b/tests/auto/gui/kernel/qtouchevent/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qtouchevent.pro. + +##################################################################### +## tst_qtouchevent Test: +##################################################################### + +add_qt_test(tst_qtouchevent + SOURCES + tst_qtouchevent.cpp + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Widgets +) diff --git a/tests/auto/gui/kernel/qwindow/CMakeLists.txt b/tests/auto/gui/kernel/qwindow/CMakeLists.txt new file mode 100644 index 0000000000..c5a56a5a06 --- /dev/null +++ b/tests/auto/gui/kernel/qwindow/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from qwindow.pro. + +##################################################################### +## tst_qwindow Test: +##################################################################### + +add_qt_test(tst_qwindow + SOURCES + tst_qwindow.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) + +## Scopes: +##################################################################### + +extend_target(tst_qwindow CONDITION QT_FEATURE_dynamicgl AND WIN32 AND NOT WINRT + PUBLIC_LIBRARIES + user32 +) diff --git a/tests/auto/gui/math3d/CMakeLists.txt b/tests/auto/gui/math3d/CMakeLists.txt new file mode 100644 index 0000000000..91e59874b7 --- /dev/null +++ b/tests/auto/gui/math3d/CMakeLists.txt @@ -0,0 +1,3 @@ +add_subdirectory("qquaternion") +add_subdirectory("qvectornd") +add_subdirectory("qmatrixnxn") diff --git a/tests/auto/gui/math3d/qmatrixnxn/CMakeLists.txt b/tests/auto/gui/math3d/qmatrixnxn/CMakeLists.txt new file mode 100644 index 0000000000..71daeba361 --- /dev/null +++ b/tests/auto/gui/math3d/qmatrixnxn/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from qmatrixnxn.pro. + +##################################################################### +## tst_qmatrixnxn Test: +##################################################################### + +add_qt_test(tst_qmatrixnxn + SOURCES + tst_qmatrixnxn.cpp + DEFINES + QT_DISABLE_DEPRECATED_BEFORE=0 + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/math3d/qquaternion/CMakeLists.txt b/tests/auto/gui/math3d/qquaternion/CMakeLists.txt new file mode 100644 index 0000000000..77d035cbf9 --- /dev/null +++ b/tests/auto/gui/math3d/qquaternion/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qquaternion.pro. + +##################################################################### +## tst_qquaternion Test: +##################################################################### + +add_qt_test(tst_qquaternion + SOURCES + tst_qquaternion.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/math3d/qvectornd/CMakeLists.txt b/tests/auto/gui/math3d/qvectornd/CMakeLists.txt new file mode 100644 index 0000000000..5d8a373234 --- /dev/null +++ b/tests/auto/gui/math3d/qvectornd/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qvectornd.pro. + +##################################################################### +## tst_qvectornd Test: +##################################################################### + +add_qt_test(tst_qvectornd + SOURCES + tst_qvectornd.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/painting/CMakeLists.txt b/tests/auto/gui/painting/CMakeLists.txt new file mode 100644 index 0000000000..e13679e282 --- /dev/null +++ b/tests/auto/gui/painting/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from painting.pro. + +add_subdirectory("qpainterpath") +add_subdirectory("qpainterpathstroker") +# add_subdirectory("qcolor") +# add_subdirectory("qbrush") +# add_subdirectory("qregion") +# add_subdirectory("qpagelayout") +add_subdirectory("qpagesize") +# add_subdirectory("qpainter") +if (QT_FEATURE_private_tests) + # not converted yet + #add_subdirectory("qpathclipper") +endif() +# add_subdirectory("qpdfwriter") +add_subdirectory("qpen") +add_subdirectory("qpaintengine") +# add_subdirectory("qtransform") +# add_subdirectory("qwmatrix") +# add_subdirectory("qpolygon") diff --git a/tests/auto/gui/painting/qpagesize/CMakeLists.txt b/tests/auto/gui/painting/qpagesize/CMakeLists.txt new file mode 100644 index 0000000000..260abfbc0f --- /dev/null +++ b/tests/auto/gui/painting/qpagesize/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from qpagesize.pro. + +##################################################################### +## tst_qpagesize Test: +##################################################################### + +add_qt_test(tst_qpagesize + SOURCES + tst_qpagesize.cpp + DEFINES + QT_USE_USING_NAMESPACE + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/painting/qpaintengine/CMakeLists.txt b/tests/auto/gui/painting/qpaintengine/CMakeLists.txt new file mode 100644 index 0000000000..8125a98d3e --- /dev/null +++ b/tests/auto/gui/painting/qpaintengine/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qpaintengine.pro. + +##################################################################### +## tst_qpaintengine Test: +##################################################################### + +add_qt_test(tst_qpaintengine + SOURCES + tst_qpaintengine.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/painting/qpainterpath/CMakeLists.txt b/tests/auto/gui/painting/qpainterpath/CMakeLists.txt new file mode 100644 index 0000000000..c2c88cc258 --- /dev/null +++ b/tests/auto/gui/painting/qpainterpath/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qpainterpath.pro. + +##################################################################### +## tst_qpainterpath Test: +##################################################################### + +add_qt_test(tst_qpainterpath + SOURCES + tst_qpainterpath.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/painting/qpainterpathstroker/CMakeLists.txt b/tests/auto/gui/painting/qpainterpathstroker/CMakeLists.txt new file mode 100644 index 0000000000..a1c5f6547f --- /dev/null +++ b/tests/auto/gui/painting/qpainterpathstroker/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qpainterpathstroker.pro. + +##################################################################### +## tst_qpainterpathstroker Test: +##################################################################### + +add_qt_test(tst_qpainterpathstroker + SOURCES + tst_qpainterpathstroker.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/painting/qpen/CMakeLists.txt b/tests/auto/gui/painting/qpen/CMakeLists.txt new file mode 100644 index 0000000000..d096f7a6ce --- /dev/null +++ b/tests/auto/gui/painting/qpen/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qpen.pro. + +##################################################################### +## tst_qpen Test: +##################################################################### + +add_qt_test(tst_qpen + SOURCES + tst_qpen.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/qopengl/CMakeLists.txt b/tests/auto/gui/qopengl/CMakeLists.txt new file mode 100644 index 0000000000..d488c808f9 --- /dev/null +++ b/tests/auto/gui/qopengl/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from qopengl.pro. + +##################################################################### +## tst_qopengl Test: +##################################################################### + +add_qt_test(tst_qopengl + SOURCES + tst_qopengl.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) + +## Scopes: +##################################################################### + +extend_target(tst_qopengl CONDITION LINUX AND QT_FEATURE_xcb AND QT_FEATURE_xcb_glx_plugin + DEFINES + USE_GLX +) diff --git a/tests/auto/gui/qopenglconfig/CMakeLists.txt b/tests/auto/gui/qopenglconfig/CMakeLists.txt new file mode 100644 index 0000000000..bcac684cf9 --- /dev/null +++ b/tests/auto/gui/qopenglconfig/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from qopenglconfig.pro. + +##################################################################### +## tst_qopenglconfig Test: +##################################################################### + +# Collect test data +list(APPEND test_data "buglist.json") + +add_qt_test(tst_qopenglconfig + SOURCES + tst_qopenglconfig.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + TESTDATA ${test_data} +) diff --git a/tests/auto/gui/qvulkan/CMakeLists.txt b/tests/auto/gui/qvulkan/CMakeLists.txt new file mode 100644 index 0000000000..ad8a9f9e67 --- /dev/null +++ b/tests/auto/gui/qvulkan/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qvulkan.pro. + +##################################################################### +## tst_qvulkan Test: +##################################################################### + +add_qt_test(tst_qvulkan + SOURCES + tst_qvulkan.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/rhi/CMakeLists.txt b/tests/auto/gui/rhi/CMakeLists.txt new file mode 100644 index 0000000000..786e121f00 --- /dev/null +++ b/tests/auto/gui/rhi/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from rhi.pro. + +add_subdirectory(qshader) +add_subdirectory(qrhi) diff --git a/tests/auto/gui/rhi/qrhi/CMakeLists.txt b/tests/auto/gui/rhi/qrhi/CMakeLists.txt new file mode 100644 index 0000000000..27c8a731e7 --- /dev/null +++ b/tests/auto/gui/rhi/qrhi/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qrhi.pro. + +##################################################################### +## tst_qrhi Test: +##################################################################### + +add_qt_test(tst_qrhi + SOURCES + tst_qrhi.cpp + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) + +# Resources: +set(qrhi_resource_files + "data" +) + +add_qt_resource(tst_qrhi "qrhi" + PREFIX + "/" + FILES + ${qrhi_resource_files} +) + diff --git a/tests/auto/gui/rhi/qshader/CMakeLists.txt b/tests/auto/gui/rhi/qshader/CMakeLists.txt new file mode 100644 index 0000000000..9d9352ef1e --- /dev/null +++ b/tests/auto/gui/rhi/qshader/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qshader.pro. + +##################################################################### +## tst_qshader Test: +##################################################################### + +add_qt_test(tst_qshader + SOURCES + tst_qshader.cpp + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) + +# Resources: +set(qshader_resource_files + "data" +) + +add_qt_resource(tst_qshader "qshader" + PREFIX + "/" + FILES + ${qshader_resource_files} +) + diff --git a/tests/auto/gui/text/CMakeLists.txt b/tests/auto/gui/text/CMakeLists.txt new file mode 100644 index 0000000000..8326190831 --- /dev/null +++ b/tests/auto/gui/text/CMakeLists.txt @@ -0,0 +1,41 @@ +# Generated from text.pro. + +add_subdirectory(qabstracttextdocumentlayout) +add_subdirectory(qfont) +add_subdirectory(qfontdatabase) +add_subdirectory(qfontmetrics) +add_subdirectory(qglyphrun) +add_subdirectory(qrawfont) +add_subdirectory(qstatictext) +add_subdirectory(qsyntaxhighlighter) +add_subdirectory(qtextblock) +add_subdirectory(qtextcursor) +add_subdirectory(qtextdocumentfragment) +add_subdirectory(qtextdocumentlayout) +add_subdirectory(qtextformat) +add_subdirectory(qtextlist) +add_subdirectory(qtextobject) +add_subdirectory(qtextscriptengine) +add_subdirectory(qtexttable) +add_subdirectory(qinputcontrol) +if(QT_FEATURE_private_tests AND TARGET Qt::Xml) + add_subdirectory(qcssparser) +endif() +if(QT_FEATURE_private_tests) + add_subdirectory(qfontcache) + add_subdirectory(qtextlayout) + add_subdirectory(qzip) + add_subdirectory(qtextodfwriter) +endif() +if(TARGET Qt::Xml) + add_subdirectory(qtextdocument) +endif() +if(QT_FEATURE_private_tests AND UNIX) + add_subdirectory(qtextpiecetable) +endif() +if(QT_FEATURE_textmarkdownreader) + add_subdirectory(qtextmarkdownimporter) +endif() +if(QT_FEATURE_private_tests AND QT_FEATURE_textmarkdownwriter) + add_subdirectory(qtextmarkdownwriter) +endif() diff --git a/tests/auto/gui/text/qabstracttextdocumentlayout/CMakeLists.txt b/tests/auto/gui/text/qabstracttextdocumentlayout/CMakeLists.txt new file mode 100644 index 0000000000..62d4ce9d32 --- /dev/null +++ b/tests/auto/gui/text/qabstracttextdocumentlayout/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qabstracttextdocumentlayout.pro. + +##################################################################### +## tst_qabstracttextdocumentlayout Test: +##################################################################### + +add_qt_test(tst_qabstracttextdocumentlayout + SOURCES + tst_qabstracttextdocumentlayout.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/text/qcssparser/CMakeLists.txt b/tests/auto/gui/text/qcssparser/CMakeLists.txt new file mode 100644 index 0000000000..869eebbf95 --- /dev/null +++ b/tests/auto/gui/text/qcssparser/CMakeLists.txt @@ -0,0 +1,58 @@ +# Generated from qcssparser.pro. + +if(NOT QT_FEATURE_private_tests) + return() +endif() + +##################################################################### +## tst_qcssparser Test: +##################################################################### + +# Collect test data +list(APPEND test_data "testdata") + +add_qt_test(tst_qcssparser + SOURCES + tst_qcssparser.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Xml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qcssparser.pro:<TRUE>: +# _REQUIREMENTS = "qtConfig(private_tests)" + +## Scopes: +##################################################################### + +if(ANDROID) + # Resources: + set(testdata_resource_files + "testdata/scanner/comments/input" + "testdata/scanner/comments/output" + "testdata/scanner/comments2/input" + "testdata/scanner/comments2/output" + "testdata/scanner/comments3/input" + "testdata/scanner/comments3/output" + "testdata/scanner/comments4/input" + "testdata/scanner/comments4/output" + "testdata/scanner/quotedstring/input" + "testdata/scanner/quotedstring/output" + "testdata/scanner/simple/input" + "testdata/scanner/simple/output" + "testdata/scanner/unicode/input" + "testdata/scanner/unicode/output" + ) + + add_qt_resource(tst_qcssparser "testdata" + PREFIX + "/" + FILES + ${testdata_resource_files} + ) +endif() diff --git a/tests/auto/gui/text/qfont/CMakeLists.txt b/tests/auto/gui/text/qfont/CMakeLists.txt new file mode 100644 index 0000000000..1f063ab8b2 --- /dev/null +++ b/tests/auto/gui/text/qfont/CMakeLists.txt @@ -0,0 +1,36 @@ +# Generated from qfont.pro. + +##################################################################### +## tst_qfont Test: +##################################################################### + +add_qt_test(tst_qfont + SOURCES + tst_qfont.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) + +# Resources: +set(testfont_resource_files + "weirdfont.otf" +) + +add_qt_resource(tst_qfont "testfont" + PREFIX + "/" + FILES + ${testfont_resource_files} +) + + +## Scopes: +##################################################################### + +extend_target(tst_qfont CONDITION TARGET Qt::Widgets + PUBLIC_LIBRARIES + Qt::Widgets +) diff --git a/tests/auto/gui/text/qfontcache/CMakeLists.txt b/tests/auto/gui/text/qfontcache/CMakeLists.txt new file mode 100644 index 0000000000..dc5e76c91d --- /dev/null +++ b/tests/auto/gui/text/qfontcache/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qfontcache.pro. + +##################################################################### +## tst_qfontcache Test: +##################################################################### + +add_qt_test(tst_qfontcache + SOURCES + tst_qfontcache.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/text/qfontdatabase/CMakeLists.txt b/tests/auto/gui/text/qfontdatabase/CMakeLists.txt new file mode 100644 index 0000000000..641a2475f0 --- /dev/null +++ b/tests/auto/gui/text/qfontdatabase/CMakeLists.txt @@ -0,0 +1,44 @@ +# Generated from qfontdatabase.pro. + +##################################################################### +## tst_qfontdatabase Test: +##################################################################### + +# Collect test data +list(APPEND test_data "LED_REAL.TTF") + +add_qt_test(tst_qfontdatabase + SOURCES + tst_qfontdatabase.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + TESTDATA ${test_data} +) + +# Resources: +set_source_files_properties("../../../shared/resources/testfont.ttf" + PROPERTIES QT_RESOURCE_ALIAS "testfont.ttf" +) +set_source_files_properties("../../../shared/resources/testfont_condensed.ttf" + PROPERTIES QT_RESOURCE_ALIAS "testfont_condensed.ttf" +) +set_source_files_properties("../../../shared/resources/testfont_italic.ttf" + PROPERTIES QT_RESOURCE_ALIAS "testfont_italic.ttf" +) +set(testdata_resource_files + "../../../shared/resources/testfont.ttf" + "../../../shared/resources/testfont_condensed.ttf" + "../../../shared/resources/testfont_italic.ttf" + "LED_REAL.TTF" +) + +add_qt_resource(tst_qfontdatabase "testdata" + PREFIX + "/" + FILES + ${testdata_resource_files} +) + diff --git a/tests/auto/gui/text/qfontmetrics/CMakeLists.txt b/tests/auto/gui/text/qfontmetrics/CMakeLists.txt new file mode 100644 index 0000000000..10ba5dd791 --- /dev/null +++ b/tests/auto/gui/text/qfontmetrics/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from qfontmetrics.pro. + +##################################################################### +## tst_qfontmetrics Test: +##################################################################### + +add_qt_test(tst_qfontmetrics + SOURCES + tst_qfontmetrics.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) + +# Resources: +set_source_files_properties("../../../shared/resources/testfont.ttf" + PROPERTIES QT_RESOURCE_ALIAS "testfont.ttf" +) +set(testfont_resource_files + "../../../shared/resources/testfont.ttf" + "ucs4font.ttf" +) + +add_qt_resource(tst_qfontmetrics "testfont" + PREFIX + "/fonts" + FILES + ${testfont_resource_files} +) + diff --git a/tests/auto/gui/text/qglyphrun/CMakeLists.txt b/tests/auto/gui/text/qglyphrun/CMakeLists.txt new file mode 100644 index 0000000000..8efcfc0cf9 --- /dev/null +++ b/tests/auto/gui/text/qglyphrun/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from qglyphrun.pro. + +##################################################################### +## tst_qglyphrun Test: +##################################################################### + +add_qt_test(tst_qglyphrun + SOURCES + tst_qglyphrun.cpp + PUBLIC_LIBRARIES + Qt::Gui +) + +# Resources: +set_source_files_properties("../../../shared/resources/test.ttf" + PROPERTIES QT_RESOURCE_ALIAS "test.ttf" +) +set(testdata_resource_files + "../../../shared/resources/test.ttf" +) + +add_qt_resource(tst_qglyphrun "testdata" + PREFIX + "/" + FILES + ${testdata_resource_files} +) + diff --git a/tests/auto/gui/text/qinputcontrol/CMakeLists.txt b/tests/auto/gui/text/qinputcontrol/CMakeLists.txt new file mode 100644 index 0000000000..8c379bffc3 --- /dev/null +++ b/tests/auto/gui/text/qinputcontrol/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from qinputcontrol.pro. + +##################################################################### +## tst_qinputcontrol Test: +##################################################################### + +add_qt_test(tst_qinputcontrol + SOURCES + tst_qinputcontrol.cpp + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/text/qrawfont/CMakeLists.txt b/tests/auto/gui/text/qrawfont/CMakeLists.txt new file mode 100644 index 0000000000..41093ee603 --- /dev/null +++ b/tests/auto/gui/text/qrawfont/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from qrawfont.pro. + +##################################################################### +## tst_qrawfont Test: +##################################################################### + +add_qt_test(tst_qrawfont + SOURCES + tst_qrawfont.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) + +# Resources: +set_source_files_properties("../../../shared/resources/testfont.ttf" + PROPERTIES QT_RESOURCE_ALIAS "testfont.ttf" +) +set(testdata_resource_files + "../../../shared/resources/testfont.ttf" + "testfont_bold_italic.ttf" + "testfont_os2_v1.ttf" +) + +add_qt_resource(tst_qrawfont "testdata" + PREFIX + "/" + FILES + ${testdata_resource_files} +) + diff --git a/tests/auto/gui/text/qstatictext/CMakeLists.txt b/tests/auto/gui/text/qstatictext/CMakeLists.txt new file mode 100644 index 0000000000..c2b53e731c --- /dev/null +++ b/tests/auto/gui/text/qstatictext/CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from qstatictext.pro. + +##################################################################### +## tst_qstatictext Test: +##################################################################### + +add_qt_test(tst_qstatictext + SOURCES + tst_qstatictext.cpp + PUBLIC_LIBRARIES + Qt::Gui +) + +## Scopes: +##################################################################### + +extend_target(tst_qstatictext CONDITION QT_FEATURE_private_tests + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui +) diff --git a/tests/auto/gui/text/qsyntaxhighlighter/CMakeLists.txt b/tests/auto/gui/text/qsyntaxhighlighter/CMakeLists.txt new file mode 100644 index 0000000000..c4ea8b4a1e --- /dev/null +++ b/tests/auto/gui/text/qsyntaxhighlighter/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qsyntaxhighlighter.pro. + +##################################################################### +## tst_qsyntaxhighlighter Test: +##################################################################### + +add_qt_test(tst_qsyntaxhighlighter + SOURCES + tst_qsyntaxhighlighter.cpp + PUBLIC_LIBRARIES + Qt::Gui +) + +## Scopes: +##################################################################### + +extend_target(tst_qsyntaxhighlighter CONDITION TARGET Qt::Widgets + PUBLIC_LIBRARIES + Qt::Widgets +) diff --git a/tests/auto/gui/text/qtextblock/CMakeLists.txt b/tests/auto/gui/text/qtextblock/CMakeLists.txt new file mode 100644 index 0000000000..ca461a37d5 --- /dev/null +++ b/tests/auto/gui/text/qtextblock/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qtextblock.pro. + +##################################################################### +## tst_qtextblock Test: +##################################################################### + +add_qt_test(tst_qtextblock + SOURCES + tst_qtextblock.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/text/qtextcursor/CMakeLists.txt b/tests/auto/gui/text/qtextcursor/CMakeLists.txt new file mode 100644 index 0000000000..2e129d0262 --- /dev/null +++ b/tests/auto/gui/text/qtextcursor/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qtextcursor.pro. + +##################################################################### +## tst_qtextcursor Test: +##################################################################### + +add_qt_test(tst_qtextcursor + SOURCES + tst_qtextcursor.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/text/qtextdocument/CMakeLists.txt b/tests/auto/gui/text/qtextdocument/CMakeLists.txt new file mode 100644 index 0000000000..5ac40ee8b6 --- /dev/null +++ b/tests/auto/gui/text/qtextdocument/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qtextdocument.pro. + +##################################################################### +## tst_qtextdocument Test: +##################################################################### + +add_qt_test(tst_qtextdocument + SOURCES + common.h + tst_qtextdocument.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Xml +) diff --git a/tests/auto/gui/text/qtextdocumentfragment/CMakeLists.txt b/tests/auto/gui/text/qtextdocumentfragment/CMakeLists.txt new file mode 100644 index 0000000000..09469b7c7f --- /dev/null +++ b/tests/auto/gui/text/qtextdocumentfragment/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qtextdocumentfragment.pro. + +##################################################################### +## tst_qtextdocumentfragment Test: +##################################################################### + +add_qt_test(tst_qtextdocumentfragment + SOURCES + tst_qtextdocumentfragment.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/text/qtextdocumentlayout/CMakeLists.txt b/tests/auto/gui/text/qtextdocumentlayout/CMakeLists.txt new file mode 100644 index 0000000000..c7212209ee --- /dev/null +++ b/tests/auto/gui/text/qtextdocumentlayout/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qtextdocumentlayout.pro. + +##################################################################### +## tst_qtextdocumentlayout Test: +##################################################################### + +add_qt_test(tst_qtextdocumentlayout + SOURCES + tst_qtextdocumentlayout.cpp + PUBLIC_LIBRARIES + Qt::Gui +) + +## Scopes: +##################################################################### + +extend_target(tst_qtextdocumentlayout CONDITION TARGET Qt::Widgets + PUBLIC_LIBRARIES + Qt::Widgets +) diff --git a/tests/auto/gui/text/qtextformat/CMakeLists.txt b/tests/auto/gui/text/qtextformat/CMakeLists.txt new file mode 100644 index 0000000000..5635141476 --- /dev/null +++ b/tests/auto/gui/text/qtextformat/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qtextformat.pro. + +##################################################################### +## tst_qtextformat Test: +##################################################################### + +add_qt_test(tst_qtextformat + SOURCES + tst_qtextformat.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/text/qtextlayout/CMakeLists.txt b/tests/auto/gui/text/qtextlayout/CMakeLists.txt new file mode 100644 index 0000000000..b43c009b99 --- /dev/null +++ b/tests/auto/gui/text/qtextlayout/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qtextlayout.pro. + +##################################################################### +## tst_qtextlayout Test: +##################################################################### + +add_qt_test(tst_qtextlayout + SOURCES + tst_qtextlayout.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/text/qtextlist/CMakeLists.txt b/tests/auto/gui/text/qtextlist/CMakeLists.txt new file mode 100644 index 0000000000..80e4623ce5 --- /dev/null +++ b/tests/auto/gui/text/qtextlist/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from qtextlist.pro. + +##################################################################### +## tst_qtextlist Test: +##################################################################### + +add_qt_test(tst_qtextlist + SOURCES + ../qtextdocument/common.h + tst_qtextlist.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/text/qtextmarkdownimporter/CMakeLists.txt b/tests/auto/gui/text/qtextmarkdownimporter/CMakeLists.txt new file mode 100644 index 0000000000..4e1f54a117 --- /dev/null +++ b/tests/auto/gui/text/qtextmarkdownimporter/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from qtextmarkdownimporter.pro. + +##################################################################### +## tst_qtextmarkdownimporter Test: +##################################################################### + +# Collect test data +list(APPEND test_data "data/thematicBreaks.md") +list(APPEND test_data "data/headingBulletsContinuations.md") + +add_qt_test(tst_qtextmarkdownimporter + SOURCES + tst_qtextmarkdownimporter.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + TESTDATA ${test_data} +) diff --git a/tests/auto/gui/text/qtextmarkdownwriter/CMakeLists.txt b/tests/auto/gui/text/qtextmarkdownwriter/CMakeLists.txt new file mode 100644 index 0000000000..c7695bff97 --- /dev/null +++ b/tests/auto/gui/text/qtextmarkdownwriter/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from qtextmarkdownwriter.pro. + +##################################################################### +## tst_qtextmarkdownwriter Test: +##################################################################### + +# Collect test data +list(APPEND test_data "data/example.md") +list(APPEND test_data "data/blockquotes.md") + +add_qt_test(tst_qtextmarkdownwriter + SOURCES + tst_qtextmarkdownwriter.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + TESTDATA ${test_data} +) diff --git a/tests/auto/gui/text/qtextobject/CMakeLists.txt b/tests/auto/gui/text/qtextobject/CMakeLists.txt new file mode 100644 index 0000000000..b8d7f7b548 --- /dev/null +++ b/tests/auto/gui/text/qtextobject/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qtextobject.pro. + +##################################################################### +## tst_qtextobject Test: +##################################################################### + +add_qt_test(tst_qtextobject + SOURCES + tst_qtextobject.cpp + PUBLIC_LIBRARIES + Qt::Gui +) + +## Scopes: +##################################################################### + +extend_target(tst_qtextobject CONDITION TARGET Qt::Widgets + PUBLIC_LIBRARIES + Qt::Widgets +) diff --git a/tests/auto/gui/text/qtextodfwriter/CMakeLists.txt b/tests/auto/gui/text/qtextodfwriter/CMakeLists.txt new file mode 100644 index 0000000000..f21648cfc7 --- /dev/null +++ b/tests/auto/gui/text/qtextodfwriter/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qtextodfwriter.pro. + +##################################################################### +## tst_qtextodfwriter Test: +##################################################################### + +add_qt_test(tst_qtextodfwriter + SOURCES + tst_qtextodfwriter.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/text/qtextpiecetable/CMakeLists.txt b/tests/auto/gui/text/qtextpiecetable/CMakeLists.txt new file mode 100644 index 0000000000..a1caa47e4e --- /dev/null +++ b/tests/auto/gui/text/qtextpiecetable/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from qtextpiecetable.pro. + +if(WIN32) + return() +endif() +if(NOT QT_FEATURE_private_tests) + return() +endif() + +##################################################################### +## tst_qtextpiecetable Test: +##################################################################### + +add_qt_test(tst_qtextpiecetable + SOURCES + ../qtextdocument/common.h + tst_qtextpiecetable.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qtextpiecetable.pro:<TRUE>: +# _REQUIREMENTS = "!win32" "qtConfig(private_tests)" diff --git a/tests/auto/gui/text/qtextscriptengine/CMakeLists.txt b/tests/auto/gui/text/qtextscriptengine/CMakeLists.txt new file mode 100644 index 0000000000..1a3b8cfa92 --- /dev/null +++ b/tests/auto/gui/text/qtextscriptengine/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qtextscriptengine.pro. + +##################################################################### +## tst_qtextscriptengine Test: +##################################################################### + +add_qt_test(tst_qtextscriptengine + SOURCES + tst_qtextscriptengine.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/text/qtextscriptengine/generate/CMakeLists.txt b/tests/auto/gui/text/qtextscriptengine/generate/CMakeLists.txt new file mode 100644 index 0000000000..bdda60149c --- /dev/null +++ b/tests/auto/gui/text/qtextscriptengine/generate/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from generate.pro. + +##################################################################### +## generate Binary: +##################################################################### + +add_qt_executable(generate + GUI + SOURCES + main.cpp + INCLUDE_DIRECTORIES + . + /usr/include/freetype2 + LIBRARIES + Qt::CorePrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/text/qtexttable/CMakeLists.txt b/tests/auto/gui/text/qtexttable/CMakeLists.txt new file mode 100644 index 0000000000..219a868953 --- /dev/null +++ b/tests/auto/gui/text/qtexttable/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from qtexttable.pro. + +##################################################################### +## tst_qtexttable Test: +##################################################################### + +add_qt_test(tst_qtexttable + SOURCES + tst_qtexttable.cpp + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) + +## Scopes: +##################################################################### + +extend_target(tst_qtexttable CONDITION TARGET Qt::Widgets + PUBLIC_LIBRARIES + Qt::Widgets +) diff --git a/tests/auto/gui/text/qzip/CMakeLists.txt b/tests/auto/gui/text/qzip/CMakeLists.txt new file mode 100644 index 0000000000..034e52e1fd --- /dev/null +++ b/tests/auto/gui/text/qzip/CMakeLists.txt @@ -0,0 +1,36 @@ +# Generated from qzip.pro. + +##################################################################### +## tst_qzip Test: +##################################################################### + +# Collect test data +list(APPEND test_data "testdata") + +add_qt_test(tst_qzip + SOURCES + tst_qzip.cpp + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + TESTDATA ${test_data} +) + +## Scopes: +##################################################################### + +if(ANDROID) + # Resources: + set(testdata_resource_files + "testdata/symlink.zip" + "testdata/test.zip" + ) + + add_qt_resource(tst_qzip "testdata" + PREFIX + "/" + FILES + ${testdata_resource_files} + ) +endif() diff --git a/tests/auto/gui/util/CMakeLists.txt b/tests/auto/gui/util/CMakeLists.txt new file mode 100644 index 0000000000..4e0a6b7e25 --- /dev/null +++ b/tests/auto/gui/util/CMakeLists.txt @@ -0,0 +1,13 @@ +# Generated from util.pro. + +add_subdirectory(qdesktopservices) +add_subdirectory(qdoublevalidator) +add_subdirectory(qintvalidator) +add_subdirectory(qregexpvalidator) +add_subdirectory(qregularexpressionvalidator) +add_subdirectory(qshadergenerator) +add_subdirectory(qshadergraph) +add_subdirectory(qshadergraphloader) +add_subdirectory(qshadernodes) +add_subdirectory(qshadernodesloader) +add_subdirectory(qtexturefilereader) diff --git a/tests/auto/gui/util/qdesktopservices/.prev_CMakeLists.txt b/tests/auto/gui/util/qdesktopservices/.prev_CMakeLists.txt new file mode 100644 index 0000000000..8163ec80b6 --- /dev/null +++ b/tests/auto/gui/util/qdesktopservices/.prev_CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from qdesktopservices.pro. + +##################################################################### +## tst_qdesktopservices Test: +##################################################################### + +add_qt_test(tst_qdesktopservices + SOURCES + tst_qdesktopservices.cpp + DEFINES + QT_DISABLE_DEPRECATED_BEFORE=0 + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/util/qdesktopservices/CMakeLists.txt b/tests/auto/gui/util/qdesktopservices/CMakeLists.txt new file mode 100644 index 0000000000..c62cecac30 --- /dev/null +++ b/tests/auto/gui/util/qdesktopservices/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from qdesktopservices.pro. + +##################################################################### +## tst_qdesktopservices Test: +##################################################################### + +add_qt_test(tst_qdesktopservices + SOURCES + tst_qdesktopservices.cpp + DEFINES + # QT_DISABLE_DEPRECATED_BEFORE=0 # special case + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/util/qdoublevalidator/CMakeLists.txt b/tests/auto/gui/util/qdoublevalidator/CMakeLists.txt new file mode 100644 index 0000000000..6cccd082a9 --- /dev/null +++ b/tests/auto/gui/util/qdoublevalidator/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qdoublevalidator.pro. + +##################################################################### +## tst_qdoublevalidator Test: +##################################################################### + +add_qt_test(tst_qdoublevalidator + SOURCES + tst_qdoublevalidator.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/util/qintvalidator/CMakeLists.txt b/tests/auto/gui/util/qintvalidator/CMakeLists.txt new file mode 100644 index 0000000000..69a5503d8e --- /dev/null +++ b/tests/auto/gui/util/qintvalidator/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qintvalidator.pro. + +##################################################################### +## tst_qintvalidator Test: +##################################################################### + +add_qt_test(tst_qintvalidator + SOURCES + tst_qintvalidator.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/util/qregexpvalidator/CMakeLists.txt b/tests/auto/gui/util/qregexpvalidator/CMakeLists.txt new file mode 100644 index 0000000000..4f7d7da0c2 --- /dev/null +++ b/tests/auto/gui/util/qregexpvalidator/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qregexpvalidator.pro. + +##################################################################### +## tst_qregexpvalidator Test: +##################################################################### + +add_qt_test(tst_qregexpvalidator + SOURCES + tst_qregexpvalidator.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/util/qregularexpressionvalidator/CMakeLists.txt b/tests/auto/gui/util/qregularexpressionvalidator/CMakeLists.txt new file mode 100644 index 0000000000..8633a171e5 --- /dev/null +++ b/tests/auto/gui/util/qregularexpressionvalidator/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qregularexpressionvalidator.pro. + +##################################################################### +## tst_qregularexpressionvalidator Test: +##################################################################### + +add_qt_test(tst_qregularexpressionvalidator + SOURCES + tst_qregularexpressionvalidator.cpp + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/util/qshadergenerator/CMakeLists.txt b/tests/auto/gui/util/qshadergenerator/CMakeLists.txt new file mode 100644 index 0000000000..a12cabbf84 --- /dev/null +++ b/tests/auto/gui/util/qshadergenerator/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from qshadergenerator.pro. + +##################################################################### +## tst_qshadergenerator Test: +##################################################################### + +add_qt_test(tst_qshadergenerator + SOURCES + tst_qshadergenerator.cpp + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/util/qshadergraph/CMakeLists.txt b/tests/auto/gui/util/qshadergraph/CMakeLists.txt new file mode 100644 index 0000000000..0e5eef8dd5 --- /dev/null +++ b/tests/auto/gui/util/qshadergraph/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from qshadergraph.pro. + +##################################################################### +## tst_qshadergraph Test: +##################################################################### + +add_qt_test(tst_qshadergraph + SOURCES + tst_qshadergraph.cpp + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/util/qshadergraphloader/CMakeLists.txt b/tests/auto/gui/util/qshadergraphloader/CMakeLists.txt new file mode 100644 index 0000000000..683df0029f --- /dev/null +++ b/tests/auto/gui/util/qshadergraphloader/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from qshadergraphloader.pro. + +##################################################################### +## tst_qshadergraphloader Test: +##################################################################### + +add_qt_test(tst_qshadergraphloader + SOURCES + tst_qshadergraphloader.cpp + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/util/qshadernodes/CMakeLists.txt b/tests/auto/gui/util/qshadernodes/CMakeLists.txt new file mode 100644 index 0000000000..e70c36e8f8 --- /dev/null +++ b/tests/auto/gui/util/qshadernodes/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from qshadernodes.pro. + +##################################################################### +## tst_qshadernodes Test: +##################################################################### + +add_qt_test(tst_qshadernodes + SOURCES + tst_qshadernodes.cpp + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/util/qshadernodesloader/CMakeLists.txt b/tests/auto/gui/util/qshadernodesloader/CMakeLists.txt new file mode 100644 index 0000000000..226eac25a3 --- /dev/null +++ b/tests/auto/gui/util/qshadernodesloader/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from qshadernodesloader.pro. + +##################################################################### +## tst_qshadernodesloader Test: +##################################################################### + +add_qt_test(tst_qshadernodesloader + SOURCES + tst_qshadernodesloader.cpp + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/tests/auto/gui/util/qtexturefilereader/CMakeLists.txt b/tests/auto/gui/util/qtexturefilereader/CMakeLists.txt new file mode 100644 index 0000000000..abb48884d3 --- /dev/null +++ b/tests/auto/gui/util/qtexturefilereader/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qtexturefilereader.pro. + +##################################################################### +## tst_qtexturefilereader Test: +##################################################################### + +add_qt_test(tst_qtexturefilereader + SOURCES + tst_qtexturefilereader.cpp + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) + +# Resources: +set(qtexturefilereader_resource_files + "texturefiles/car.ktx" + "texturefiles/car_mips.ktx" + "texturefiles/newlogo.astc" + "texturefiles/newlogo_srgb.astc" + "texturefiles/pattern.pkm" +) + +add_qt_resource(tst_qtexturefilereader "qtexturefilereader" + PREFIX + "/" + FILES + ${qtexturefilereader_resource_files} +) + |