Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-56115

Cannot associate Window with a (Q)Screen

    XMLWordPrintable

    Details

    • Commits:
      d6dfbe8fd5d09388fc624d85c4aefa0269c20db9

      Description

      Qt Quick needs a way to enumerate QScreen instances in a QML-ish manner, and a property on Window to associate with the chosen screen. This would map to QWindow::setScreen() of course.

      This is an issue for QtWayland where compositors written in QML - combined with a focus on multi-display in the high-end embedded space - is one of the key selling points. Others are affected too, e.g. Quick Controls promotes the usage of QQmlApplicationEngine and the Window element. It is currently impossible to utilize multiple screens without resorting to C++.

      Note that the existing Screen attached property is useless for our purposes here.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              lagocs Laszlo Agocs
              Reporter:
              lagocs Laszlo Agocs
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes