diff options
Diffstat (limited to 'tests/auto/qml/qqmltranslation/CMakeLists.txt')
-rw-r--r-- | tests/auto/qml/qqmltranslation/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmltranslation/CMakeLists.txt b/tests/auto/qml/qqmltranslation/CMakeLists.txt index f685e07d9a..396eed518e 100644 --- a/tests/auto/qml/qqmltranslation/CMakeLists.txt +++ b/tests/auto/qml/qqmltranslation/CMakeLists.txt @@ -37,6 +37,13 @@ set_source_files_properties( ) # special case end +# On platforms where TESTDATA is embedded into resources (Android, iOS and +# INTEGRITY), the QT_RESOURCE_ALIAS property was previously set when processing +# TESTDATA, so we need to reset it. Otherwise the wrong alias will be written +# to introspect.qrc, and the related test will fail. +set_source_files_properties(${translation_resource_files} PROPERTIES + QT_RESOURCE_ALIAS "NOTFOUND") + qt_internal_add_resource(tst_qqmltranslation "translation" PREFIX "/" |