Permalink
Browse files

Have configure check for QT 4.8 as a minimum

  • Loading branch information...
1 parent 4f98a09 commit 9d670e8f4a46cd18d7a52352141f99e8dd380157 @stuartm stuartm committed Nov 27, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 mythtv/configure
View
@@ -3678,15 +3678,15 @@ is_qmake5(){
}
is_qmake4(){
- $1 --version 2>&1 | egrep -q -e "Qt version 4\.[0-9]\.[0-9]"
+ $1 --version 2>&1 | egrep -q -e "Qt version 4\.[8-9]\.[0-9]"
}
if ! is_qmake5 $qmake ; then
if ! is_qmake4 $qmake; then
- is_qmake4 qmake-qt4 && qmake=qmake-qt4 || die "qmake for Qt4.6 or newer not found.\nPlease specify the correct qmake with --qmake="
+ is_qmake4 qmake-qt4 && qmake=qmake-qt4 || die "qmake for Qt4.8 or newer not found.\nPlease specify the correct qmake with --qmake="
fi
- if ! expr $($qmake -query QT_VERSION) : "4\.[6-9]\.[0-9]" >/dev/null; then
- die "Qt4.6 or newer is required to build MythTV."
+ if ! expr $($qmake -query QT_VERSION) : "4\.[8-9]\.[0-9]" >/dev/null; then
+ die "Qt4.8 or newer is required to build MythTV."
fi
else
check_cxxflags -DHAVE_QT5

0 comments on commit 9d670e8

Please sign in to comment.