diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-04-15 12:45:45 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-04-19 11:07:01 +0000 |
commit | 215deb5531426095239d7f7b3d2d609088ab085d (patch) | |
tree | 191ba12c4c98829a9da62106a3d4f48d22851daa /examples | |
parent | 0ca672235b097937f32d2960e4a8ca3e323074db (diff) |
Convert the remaining QML APIs related to capture
Expose the C++ classes to QML instead of having all those
wrapper classes.
Change-Id: Id151a386a8f13da5c0eda3fa06a6e3b7032e0cb6
Reviewed-by: Doris Verria <doris.verria@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/multimedia/video/qmlvideo/qml/qmlvideo/CameraItem.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multimedia/video/qmlvideo/qml/qmlvideo/CameraItem.qml b/examples/multimedia/video/qmlvideo/qml/qmlvideo/CameraItem.qml index 5e3fcf6bf..8fd79c3c5 100644 --- a/examples/multimedia/video/qmlvideo/qml/qmlvideo/CameraItem.qml +++ b/examples/multimedia/video/qmlvideo/qml/qmlvideo/CameraItem.qml @@ -62,7 +62,7 @@ VideoOutput { onHeightChanged: root.sizeChanged() CaptureSession { - camera: NCamera { + camera: Camera { id: camera onErrorOccurred: function(error, errorString) { |