[Qt-interest] OpenGL inside QT with accelaration
Nathan Carter
nathancarter5 at gmail.com
Fri Jul 3 19:33:16 CEST 2009
> But then i dont understand the way the documentation says it.
> the docs says, using QPainter the OpenGL will use the HW accelaration
> if it exists.
> and otherwise falls back to using software.
>
> !This is not a direct quote of the documentation!!
>
> But that is true for openGL also isnt it?
> Its not an attribute of QPainter?
>
> So whats the difference/advantage of using QPainter?
The documentation states this because otherwise you would not at all
expect that QPainter would use OpenGL. You might well initially guess
that QGLWidgets use OpenGL, but QPainters do something that isn't
hardware-accelerated. The docs point out that this is not the case;
QPainter can do more than you might think.
Nathan
More information about the Qt-interest-old
mailing list