Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QQuickRenderControl with multiple QQuickWindow objects
Qt 6.11 is out! See what's new in the release blog

QQuickRenderControl with multiple QQuickWindow objects

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 539 Views
  • 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.
  • S Offline
    S Offline
    sharder
    wrote on last edited by
    #1

    Hello,

    is it possible to have one QQuickRenderControl instance and multiple QQuickWindow objects to draw in multiple rendertargets (one for each QQuickWindow)?

    I have a project, where I want QQuickWindow objects beeing drawn as a texture and use them in a OpenGL scene (they are slapped on some meshes). This works flawlessly when I have exactly one window. Having multiple QQuickRenderControl objects with the same opengl context fails. Some other developers reported the same behavior:

    • http://lists.qt-project.org/pipermail/interest/2015-July/017697.html
    • https://bugreports.qt.io/browse/QTBUG-52335

    I could create multiple opengl contexts but it would probably create some overhead.

    1 Reply Last reply
    0

    • Login

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