Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate .qm files during build #1303

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ moc_*.cpp
ui_*.h
moc_predefs.h
src/res/qrc_resources.cpp
src/res/translation/*.qm
windows/ASIOSDK2
windows/VC_redist.x64.exe
windows/vc_redist.x86.exe
Expand Down
8 changes: 6 additions & 2 deletions Jamulus.pro
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ contains(VERSION, .*dev.*) {

CONFIG += qt \
thread \
lrelease \
release

QT += network \
Expand All @@ -36,7 +35,6 @@ contains(CONFIG, "headless") {
QT += widgets
}

LRELEASE_DIR = src/res/translation
TRANSLATIONS = src/res/translation/translation_de_DE.ts \
src/res/translation/translation_fr_FR.ts \
src/res/translation/translation_pt_PT.ts \
Expand All @@ -48,6 +46,12 @@ TRANSLATIONS = src/res/translation/translation_de_DE.ts \
src/res/translation/translation_it_IT.ts \
src/res/translation/translation_sv_SE.ts

lrelease.output = src/res/translation/${QMAKE_FILE_BASE}.qm
lrelease.commands = lrelease ${QMAKE_FILE_NAME}
lrelease.input = TRANSLATIONS
lrelease.CONFIG = no_link target_predeps
QMAKE_EXTRA_COMPILERS += lrelease

INCLUDEPATH += src

INCLUDEPATH_OPUS = libs/opus/include \
Expand Down
Binary file removed src/res/translation/translation_de_DE.qm
Binary file not shown.
Binary file removed src/res/translation/translation_es_ES.qm
Binary file not shown.
Binary file removed src/res/translation/translation_fr_FR.qm
Binary file not shown.
Binary file removed src/res/translation/translation_it_IT.qm
Binary file not shown.
Binary file removed src/res/translation/translation_nl_NL.qm
Binary file not shown.
Binary file removed src/res/translation/translation_pl_PL.qm
Binary file not shown.
Binary file removed src/res/translation/translation_pt_BR.qm
Binary file not shown.
Binary file removed src/res/translation/translation_pt_PT.qm
Binary file not shown.
Binary file removed src/res/translation/translation_sk_SK.qm
Binary file not shown.
Binary file removed src/res/translation/translation_sv_SE.qm
Binary file not shown.