mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
fix: ensure qt_add_translations works for all Qt6 versions
This commit is contained in:
parent
34832d2abb
commit
a8de54eac9
|
@ -216,9 +216,7 @@ endif ()
|
||||||
|
|
||||||
qt_add_translations(${GOLDENDICT} TS_FILES ${TRANS_FILES}
|
qt_add_translations(${GOLDENDICT} TS_FILES ${TRANS_FILES}
|
||||||
QM_FILES_OUTPUT_VARIABLE qm_files)
|
QM_FILES_OUTPUT_VARIABLE qm_files)
|
||||||
if (WIN32) # TODO: check other OS
|
add_dependencies(${GOLDENDICT} "release_translations")
|
||||||
add_dependencies(${GOLDENDICT} "goldendict-ng_lrelease")
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
#### installation or assemble redistribution
|
#### installation or assemble redistribution
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue