[Development] Accelerated/OpenGL drawing under Qt 5.0

Samuel Rødal samuel.rodal at nokia.com
Fri Sep 14 11:49:50 CEST 2012


On 09/12/2012 06:52 AM, ext Chris Meyer wrote:
> My software makes use of accelerated drawing using the techniques with
> QGraphicsView and QGraphicsScene shown in this article:
> 
> http://doc.qt.nokia.com/qq/qq26-openglcanvas.html
> 
> Unfortunately things don't work smoothly under Qt 5.0.
> 
> Is this technique expected to work? If not, what is the suggested way
> to get accelerated drawing under Qt 5.0?
> 
> Also, QGLPixelBuffer::hasOpenGLPbuffers() always returns false, where
> it returned it true under 4.8. Is this also expected?

A fix is in the pipe for this, implementing QGLPixelBuffer in terms of
QOpenGLFramebufferObject: https://codereview.qt-project.org/#change,34833

--
Samuel



More information about the Development mailing list