Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
None
-
6.5, 6.6, 6.7, 6.8
-
None
-
-
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
- relates to
-
QTBUG-121678 eglfs: Capturing the screen crashes on a Qt Quick application
- Closed
-
QTBUG-117877 Support ScreenCapture with Window on EGLFS
- Reported