mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Simplier way to get QT_VERSION
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
cef6dff762
commit
aa96aa3ac3
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ fi
|
||||||
# QtPositioning headers aren't bundled. Download them if necessary.
|
# QtPositioning headers aren't bundled. Download them if necessary.
|
||||||
if [ $PLATFORM = Linux ] ; then
|
if [ $PLATFORM = Linux ] ; then
|
||||||
QT_HEADERS_PATH=`$QMAKE -query QT_INSTALL_HEADERS`
|
QT_HEADERS_PATH=`$QMAKE -query QT_INSTALL_HEADERS`
|
||||||
QT_VERSION=`$QMAKE -v | grep "Qt" | cut -d" " -f4`
|
QT_VERSION=`$QMAKE -query QT_VERSION`
|
||||||
|
|
||||||
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
|
[ ! -d $INSTALL_ROOT/include/QtLocation/private ] ; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue