[Interest] Hardware accelerated rendering in Qt 5.13
Ramakanth Kesireddy
rama.kesi at gmail.com
Thu Feb 13 18:26:29 CET 2020
Thanks for your mail.
Whether it makes sense to go for accelerated QPainter for 2D graphics by
replacing QWidget with QOpenGLWidget?
Best Regards,
Ramakanth
On Tue, 4 Feb, 2020, 13:52 Allan Sandfeld Jensen, <kde at carewolf.com> wrote:
> On Dienstag, 4. Februar 2020 03:26:12 CET Ramakanth Kesireddy wrote:
> > Hi,
> >
> > Our existing application is based on c++ widgets(QWidget) using QPainter
> on
> > Qt 5.13. As i understand Qpainter uses raster engine for graphics
> > rendering, Is there any means to make use of hardware accelerated
> > rendering(GPU) other than changing the complete Application code into Qt
> > quick or QGLWidget?
> >
> You can create a QOpenGLWindow or QOpenGLWidget and paint therein.
>
> You can also use QGraphicsView with a QOpenGLWidget as a viewport.
>
> In both cases an accelerated QPainter would then be used.
>
> 'Allan
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200213/f7152d00/attachment.html>
More information about the Interest
mailing list