From d736e9a601e6fa03d164e741998627680aa8bf44 Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Mon, 24 Jan 2022 23:19:26 +0200 Subject: [PATCH] Fix tst_quicktestmainwithsetup on Android Include imports into the test resources because they might be needed by the test as well. Pick-to: 6.2 6.3 Task-number: QTBUG-97056 Change-Id: If2e0425bdc11024fb2f49c7fe4d6d62f6422f401 Reviewed-by: Ulf Hermann --- tests/auto/quicktest/quicktestmainwithsetup/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/auto/quicktest/quicktestmainwithsetup/CMakeLists.txt b/tests/auto/quicktest/quicktestmainwithsetup/CMakeLists.txt index c8900b38de..bca7d7fb00 100644 --- a/tests/auto/quicktest/quicktestmainwithsetup/CMakeLists.txt +++ b/tests/auto/quicktest/quicktestmainwithsetup/CMakeLists.txt @@ -10,6 +10,11 @@ file(GLOB_RECURSE test_data_glob ${CMAKE_CURRENT_SOURCE_DIR}/data/*.qml) list(APPEND test_data ${test_data_glob}) +file(GLOB_RECURSE test_imports_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/imports/*) +list(APPEND test_data ${test_imports_glob}) + qt_internal_add_test(tst_quicktestmainwithsetup QMLTEST SOURCES