[Development] QOpenGLWidget vs. QGLWidget
Agocs Laszlo
Laszlo.Agocs at digia.com
Thu Jul 31 20:03:25 CEST 2014
Hello,
Yes, setViewport() will continue to work with QOpenGLWidget too.
Note that all this does not mean existing code has to migrate away from QGLWidget. It is not going to disappear. If it works, just keep using it.
Best regards,
Laszlo
________________________________________
From: development-bounces+laszlo.agocs=digia.com at qt-project.org [development-bounces+laszlo.agocs=digia.com at qt-project.org] on behalf of Yves Bailly [Yves.Bailly at verosoftware.com]
Sent: Thursday, July 31, 2014 1:22 PM
To: development at qt-project.org
Subject: [Development] QOpenGLWidget vs. QGLWidget
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."
_______________________________________________
Development mailing list
Development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/development
More information about the Development
mailing list