Skip to content

Commit

Permalink
Try to use qmake-qt4 in preference to qmake-qt5
Browse files Browse the repository at this point in the history
  • Loading branch information
stuarta committed Mar 4, 2015
1 parent 6b550fc commit f1115fc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions mythplugins/configure
Original file line number Diff line number Diff line change
Expand Up @@ -561,14 +561,14 @@ OPENGLV=$(cat mythconfig.mak | grep -e "^CONFIG_OPENGL_VIDEO=yes")
EXTRALIBS=$(cat mythconfig.mak | grep -e "^EXTRALIBS=")
EXTRALIBS=${EXTRALIBS#EXTRALIBS=}

if is_qmake5 $qmake || is_qmake5 qmake-qt5; then
if is_qmake5 qmake-qt5; then
qmake=qmake-qt5
fi
elif is_qmake4 $qmake || is_qmake4 qmake-qt4; then
if is_qmake4 $qmake || is_qmake4 qmake-qt4; then
if is_qmake4 qmake-qt4; then
qmake=qmake-qt4
fi
elif is_qmake5 $qmake || is_qmake5 qmake-qt5; then
if is_qmake5 qmake-qt5; then
qmake=qmake-qt5
fi
else
die "qmake for Qt4.8 or newer not found.\nPlease specify the correct qmake with --qmake="
fi
Expand Down
10 changes: 5 additions & 5 deletions mythtv/configure
Original file line number Diff line number Diff line change
Expand Up @@ -4468,15 +4468,15 @@ is_qmake4(){
$1 --version 2>&1 | egrep -q -e "Qt version 4\.[8-9]\.[0-9]"
}

if is_qmake5 $qmake || is_qmake5 qmake-qt5; then
if is_qmake4 $qmake || is_qmake4 qmake-qt4; then
if is_qmake4 qmake-qt4; then
qmake=qmake-qt4
fi
elif is_qmake5 $qmake || is_qmake5 qmake-qt5; then
if is_qmake5 qmake-qt5; then
qmake=qmake-qt5
fi
check_cxxflags -DQT_DISABLE_DEPRECATED_BEFORE
elif is_qmake4 $qmake || is_qmake4 qmake-qt4; then
if is_qmake4 qmake-qt4; then
qmake=qmake-qt4
fi
else
die "qmake for Qt4.8 or newer not found.\nPlease specify the correct qmake with --qmake="
fi
Expand Down

0 comments on commit f1115fc

Please sign in to comment.