1 # Try to configure the Qt-client (gui-qt)
4 dnl Test for Qt and needed libraries for gui-qt
6 AC_DEFUN([FC_QT_CLIENT],
8 if test "x$gui_qt" = "xyes" || test "x$client" = "xall" ||
9 test "x$client" = "xauto" ; then
11 if test "x$cxx_works" = "xyes" ; then
15 if test x$fc_qt5_usable = xtrue ; then
16 gui_qt_cppflags=$FC_QT5_CPPFLAGS
17 gui_qt_cxxflags=$FC_QT5_CXXFLAGS
18 gui_qt_libs=$FC_QT5_LIBS
20 qt_fail_reason="Missing Qt5 development files"
24 qt_fail_reason="C++ compiler does not work"
27 if test "x$fc_qt5_usable" = "xtrue" ; then
29 if test "x$client" = "xauto" ; then
32 elif test "x$gui_qt" = "xyes" ; then
33 AC_MSG_ERROR([selected client 'qt' cannot be built: $qt_fail_reason])