[Development] Accelerated/OpenGL drawing under Qt 5.0

Chris Meyer cmeyer1969+qt at gmail.com
Wed Sep 12 06:52:21 CEST 2012


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?

P.S. Overall, there are some glitches, but 5.0 runs my rather large
application pretty well!



More information about the Development mailing list