diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-04-14 11:00:20 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-04-16 11:02:07 +0000 |
commit | d8b9559e59a27a12cadce05791c709b567c11a15 (patch) | |
tree | aca45866ad2cb038d752adbd675e11a9af02592b /src/imports/multimedia/multimedia.cpp | |
parent | 1cea7541839176bb7c37e954c2a421fe0dde8d4d (diff) | |
download | qtmultimedia-d8b9559e59a27a12cadce05791c709b567c11a15.tar.gz |
Add a couple of Q_PROPERTY macros
And export ImageCapture for Qt Quick.
Change-Id: Ie9385a4a4a4212d06ffadf242a0e047d95b76226
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Doris Verria <doris.verria@qt.io>
Diffstat (limited to 'src/imports/multimedia/multimedia.cpp')
-rw-r--r-- | src/imports/multimedia/multimedia.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/multimedia/multimedia.cpp b/src/imports/multimedia/multimedia.cpp index 031a834f1..a068d7505 100644 --- a/src/imports/multimedia/multimedia.cpp +++ b/src/imports/multimedia/multimedia.cpp @@ -111,6 +111,7 @@ public: qmlRegisterType<QMediaCaptureSession>(uri, 6, 0, "CaptureSession"); qmlRegisterType<QMediaEncoder>(uri, 6, 0, "MediaEncoder"); qmlRegisterType<QCamera>(uri, 6, 0, "NCamera"); + qmlRegisterType<QCameraImageCapture>(uri, 6, 0, "ImageCapture"); qmlRegisterUncreatableType<QCameraExposure>(uri, 6, 0, "NCameraExposure", tr("CameraExposure is provided by Camera")); // The minor version used to be the current Qt 5 minor. For compatibility it is the last |