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>bb10
parent
7a1853dbe2
commit
24bdc6e156
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue