Correct incorrect variable qt_version instead of QT_VERSION in build.sh

Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
Stefan Fuchs 2017-09-16 10:49:35 +02:00 committed by Dirk Hohndel
parent 19df57d7d3
commit dc0f011920

View file

@ -141,9 +141,9 @@ if [ $PLATFORM = Linux ] ; then
QT_HEADERS_PATH=`$QMAKE -query QT_INSTALL_HEADERS`
QT_VERSION=`$QMAKE -v | grep "Qt" | cut -d" " -f4`
if [ ! -d "$QT_HEADERS_PATH/QtLocation/$qt_version/QtLocation/private" ] &&
if [ ! -d "$QT_HEADERS_PATH/QtLocation/$QT_VERSION/QtLocation/private" ] &&
[ ! -d $INSTALL_ROOT/include/QtLocation/private ] ; then
echo "Missing private Qt headers for $qt_version; downloading them..."
echo "Missing private Qt headers for $QT_VERSION; downloading them..."
QTLOC_GIT=./qtlocation_git
QTLOC_PRIVATE=$INSTALL_ROOT/include/QtLocation/private