[Development] QOpenGLWidget vs. QGLWidget

Thiago Macieira thiago.macieira at intel.com
Sat Aug 2 18:18:24 CEST 2014


On Friday 01 August 2014 06:06:06 Yves Bailly wrote:
> On 31/07/2014 20:03, Agocs Laszlo wrote:
> > Yes, setViewport() will continue to work with QOpenGLWidget too.
> 
> Great! :-)
> 
> > 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.
> 
> Fine, however QGLWidget's status moving to "deprecated" is the first step
> on the road to "obsolete", then sooner or later "removed"...

For us, deprecated == obsolete and removed == Qt 6.

> So I guess
> new codes should use QOpenGLWidget, while old ones should migrate little
> by little.

Right, that's a good idea.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list