QOpenGLWidget and text rendering
Hi,
the problem is as follows: I need to render text on QOpenGLWidget. I was using QPainter to do so, but as I see, it lives by itself, e.g. resizeGL call does not affect QPainter rendered text position, also QPainter coordinates are different from defined in glOrtho. In QGLWidget there was a nice function renderText, obviously it is absent in QOpenGLWidget. Any other alternatives?
Cheers.
Re: QOpenGLWidget and text rendering
look at http://stackoverflow.com/questions/3...516254#3516254
but i can not find a way to fill text body. can any body tell me?
thks.