update translation tooling to work with Qt6

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2024-01-26 09:49:15 -08:00
parent 62cc7ad69b
commit 4a156d63cd
2 changed files with 9 additions and 4 deletions

View file

@ -33,7 +33,7 @@ chmod 000 mobile-widgets/3rdparty
rm translations/subsurface_source.ts
# enable creating the translation strings
sed -i.bak 's/# qt5_create_translation/ qt5_create_translation/ ; s/# add_custom_target(translations_update/ add_custom_target(translations_update/' translations/CMakeLists.txt
sed -i.bak 's/#!#//' translations/CMakeLists.txt
popd