summaryrefslogtreecommitdiffstats
path: root/src/multimedia/qml/qml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/multimedia/qml/qml.cpp')
-rw-r--r--src/multimedia/qml/qml.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/multimedia/qml/qml.cpp b/src/multimedia/qml/qml.cpp
index b9ee212..43a32c5 100644
--- a/src/multimedia/qml/qml.cpp
+++ b/src/multimedia/qml/qml.cpp
@@ -55,11 +55,13 @@ namespace QtMultimedia
\internal
*/
-void qRegisterQmlElements()
+void qRegisterQmlElements(QmlEngine *engine, const char *uri)
{
- qmlRegisterType<QSoundEffect>("Qt.multimedia", 4, 7, "SoundEffect", "SoundEffect");
- qmlRegisterType<QmlAudio>("Qt.multimedia", 4, 7, "Audio", "Audio");
- qmlRegisterType<QmlGraphicsVideo>("Qt.multimedia", 4, 7, "Video", "Video");
+ Q_UNUSED(engine);
+
+ qmlRegisterType<QSoundEffect>(uri, 4, 7, "SoundEffect", "SoundEffect");
+ qmlRegisterType<QmlAudio>(uri, 4, 7, "Audio", "Audio");
+ qmlRegisterType<QmlGraphicsVideo>(uri, 4, 7, "Video", "Video");
}
}