# HG changeset patch # User Markus Mützel # Date 1711716963 -3600 # Node ID 414e3f55659461fc5d57b2fc8b50d8845ab030be # Parent 2f9d66cb522c270c29d247724b737d980dd5513a gnuplot: Adapt patch for newer versions of Qt6. * src/gnuplot-3-qt6-native.patch: In newer versions of Qt6, the Qt6Widgets module is no longer pulled in as a dependency by the other used modules. Add Qt6Widgets explicitly to the list of required modules. diff -r 2f9d66cb522c -r 414e3f556594 src/gnuplot-3-qt6-native.patch --- a/src/gnuplot-3-qt6-native.patch Fri Mar 29 12:22:59 2024 +0100 +++ b/src/gnuplot-3-qt6-native.patch Fri Mar 29 13:56:03 2024 +0100 @@ -16,6 +16,10 @@ ./configure --with-qt=qt4 is still accepted but I no longer have the Qt4 libraries installed to confirm that it works. + + +Adapted by MXE Octave for newer versions of Qt6 which seem to have +a different dependency between modules. --- configure.ac | 53 ++++++++++++++++++++++---------- src/qtterminal/qt_conversion.cpp | 9 ++++++ @@ -43,7 +47,7 @@ if test "x${with_qt}" != "xqt4"; then - PKG_CHECK_MODULES_NOFAIL(QT, [Qt5Core Qt5Gui Qt5Network Qt5Svg Qt5PrintSupport]) + AC_MSG_CHECKING([Checking for Qt6 support libraries]) -+ PKG_CHECK_MODULES_NOFAIL(QT, [Qt6Core Qt6Gui Qt6Network Qt6Svg Qt6PrintSupport Qt6Core5Compat]) ++ PKG_CHECK_MODULES_NOFAIL(QT, [Qt6Core Qt6Gui Qt6Network Qt6Svg Qt6Widgets Qt6PrintSupport Qt6Core5Compat]) if test $pkg_failed = no; then - try_qt4=no - QT5LOC=`$PKG_CONFIG --variable=host_bins Qt5Core`