diff --git a/configure.in b/configure.in index a4a2ec2..01e4120 100644 --- a/configure.in +++ b/configure.in @@ -94,7 +94,7 @@ AC_CHECK_PROG(have_dot, dot, yes, no) PKG_PROG_PKG_CONFIG # libraries -PKG_CHECK_MODULES([QT_GUI], [QtCore QtGui QtWidgets], +PKG_CHECK_MODULES([QT_GUI], [QtCore QtGui], [AC_DEFINE([HAVE_QTGUI], [1], [Use QtGui])], [PKG_CHECK_MODULES([QT_GUI], [Qt5Core Qt5Gui Qt5Widgets])]) PKG_CHECK_MODULES([QT_NETWORK], [QtNetwork],