[qt] if qmake isn't available, try qmake-qt5 (#5658)
This commit is contained in:
committed by
Bruno de Oliveira Abinader
parent
86cebd4cca
commit
63298066b1
@@ -38,7 +38,12 @@ fi
|
||||
function print_qt_flags {
|
||||
mason install Qt system
|
||||
|
||||
QT_VERSION_MAJOR=$(qmake -query QT_VERSION | cut -d. -f1)
|
||||
QMAKE="qmake"
|
||||
if [ ! $(which ${QMAKE} 2>/dev/null) ]; then
|
||||
QMAKE="qmake-qt5"
|
||||
fi
|
||||
|
||||
QT_VERSION_MAJOR=$(${QMAKE} -query QT_VERSION | cut -d. -f1)
|
||||
CONFIG+=" 'qt_version_major%': ['${QT_VERSION_MAJOR}'],"$LN
|
||||
CONFIG+=" 'qt_image_decoders%': [0],"$LN
|
||||
|
||||
|
||||
Reference in New Issue
Block a user