Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

QGlPainter (qt3D) and qpainter : drawContent (text)

$
0
0
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..

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>