Skip to content

Commit 7abfa57

Browse files
joborQt Cherry-pick Bot
authored andcommitted
CMake: Remove warning about missing .ts file from qt_add_lrelease
Remove the warning "Translation file foo.ts does not exist", because directly after the call we're creating an initial version of the file. Change-Id: I62bd71c559343bec039607dd79ebd6e34c9d408a Reviewed-by: Alexey Edelev <[email protected]> Reviewed-by: Alexandru Croitor <[email protected]> (cherry picked from commit a713c0a) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
1 parent 8248c9d commit 7abfa57

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/linguist/Qt6LinguistToolsMacros.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -456,9 +456,6 @@ function(qt6_add_lrelease)
456456
set(qm_files "")
457457
foreach(ts_file ${ts_files})
458458
if(NOT EXISTS "${ts_file}")
459-
message(WARNING "Translation file '${ts_file}' does not exist. "
460-
"Consider building the target 'update_translations' to create an initial "
461-
"version of that file.")
462459
_qt_internal_ensure_ts_file(TS_FILE "${ts_file}")
463460
endif()
464461

0 commit comments

Comments
 (0)