summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@qt.io>2016-09-07 15:10:55 +0200
committerYoann Lopes <yoann.lopes@qt.io>2016-09-15 13:26:52 +0000
commitf5a264d1f6dd5c6470c66573a3faeae58aac360f (patch)
treea166a6743d805ec95f3dfa4e37407f2a5d6676e8
parent6e8f05f016726e078374f92092f643b5154855cf (diff)
downloadqtmultimedia-f5a264d1f6dd5c6470c66573a3faeae58aac360f.tar.gz
Register 5.8 version for the multimedia QML module
There isn't any new API in 5.8, we need to re-register an existing type to make that version number available. Change-Id: I061dc53e9570eefc1cbdcb9d15f557904b5d275f Reviewed-by: Christian Stromme <christian.stromme@qt.io>
-rw-r--r--src/imports/multimedia/multimedia.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/imports/multimedia/multimedia.cpp b/src/imports/multimedia/multimedia.cpp
index 2a5e8cd2c..b7ab473c7 100644
--- a/src/imports/multimedia/multimedia.cpp
+++ b/src/imports/multimedia/multimedia.cpp
@@ -140,6 +140,9 @@ public:
qmlRegisterUncreatableType<QDeclarativeCameraImageProcessing, 2>(uri, 5, 7, "CameraImageProcessing",
trUtf8("CameraImageProcessing is provided by Camera"));
+ // 5.8 types (nothing new, re-register one of the types)
+ qmlRegisterType<QSoundEffect>(uri, 5, 8, "SoundEffect");
+
qmlRegisterType<QDeclarativeMediaMetaData>();
qmlRegisterType<QAbstractVideoFilter>();
}