Fix missing prefix for test data on android

Add missing required resource prefix to add_qt_resource() call when
embedding test data as a resource.

Change-Id: I9130f9ae863daae80221a1475b077b1d2e501f6d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Leander Beernaert 2019-08-22 15:28:30 +02:00
parent 7a1853dbe2
commit 24bdc6e156

View File

@ -2270,6 +2270,7 @@ function(add_qt_test name)
if (builtin_files)
add_qt_resource(${name} "testdata"
PREFIX "/"
FILES ${builtin_files}
BASE ${CMAKE_CURRENT_SOURCE_DIR})
endif()