fix choosing qt

master
Marc Wäckerlin 10 years ago
parent 04bf6ce21a
commit 0457e14e16
  1. 4
      configure.ac

@ -22,8 +22,8 @@ AC_CONFIG_FILES(makefile src/makefile debian/changelog debian/control)
AC_PROG_CXX AC_PROG_CXX
AC_PROG_CC AC_PROG_CC
AC_CHECK_PROG([QMAKE], [qmake-qt4], [qmake-qt4]) AC_CHECK_PROG([QMAKE], [qmake-qt5], [qmake-qt5])
AC_CHECK_PROG([QMAKE], [qtchooser], [qtchooser -run-tool=qmake -qt=4]) AC_CHECK_PROG([QMAKE], [qtchooser], [qtchooser -run-tool=qmake -qt=5])
AC_CHECK_PROG([QMAKE], [qmake], [qmake]) AC_CHECK_PROG([QMAKE], [qmake], [qmake])
if test -z "${QMAKE}"; then if test -z "${QMAKE}"; then
AC_MSG_ERROR([cannot find a qmake command]) AC_MSG_ERROR([cannot find a qmake command])

Loading…
Cancel
Save