mirror of https://github.com/qt/qtdatavis3d.git
Make sure qml test data is packaged as test resources
This will make sure the test data is packaged and available on device at runtime. Task-number: QTBUG-88846 Pick-to: 6.2 6.3 Change-Id: I9a62299243a784b5e3857ddd968a2abcdd3d6d54 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
This commit is contained in:
parent
ff85934152
commit
efdb022abc
|
@ -1,9 +1,15 @@
|
|||
file(GLOB_RECURSE test_data_glob
|
||||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
*)
|
||||
list(APPEND test_data ${test_data_glob})
|
||||
|
||||
qt_internal_add_test(tst_qmltest
|
||||
QMLTEST
|
||||
SOURCES
|
||||
tst_qmltest.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
TESTDATA ${test_data}
|
||||
)
|
||||
|
||||
set(qmltest_resource_files
|
||||
|
|
Loading…
Reference in New Issue