summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-06-17 21:57:26 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-06-18 10:17:10 +0000
commit4e3a8ad1cda4eba70ae3135b2afba17fbae99c48 (patch)
tree428f71c1e1d9ba161a762e9b02acce51e57fcafa /tests
parent37169965329583fb6c48752bc10eb022a2d4b28b (diff)
qt6_add_translations: Fix glitch in QM_FILES_OUTPUT_VARIABLE
That variable only worked if the passed variable name was 'qm_files'. This amends 1197f8e5467b6785ba3d6accb68cb4410356c373. Change-Id: Ic51d0b84a453151885f090e5b31c17af77113a06 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 305b2fbbd824ec9a9e4b77490a93d8864b42a6dc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/cmake/test_translation_api/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/cmake/test_translation_api/CMakeLists.txt b/tests/auto/cmake/test_translation_api/CMakeLists.txt
index 0eed093ad..3c0f4f968 100644
--- a/tests/auto/cmake/test_translation_api/CMakeLists.txt
+++ b/tests/auto/cmake/test_translation_api/CMakeLists.txt
@@ -79,11 +79,11 @@ qt6_add_lupdate(app3
qt6_add_lrelease(app3
TS_FILES myobject_no.ts myobject_fi.ts
OPTIONS -compress
- QM_FILES_OUTPUT_VARIABLE qm_files)
+ QM_FILES_OUTPUT_VARIABLE qm_files2)
expect_target(app3_lupdate)
expect_target(app3_lrelease)
expect_target(release_translations)
-expect_files_in_list(qm_files myobject_no.qm myobject_fi.qm)
+expect_files_in_list(qm_files2 myobject_no.qm myobject_fi.qm)
# Now do the same with qt6_add_translations.
create_app(app4)