Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Is QML compatible with C++ OpenGL can I manipulate it with C++ for off screen rendering
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved Game Development
2 Posts 2 Posters 442 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AI_Messiah
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      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
      

      (Z(:^

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved