No, unfortunately not. 'Allan
On Saturday, 4 April 2020 06:18:57 CEST Ramakanth Kesireddy wrote: > Is there any attribute that can be set in QWidget which could use hardware > accelerated graphics or opengl paint device in Qt 5.12.7 without changing > the custom widgets deriving from QWidget? > > On Tue, 4 Feb, 2020, 13:52 Allan Sandfeld Jensen, <[email protected]> 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 _______________________________________________ Interest mailing list [email protected] https://lists.qt-project.org/listinfo/interest
