[Interest] Qt 5.1.1 render with both - OpenGL and QPainter - in one window?

Thomas Meyer public at meyer-thomas.com
Tue Sep 24 16:15:30 CEST 2013


Hi,
is it possible to use OpenGL and QPainter in one window (Qt 5.1.1)?
And if it is possible, how and is it recommended?
Example:
I want to render the word "Triangle" into the 'OpenGL Window Example'
(please see Qt Creator - Welcome - Examples).

My first guess is, that it is not possible. I can only render with OpenGL or
with QPainter, like the example shows.

Thanks,
     Thomas




More information about the Interest mailing list