Skip to content

Commit

Permalink
Build and embed translations automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
bbacskay authored and Odizinne committed Sep 14, 2024
1 parent fe8850c commit 492adf4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
8 changes: 6 additions & 2 deletions HeadsetControl-Qt.pro
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,15 @@ TRANSLATIONS += \
src/Resources/tr/HeadsetControl-Qt_en.ts

RESOURCES += \
src/Resources/resources.qrc \
src/Resources/translations.qrc
src/Resources/resources.qrc

RC_FILE = src/Resources/appicon.rc

# Build/embed translations automatically
CONFIG += lrelease
QM_FILES_RESOURCE_PREFIX=/translations/tr
CONFIG += embed_translations

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
Expand Down
Binary file removed src/Resources/tr/HeadsetControl-Qt_en.qm
Binary file not shown.
Binary file removed src/Resources/tr/HeadsetControl-Qt_fr.qm
Binary file not shown.
6 changes: 0 additions & 6 deletions src/Resources/translations.qrc

This file was deleted.

0 comments on commit 492adf4

Please sign in to comment.