From 8cfb777fe10db8b021a94a68e67ff1ba4202a72e Mon Sep 17 00:00:00 2001 From: Andre Rummler Date: Tue, 11 Aug 2026 09:42:58 +0200 Subject: [PATCH] Fixing the translation installation for Qt5. Messed up the order of two lines. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2bf51eff0..c06144721 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -162,8 +162,8 @@ if(QT_VERSION_MAJOR EQUAL 6) COMMENT "Updating .ts files from sources/ (lupdate) - developer target, run explicitly" ) else() - qt5_add_translation(QM_FILES ${TS_FILES}) set_source_files_properties(${TS_FILES} PROPERTIES OUTPUT_LOCATION "${QET_DIR}/lang") + qt5_add_translation(QM_FILES ${TS_FILES}) add_custom_target(update_translations COMMAND $ ${CMAKE_SOURCE_DIR}/sources -ts ${TS_FILES} WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}