aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/translations/build-translations.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/translations/build-translations.sh b/utils/translations/build-translations.sh
index 1217dca0a..1a2aa4492 100755
--- a/utils/translations/build-translations.sh
+++ b/utils/translations/build-translations.sh
@@ -7,6 +7,10 @@ then
fi
if test -z "$lrelease"
then
+ lrelease=`which lrelease-qt5 2> /dev/null`
+fi
+if test -z "$lrelease"
+then
echo "lrelease not found"
exit 1
fi