From 4949768067cfc8a16c0cef958928e94147842bb8 Mon Sep 17 00:00:00 2001 From: Jari Helaakoski Date: Wed, 24 Apr 2024 14:40:49 +0300 Subject: Fix test compilation issues with QtLite configuration Now developer build tests compile, but some are not working. Functional fix will come later via separate tasks. Task-number: QTBUG-122999 Change-Id: I0a0dfcf7affb73f928b8be62b3576a6a51658488 Reviewed-by: Ulf Hermann --- tests/auto/quick/qquickpixmapcache/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/auto/quick') diff --git a/tests/auto/quick/qquickpixmapcache/CMakeLists.txt b/tests/auto/quick/qquickpixmapcache/CMakeLists.txt index 1e1d35a8af..97735172f2 100644 --- a/tests/auto/quick/qquickpixmapcache/CMakeLists.txt +++ b/tests/auto/quick/qquickpixmapcache/CMakeLists.txt @@ -24,7 +24,6 @@ qt_internal_add_test(tst_qquickpixmapcache tst_qquickpixmapcache.cpp deviceloadingimage.h deviceloadingimage.cpp LIBRARIES - Qt::Concurrent Qt::CorePrivate Qt::Gui Qt::GuiPrivate @@ -48,6 +47,11 @@ qt_internal_extend_target(tst_qquickpixmapcache CONDITION NOT ANDROID AND NOT IO QT_QMLTEST_DATADIR="${CMAKE_CURRENT_SOURCE_DIR}/data" ) +qt_internal_extend_target(tst_qquickpixmapcache CONDITION QT_FEATURE_concurrent + LIBRARIES + Qt::Concurrent +) + qt_policy(SET QTP0001 NEW) qt_add_qml_module(tst_qquickpixmapcache URI PixmapCacheTest -- cgit v1.2.3