changeset 33443:f428a432ed4f stable

build: Require Qt Widgets module when building the GUI (bug #65625). * m4/acinclude.m4 (OCTAVE_CHECK_QT_VERSION): According to the Qt documentation, using the QApplication class requires the Qt Widgets module (for Qt5 and Qt6). Add it to the list of required Qt modules in the configure script.
author Markus Mützel <markus.muetzel@gmx.de>
date Mon, 22 Apr 2024 17:28:23 +0200
parents c896de3fa9da
children f57b492b5527 f86b8eb0c654
files m4/acinclude.m4
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/m4/acinclude.m4	Mon Apr 22 16:34:43 2024 +0200
+++ b/m4/acinclude.m4	Mon Apr 22 17:28:23 2024 +0200
@@ -2056,10 +2056,10 @@
     ## Check for Qt libraries
     case "$qt_version" in
       5)
-        QT_MODULES="Qt5Core Qt5Gui Qt5Help Qt5Network Qt5OpenGL Qt5PrintSupport Qt5Xml"
+        QT_MODULES="Qt5Core Qt5Gui Qt5Help Qt5Network Qt5OpenGL Qt5PrintSupport Qt5Widgets Qt5Xml"
       ;;
       6)
-        QT_MODULES="Qt6Core Qt6Gui Qt6Help Qt6Network Qt6OpenGL Qt6OpenGLWidgets Qt6PrintSupport Qt6Xml"
+        QT_MODULES="Qt6Core Qt6Gui Qt6Help Qt6Network Qt6OpenGL Qt6OpenGLWidgets Qt6PrintSupport Qt6Widgets Qt6Xml"
         case $host_os in
           mingw* | msdosmsvc*)
           ;;