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

Eglfs: implement screen capturing for qml

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.5, 6.6, 6.7, 6.8
    • Multimedia
    • None
    • All
    • 5d7920086 (dev), eca23f9e9 (6.7), 0ae2b83d7 (6.6), 1aa40bc81 (tqtc/lts-6.5)
    • Multimedia Wk7, Multimedia wk 15-16

    Description

      Screen capturing of qml eglfs application needs a separate implementation.

      QQuickWindow::grabWindow should work for this.

      A possible way to implement:

      • Get existing windows via QApplication::topLevelWindows.
      • Find the needed window by qobject_cast<QQuickWindow*> and QWindow::screen == screen.
      • Check if QQuickWindow::works in a separate thread. If so, create a grabber with the matching threading flag.
      • Use window->grabWindow in the grabber.

      Attachments

        Issue Links

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

          Activity

            People

              mikko.hallamaa Mikko Hallamaa
              artemiy Artem Dyomin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews