Hi,
I need to draw rich text in my qt3D/Qt4 application. so I decide to draw in an opengl fbo using qpainter. It works fine sometimes, and don’t see anything, or crash depending on preceding opengl state. I have tried to setup opengl state before but I don’t which state I need to set to ensure that qpainter can draw a qtextdocument with the function drawContent..
↧