fix: Using Qt linguist tool in CI (#210)

* fix: Path to qt tools
* fix: Change TS dir variable for compatibility with Qt6.8
This commit is contained in:
Petr Mironychev
2025-07-04 01:11:51 +02:00
committed by GitHub
parent 0bdf77f38d
commit ff027b12af
2 changed files with 3 additions and 2 deletions

View File

@ -129,8 +129,9 @@ if (QtCreatorExecutable)
set_target_properties(RunQtCreator PROPERTIES FOLDER "qtc_runnable")
endif()
#TODO change to TS_OUTPUT_DIRECTORY after removing Qt6.8
qt_add_translations(TARGETS QodeAssist
TS_OUTPUT_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/resources/translations
TS_FILE_DIR ${CMAKE_CURRENT_LIST_DIR}/resources/translations
RESOURCE_PREFIX "/translations"
LUPDATE_OPTIONS -no-obsolete
)