Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5
-
None
-
-
5d7920086 (dev), eca23f9e9 (6.7), 0ae2b83d7 (6.6), 1aa40bc81 (tqtc/lts-6.5)
Description
Trying to capture the screen causes the application to crash. This can be reproduces with:
import QtQuick import QtMultimedia Window { width: 640 height: 480 visible: true Rectangle { width: 800 height: 600 color: "black" CaptureSession { id: captureSession screenCapture: ScreenCapture { id: screenCapture active: true //false } videoOutput: videoOutput } //Timer { // interval: 5000 // running: true // onTriggered: screenCapture.active = true // } VideoOutput { id: videoOutput anchors.fill: parent } } }
Setting the property active to false prevents the app from crashing but the screen recording is not possible (tested on a Raspberry Pi)
Attachments
Issue Links
- relates to
-
QTBUG-117746 eglfs: Capturing the screen crashes
- Closed
-
QTBUG-117877 Support ScreenCapture with Window on EGLFS
- Reported
-
QTBUG-121836 Eglfs: implement screen capturing for qml
- Closed