Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Is QML compatible with C++ OpenGL can I manipulate it with C++ for off screen rendering



  • This is interesting but before I start learning it I would like to know if it is something that would make my project easier to build which requires off screen rendering and physics


  • Moderators

    In Qt 5, QML is implemented using OpenGL. Can't get more "compatible" than that ;-) Check out QQuickItem documentation for more info.

    In Qt 6 it is different, because implementation is independent of the 3D API (it uses OpenGL, DirectX, Metal etc. depending on platform).

    For offscreen rendering, run your app with offscreen platform plugin:

    yourApp.exe -platform=offscreen
    

Log in to reply