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

Cannot associate Window with a (Q)Screen

    XMLWordPrintable

Details

    • 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

          For Gerrit Dashboard: QTBUG-56115
          # Subject Branch Project Status CR V

          Activity

            People

              lagocs Laszlo Agocs
              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