From 2a612b549b90ecdedcb7763fa13404b3c76e4114 Mon Sep 17 00:00:00 2001 From: don bright Date: Thu, 20 Dec 2012 13:01:30 -0800 Subject: improve qt version detection diff --git a/scripts/check-dependencies.sh b/scripts/check-dependencies.sh index 2032412..0c69124 100755 --- a/scripts/check-dependencies.sh +++ b/scripts/check-dependencies.sh @@ -104,6 +104,9 @@ gmp_sysver() qt4_sysver() { qt4path=$1/include/qt4/QtCore/qglobal.h + if [ ! -e $qt4path ]; then + qt4path=$1/include/QtCore/qglobal.h + fi if [ ! -e $qt4path ]; then return; fi qt4ver=`grep 'define *QT_VERSION_STR *' $qt4path | awk '{print $3}'` qt4ver=`echo $qt4ver | sed s/'"'//g` -- cgit v0.10.1