Error out in configure script if the proper Qt/qmake version isn't found.

Closes #7250.
Partially reverts e64bb1de8c.
This commit is contained in:
sledgehammer999
2017-08-13 20:29:53 +03:00
parent 8d913d77dd
commit e2893fe68f
2 changed files with 20 additions and 1 deletions

View File

@@ -116,6 +116,9 @@ AS_CASE(["x$enable_webui"],
AC_MSG_ERROR([Unknown option "$enable_webui". Use either "yes" or "no".])])
FIND_QT5()
AS_IF([test "x$QT_QMAKE" = "x"],
[AC_MSG_ERROR([Could not find qmake])
])
AC_MSG_CHECKING([whether QtDBus should be enabled])
AS_CASE(["x$enable_qt_dbus"],
["xyes"],