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. Duplicating QQuickItems on multipe screens
Forum Updated to NodeBB v4.3 + New Features

Duplicating QQuickItems on multipe screens

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 507 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.
  • B Offline
    B Offline
    bludger
    wrote on last edited by
    #1

    I hope someone can help me with my question how to mirror QQuickItems on a secondary screen.

    Suppose I have a QML Window on each monitor. One of the QML Windows contain a QQuickItem (and subitems) which needs to be mirrored onto the secondary Window. What could be an efficient way to do it?
    The use of QQuickWindow::grabWindow() isn't an option because of the expected performance issues as mentioned in the docs. Especially because animations and such need to be flawlessly played on the other screen. Accessing the scene graph items of individual QQuickItems seems to be impossible with the public API.
    The mirrored item doesn't have to respond to user input in a way that it handles keypresses for instance.

    Any thoughts on this?

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! QQuickRenderControl is what you're looking for.

      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