[Development] QtCS: OpenGL session notes

Samuel Rødal samuel.rodal at nokia.com
Tue Jun 26 10:06:00 CEST 2012


On 06/26/2012 09:29 AM, ext Joe Yu wrote:
> Hi,
> 
> Is there anybody knows how to enable OpenGL (or OpenGL ES) as QPainter's
> backend? I learned from some document there's an existing OpenGL/GLES
> backend in QPainter.
> 
> Thanks,
> Joe Yu

You'll get the OpenGL backend as long as you're painting on a QGLWidget
or using a QGraphicsView that has a QGLWidget set as its viewport.

--
Samuel




More information about the Development mailing list