diff options
Diffstat (limited to 'tests/auto/gui/image')
-rw-r--r-- | tests/auto/gui/image/qimage/CMakeLists.txt | 5 | ||||
-rw-r--r-- | tests/auto/gui/image/qimagereader/CMakeLists.txt | 5 | ||||
-rw-r--r-- | tests/auto/gui/image/qpixmap/CMakeLists.txt | 8 | ||||
-rw-r--r-- | tests/auto/gui/image/qpixmapcache/CMakeLists.txt | 3 |
4 files changed, 8 insertions, 13 deletions
diff --git a/tests/auto/gui/image/qimage/CMakeLists.txt b/tests/auto/gui/image/qimage/CMakeLists.txt index 6951f9a703..865f1124b9 100644 --- a/tests/auto/gui/image/qimage/CMakeLists.txt +++ b/tests/auto/gui/image/qimage/CMakeLists.txt @@ -13,11 +13,10 @@ list(APPEND test_data ${test_data_glob}) add_qt_test(tst_qimage SOURCES tst_qimage.cpp - LIBRARIES - Qt::CorePrivate - Qt::GuiPrivate PUBLIC_LIBRARIES + Qt::CorePrivate Qt::Gui + Qt::GuiPrivate TESTDATA ${test_data} ) diff --git a/tests/auto/gui/image/qimagereader/CMakeLists.txt b/tests/auto/gui/image/qimagereader/CMakeLists.txt index 93bf709c20..8a96fa18cf 100644 --- a/tests/auto/gui/image/qimagereader/CMakeLists.txt +++ b/tests/auto/gui/image/qimagereader/CMakeLists.txt @@ -17,11 +17,10 @@ list(APPEND test_data ${test_data_glob}) add_qt_test(tst_qimagereader SOURCES tst_qimagereader.cpp - LIBRARIES - Qt::CorePrivate - Qt::GuiPrivate PUBLIC_LIBRARIES + Qt::CorePrivate Qt::Gui + Qt::GuiPrivate Qt::Network TESTDATA ${test_data} ) diff --git a/tests/auto/gui/image/qpixmap/CMakeLists.txt b/tests/auto/gui/image/qpixmap/CMakeLists.txt index 32c60e95c3..f6a83aa0da 100644 --- a/tests/auto/gui/image/qpixmap/CMakeLists.txt +++ b/tests/auto/gui/image/qpixmap/CMakeLists.txt @@ -25,11 +25,10 @@ list(APPEND test_data ${test_data_glob}) add_qt_test(tst_qpixmap SOURCES tst_qpixmap.cpp - LIBRARIES - Qt::CorePrivate - Qt::GuiPrivate PUBLIC_LIBRARIES + Qt::CorePrivate Qt::Gui + Qt::GuiPrivate TESTDATA ${test_data} ) @@ -96,10 +95,9 @@ add_qt_resource(tst_qpixmap "qpixmap" ##################################################################### extend_target(tst_qpixmap CONDITION TARGET Qt::Widgets - LIBRARIES - Qt::WidgetsPrivate PUBLIC_LIBRARIES Qt::Widgets + Qt::WidgetsPrivate ) extend_target(tst_qpixmap CONDITION WIN32 AND NOT WINRT diff --git a/tests/auto/gui/image/qpixmapcache/CMakeLists.txt b/tests/auto/gui/image/qpixmapcache/CMakeLists.txt index 584e77c986..ef73f60ca6 100644 --- a/tests/auto/gui/image/qpixmapcache/CMakeLists.txt +++ b/tests/auto/gui/image/qpixmapcache/CMakeLists.txt @@ -7,8 +7,7 @@ add_qt_test(tst_qpixmapcache SOURCES tst_qpixmapcache.cpp - LIBRARIES - Qt::GuiPrivate PUBLIC_LIBRARIES Qt::Gui + Qt::GuiPrivate ) |