CaptureSession ImageCapture Not Work
Unsolved
Qt 6
-
Hello, I want to take a picture from the camera of my mobile device. In Qt 6, ImageCapture is used for this.
Camera { id: camera active: true focusMode: Camera.FocusModeAutoNear } CaptureSession { id: captureSession camera: camera videoOutput: videoOutput imageCapture: ImageCapture { id: imageCapture onErrorOccurred: { console.log(errorString) } onErrorChanged: { console.log(errorString) } } } ... imageCapture.capture()
Error
D qml : : Capturing to buffer not supported. D qml : : Capturing to buffer not supported.