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
-
For Gerrit Dashboard: QTBUG-121836 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
537269,12 | eglfs: Implement screen capture for Qt Quick applications on EGLFS | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
544037,2 | eglfs: Implement screen capture for Qt Quick applications on EGLFS | 6.7 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
544067,2 | eglfs: Implement screen capture for Qt Quick applications on EGLFS | 6.6 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
544106,2 | eglfs: Implement screen capture for Qt Quick applications on EGLFS | tqtc/lts-6.5 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |