On Fedora, qmake is qmake-qt5

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-08-26 15:12:43 -07:00
parent 2d405a1ebb
commit c465ec586c

View file

@ -136,7 +136,9 @@ echo Building in $SRC, installing in $INSTALL_ROOT
if [ ! -z $CMAKE_PREFIX_PATH ] ; then
QMAKE=$CMAKE_PREFIX_PATH/../../bin/qmake
else
QMAKE=qmake
hash qmake > /dev/null && QMAKE=qmake
[ -z $QMAKE ] && hash qmake-qt5 > /dev/null && QMAKE=qmake-qt5
[ -z $QMAKE ] && echo "cannot find qmake" && exit 1
fi
# on Debian and Ubuntu based systems, the private QtLocation and