diff options
author | Yoann Lopes <yoann.lopes@theqtcompany.com> | 2015-09-15 15:22:07 +0200 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@theqtcompany.com> | 2015-09-15 14:36:40 +0000 |
commit | 0b192ce23ef38ef1f1b8d3dd5d2cfc386c9e5a36 (patch) | |
tree | 1925d3253ccc49d9d307987d215fecd958ce9c20 /src/imports/audioengine/audioengine.cpp | |
parent | da6d287e46c107586af07e55043abb4d2a9b2d9e (diff) | |
download | qtmultimedia-0b192ce23ef38ef1f1b8d3dd5d2cfc386c9e5a36.tar.gz |
Fix QML revisions registration for 5.6.
And update plugins.qmltypes file.
Change-Id: I9b3cbeda4c8a0ce88a88f5a16fae6834dc8363d7
Reviewed-by: Marco Benelli <marco.benelli@theqtcompany.com>
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
Diffstat (limited to 'src/imports/audioengine/audioengine.cpp')
-rw-r--r-- | src/imports/audioengine/audioengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/audioengine/audioengine.cpp b/src/imports/audioengine/audioengine.cpp index 4d29528f9..aa2d195c5 100644 --- a/src/imports/audioengine/audioengine.cpp +++ b/src/imports/audioengine/audioengine.cpp @@ -70,8 +70,8 @@ public: qmlRegisterType<QDeclarativeAttenuationModelInverse>(uri, 1, 0, "AttenuationModelInverse"); // Dynamically adding audio engine related objects is only supported through revision 1 - qmlRegisterRevision<QDeclarativeAudioEngine, 1>(uri, 1, 1); - qmlRegisterRevision<QDeclarativeSound, 1>(uri, 1, 1); + qmlRegisterType<QDeclarativeAudioEngine, 1>(uri, 1, 1, "AudioEngine"); + qmlRegisterType<QDeclarativeSound, 1>(uri, 1, 1, "Sound"); } }; |