1if test x"$have_qt6" != xyes -a x"$have_qt5" != xyes; then 2 AC_MSG_ERROR([The Qt library is required for building MKVToolNix.]) 3fi 4 5if test x"$enable_gui" = xyes; then 6 BUILD_GUI=yes 7 8 if test x"$have_qt6" = "xyes" ; then 9 opt_features_yes="$opt_features_yes\n * MKVToolNix GUI (with Qt 6)" 10 else 11 opt_features_yes="$opt_features_yes\n * MKVToolNix GUI (with Qt 5)" 12 fi 13 14else 15 BUILD_GUI=no 16 17 opt_features_no="$opt_features_no\n * MKVToolNix GUI" 18fi 19 20AC_SUBST(QT_CFLAGS) 21AC_SUBST(QT_LIBS) 22AC_SUBST(QT_LIBS_NON_GUI) 23AC_SUBST(BUILD_GUI) 24