Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.2.0
-
None
-
Google chrome for linux, https://doc.qt.io/qt-6/qml-qtmultimedia-mediarecorder.html
-
108cda751 (dev), 1cbc24928 (6.4), 644dc49fe (6.5), 8209431ab (tqtc/lts-6.2)
-
DaVinci 71
Description
In a section of example code that displays how to make start and stop buttons, there is invalid syntax for a media recorder property. There is no MediaRecorder.RecordingStatus, however there is a RecordingState, which works properly when substituted out. The actual full snippet with errors is as follows:
CameraButton
CameraButton
{ id: stopButton text: "Stop" visible: recorder.status === MediaRecorder.RecordingStatus onClicked: recorder.stop()}Attachments
For Gerrit Dashboard: QTBUG-97265 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
452630,2 | Doc: Use correct prop and enum const in code snippet | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
452939,2 | Doc: Use correct prop and enum const in code snippet | 6.5 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
452940,2 | Doc: Use correct prop and enum const in code snippet | 6.4 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
452954,2 | Doc: Use correct prop and enum const in code snippet | tqtc/lts-6.2 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |