Skip to content

Commit

Permalink
translate: allow to force a specific Qt version
Browse files Browse the repository at this point in the history
  • Loading branch information
mcallegari committed Sep 26, 2015
1 parent 43884d3 commit 8decbcd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion translate.sh
Expand Up @@ -3,7 +3,12 @@
# Translated languages (update these also to qlcplus.pro)
languages="de_DE es_ES fr_FR it_IT nl_NL cz_CZ pt_BR ca_ES ja_JP"

LRELEASE_BIN=`which lrelease`
if [ -n "$1" ]; then
echo "Forcing the use of lrelease-$1"
LRELEASE_BIN=`which lrelease-$1`
else
LRELEASE_BIN=`which lrelease`
fi

# if QTDIR has been defined, use those tools right away
if [ -n "$QTDIR" ]; then
Expand Down

0 comments on commit 8decbcd

Please sign in to comment.