Skip to content

Commit

Permalink
Drop translate.sh support for QT 4
Browse files Browse the repository at this point in the history
  • Loading branch information
kiilerix committed Feb 2, 2021
1 parent 2b412d9 commit 05f906e
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions translate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,12 @@ LRELEASE_BIN=$(which lrelease)
if [ -n "$QTDIR" ]; then
LRELEASE_BIN=$QTDIR/bin/lrelease
else
# if lrelease is not available, try with lrelease-qt4
# if lrelease is not available, try with lrelease-qt5
if [ -z "$LRELEASE_BIN" ]; then
LRELEASE_BIN=$(which lrelease-qt4)

# if lrelease-qt4 is not available, try with lrelease-qt5
LRELEASE_BIN=$(which lrelease-qt5)
if [ -z "$LRELEASE_BIN" ]; then
LRELEASE_BIN=$(which lrelease-qt5)
if [ -z "$LRELEASE_BIN" ]; then
echo "lrelease, lrelease-qt4 and lrelease-qt5 are not present in this system ! Aborting."
exit
fi
echo "lrelease and lrelease-qt5 are not present in this system! Aborting."
exit
fi
fi
fi
Expand Down

0 comments on commit 05f906e

Please sign in to comment.