Do not use quick compiler with embedded test data
Prevent the quick compiler running on embedded test data for platforms such as Android. This breaks certain assumptions about the test setup otherwise. Change-Id: I1026da3e16552256623de26b843ea32ed2c4260e Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
bf298499a0
commit
753e7c1061
@ -2337,6 +2337,13 @@ function(add_qt_test name)
|
||||
|
||||
list(REMOVE_DUPLICATES builtin_files)
|
||||
|
||||
# Skip Qt quick compiler when embedding test resources
|
||||
foreach(file IN LISTS builtin_files)
|
||||
set_source_files_properties(${file}
|
||||
PROPERTIES QT_SKIP_QUICKCOMPILER TRUE
|
||||
)
|
||||
endforeach()
|
||||
|
||||
if (builtin_files)
|
||||
add_qt_resource(${name} "testdata"
|
||||
PREFIX "/"
|
||||
|
Loading…
Reference in New Issue
Block a user