octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55735] QGLWidget not detected, so Qt graphics


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55735] QGLWidget not detected, so Qt graphics toolkit is not compiled
Date: Mon, 18 Feb 2019 15:23:48 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36

Update of bug #55735 (project octave):

                Priority:              5 - Normal => 3 - Low                

    _______________________________________________________

Follow-up Comment #1:

This bug report looks accurate to me by inspection, but I test mainly with Qt
5, and Qt 5 is highly recommended for Octave 5.

The difference seems to be that QOpenGLWidget is in the Qt5Widgets module, not
in the Qt5OpenGL module. So when building with Qt 5, QT_CPPFLAGS does contain
the include path for Qt5Widgets, and QOpenGLWidget is found successfully. With
Qt 4, QGLWidget is not found because it's only in the QtOpenGL module.

If someone thinks this is worth fixing, the fix looks like creating a new
QT_OPENGL_CPPFLAGS variable and using it in the test for QGLWidget.

However, we may be dropping support for Qt 4 completely on the default branch
soon for Octave 6, so I doubt that this is worth fixing at all.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55735>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]