|
a/src/configure.ac |
|
b/src/configure.ac |
|
... |
|
... |
408 |
qmakevers="`${QMAKE} --version 2>&1`"
|
408 |
qmakevers="`${QMAKE} --version 2>&1`"
|
409 |
#echo "qmake version: $qmakevers"
|
409 |
#echo "qmake version: $qmakevers"
|
410 |
v4=`expr "$qmakevers" : '.*Qt[ ][ ]*version[ ][ ]*4.*'`
|
410 |
v4=`expr "$qmakevers" : '.*Qt[ ][ ]*version[ ][ ]*4.*'`
|
411 |
v5=`expr "$qmakevers" : '.*Qt[ ][ ]*version[ ][ ]*5.*'`
|
411 |
v5=`expr "$qmakevers" : '.*Qt[ ][ ]*version[ ][ ]*5.*'`
|
412 |
if test X$v4 = X0 -a X$v5 = X0; then
|
412 |
if test X$v4 = X0 -a X$v5 = X0; then
|
413 |
AC_MSG_ERROR([qmake seems to be using Qt version 3 which is not supported any more])
|
413 |
AC_MSG_ERROR([Bad qt/qmake version string (not 4 or 5?): $qmakevers])
|
414 |
else
|
414 |
else
|
415 |
if test X$v4 != X0 ; then
|
415 |
if test X$v4 != X0 ; then
|
416 |
AC_MSG_NOTICE([using qt version 4 user interface])
|
416 |
AC_MSG_NOTICE([using qt version 4 user interface])
|
417 |
else
|
417 |
else
|
418 |
AC_MSG_NOTICE([using qt version 5 user interface])
|
418 |
AC_MSG_NOTICE([using qt version 5 user interface])
|