Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.0 RC
-
None
-
-
f78c3885cc17c89d27b9e657fa4422ea9134d8c1 (qt/qtmultimedia/dev) f51cbe3c64c6991fdef0335ba346688b0c2f72af (qt/qtmultimedia/6.2) 36daede2669b1e07b05dea4c3941252490ab67e0 (qt/qtmultimedia/6.2.0)
Description
The Camera QML type documentation states that a VideoOutput component can be used to render the camera stream by setting the camera as source property.
However, the VideoSource component doesn't have any source property anymore in Qt6-6.2, which makes the sample code incorrect.
The following code just doesn't work.
import QtQuick import QtMultimedia Window { width: 300 height: 300 visible: true Camera { id: camera } VideoOutput { anchors.fill: parent source: camera } }