[Interest] QOpenGLWidget and text

Matthew Woehlke mw_triad at users.sourceforge.net
Wed Apr 1 20:39:35 CEST 2015


On 2015-04-01 10:28, Giuseppe D'Angelo wrote:
> Il 01/04/2015 15:42, Matthew Woehlke ha scritto:
>> If I go the route of pre-rendering the text into a QImage, what is the
>> easiest way, using only the modern QOpenGL classes (since there is no
>> longer bindTexture either), to get that into an OpenGL texture?
> 
> A rough game plan is this:
> [snip really lengthy process]
> 
> Isn't Modern OpenGL lovely? ;)

Can someone please explain to me how this is an improvement over having
a renderText() method? (Being serious... see also previous comment; I
don't see how losing the convenience functions of QGLWidget is an
improvement...)

I have another application that needs to support Qt 5.3 that is
currently using QGLWidget. After my experiences with QOpenGLWidget it is
clear that I would be rather insane to try to port it.

-- 
Matthew




More information about the Interest mailing list