Use of correct lrelease tool

This commit is contained in:
Gres 2015-12-26 14:36:16 +03:00
parent ab1af32fa8
commit d1f930ff57
2 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,7 @@ cleanupDirInNeeded $APP_DIR
cd $APP_DIR
echo "Building app"
lrelease $QT_CHOOSER $SRC_DIR/ScreenTranslator.pro
$QT_LRELEASE $QT_CHOOSER $SRC_DIR/ScreenTranslator.pro
$QMAKE $QT_CHOOSER "CONFIG-=debug_and_release" "CONFIG+=release" $SRC_DIR
make $JOBS

View File

@ -7,6 +7,7 @@ CLEAN=false
JOBS=""
QT_CHOOSER="-qt=qt5"
QMAKE=qmake
QT_LRELEASE=lrelease
QT_LIB_DIR=/usr/lib/x86_64-linux-gnu
STRIP=strip
@ -17,6 +18,7 @@ for arg in ${@}; do
"clean" ) CLEAN=true;;
"-j"* ) JOBS=$arg;;
*"qmake" ) QMAKE=$arg
QT_LRELEASE=`readlink -e $(dirname $arg)/lrelease`
QT_LIB_DIR=`readlink -e $(dirname $arg)/../lib`
QT_CHOOSER=""
;;