Can Qt use graphics acceleration via OpenGL on general UI widgets?



  • I'm new to the world of Qt and was wondering if it's possible to improve the performance of the UI on slow/under powered devices by using OpenGL to render UI widgets/animations.



  • int qt 4.x days use can change the paint engine to opengl. But generally raster(which is default) is the fastest unless you have a really crappy processor and a decent GPU. If that is the case you will be better of with Qt5 and QML.



  • Thanks for the response. Since writing the OP I've found the eglfs plugin and would like to consider using it on the platforms that really need it (ie. raspberry pi).

    Does the eglfs plugin only work with QML? I've started writing code to work with the QApplication, QWidget and QWindow classes.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.