[Development] QOpenGLWidget vs. QGLWidget

Yves Bailly Yves.Bailly at verosoftware.com
Thu Jul 31 13:22:03 CEST 2014


Greetings all,

I've just read the new features for the upcoming Qt 5.4, here:
http://qt-project.org/wiki/New-Features-in-Qt-5.4

...and I noticed this:
"Deprecated features: Qt Gui: The QtOpenGL module, that is, the QGL classes
  are deprecated since QGLWidget has a suitable replacement now."

Will the new QOpenGLWidget class be usable like the old QGLWidget, notably
as a background for a QGraphicsView? allowing to draw QGraphicsItem, even
widgets, on top of an OpenGL scene...

Regards,

-- 
      /- Yves Bailly - Software developer   -\
      \- Sescoi R&D  - http://www.sescoi.fr -/
"The possible is done. The impossible is being done. For miracles,
thanks to allow a little delay."


More information about the Development mailing list