Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.0.2
-
None
-
Qt 5.0.2, Wayland, Montavista Linux, ARM
Description
Calling QScreen::grabWindow() when using the wayland platform plugin results in an empty QPixmap. The default implementation of QPlatformScreen::grabWindow() is essentially a no-op and QWaylandScreen lacks an implementation.
It would be very helpful if grabbing of QWindows in Wayland is possible to allow taking screenshots of QtQuick scenes exactly like they appear on screen.
Attachments
Issue Links
- is duplicated by
-
QTBUG-126997 grabWindow() returns pixmap which is NULL on WSL
- Closed
-
QTBUG-121452 Qt ScreenCapture Example Fails to Capture Screen Content
- Closed
- relates to
-
QTBUG-44465 QLinuxFbScreen::grabWindow() not implemented
- Closed
-
QTBUG-44937 eglfs lacks support for grabWindow()
- Closed