Skip to content

Commit

Permalink
use automatic lrelease operation on Qt 5.12 and up
Browse files Browse the repository at this point in the history
users of older releases either must manually run…

	(cd src/res/translation && lrelease *.ts)

… before the build or use precompiled *.qm files
  • Loading branch information
mirabilos committed Dec 29, 2020
1 parent 26e7c2c commit 32fc05d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions Jamulus.pro
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ contains(CONFIG, "noupcasename") {

CONFIG += qt \
thread \
lrelease \
release

QT += network \
Expand All @@ -21,6 +22,7 @@ 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 Down Expand Up @@ -651,16 +653,6 @@ DISTFILES += ChangeLog \
README.md \
distributions/jamulus.desktop.in \
distributions/jamulus.png \
src/res/translation/translation_de_DE.qm \
src/res/translation/translation_fr_FR.qm \
src/res/translation/translation_pt_PT.qm \
src/res/translation/translation_pt_BR.qm \
src/res/translation/translation_es_ES.qm \
src/res/translation/translation_nl_NL.qm \
src/res/translation/translation_pl_PL.qm \
src/res/translation/translation_it_IT.qm \
src/res/translation/translation_sv_SE.qm \
src/res/translation/translation_sk_SK.qm \
src/res/CLEDBlack.png \
src/res/CLEDBlackSmall.png \
src/res/CLEDDisabledSmall.png \
Expand Down

0 comments on commit 32fc05d

Please sign in to comment.