QtMultimedia in MuseScore plugin

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

QtMultimedia in MuseScore plugin

MariusCotescu
Hello,

I am trying to develop a plugin for Musescore that will play external audio files. I have implemented a MediaPlayer, using the QtMultimedia QML package. Under Linux it works perfectly, but under Windows I get the following error:

line 9: plugin cannot be loaded for module "QtMultimedia": The plugin 'C:/Program Files (x86)/MuseScore 2/qml/QtMultimedia/declarative_multimedia.dll' uses incompatible Qt library. (5.6.2) [release]

This is while it tries to import the QtMultimedia module:

import QtMultimedia 5.6

Thank you,

Marius


Reply | Threaded
Open this post in threaded view
|

Re: QtMultimedia in MuseScore plugin

lasconic
Administrator
I guess you compiled MuseScore yourself? because QtMultimedia is not part of MuseScore installation on Windows.

So your plugin will not work on windows or macosx.

lasconic

2017-06-22 17:49 GMT+02:00 MariusCotescu <[hidden email]>:
Hello,

I am trying to develop a plugin for Musescore that will play external audio
files. I have implemented a MediaPlayer, using the QtMultimedia QML package.
Under Linux it works perfectly, but under Windows I get the following error:

line 9: plugin cannot be loaded for module "QtMultimedia": The plugin
'C:/Program Files (x86)/MuseScore
2/qml/QtMultimedia/declarative_multimedia.dll' uses incompatible Qt library.
(5.6.2) [release]

This is while it tries to import the QtMultimedia module:

import QtMultimedia 5.6

Thank you,

Marius






--
View this message in context: http://dev-list.musescore.org/QtMultimedia-in-MuseScore-plugin-tp7580273.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: QtMultimedia in MuseScore plugin

MariusCotescu
Hi Lasconic,

Thank you for the quick answer. I'll try to compile my own Windows version with QtMultimedia support then. I'll have to distribute it like that for those that would like to use my plugin.

BTW why are you excluding it? It would make sense to have its functionalities in a music software... I am developing a Singing Synthesis plugin so people can preview their lyrics.

lasconic wrote
I guess you compiled MuseScore yourself? because QtMultimedia is not part
of MuseScore installation on Windows.
We exclude it here
https://github.com/musescore/MuseScore/blob/2.1/mscore/CMakeLists.txt#L486

So your plugin will not work on windows or macosx.
Marius
Reply | Threaded
Open this post in threaded view
|

Re: QtMultimedia in MuseScore plugin

lasconic
Administrator
We don't distribute this part of Qt because it's heavy and we don't use it.
If your singing synthesis is open source, it could make more sense to integrate it in the core of MuseScore instead of a plugin.

lasconic

2017-06-23 8:02 GMT+02:00 MariusCotescu <[hidden email]>:
Hi Lasconic,

Thank you for the quick answer. I'll try to compile my own Windows version
with QtMultimedia support then. I'll have to distribute it like that for
those that would like to use my plugin.

BTW why are you excluding it? It would make sense to have its
functionalities in a music software... I am developing a Singing Synthesis
plugin so people can preview their lyrics.


lasconic wrote
> I guess you compiled MuseScore yourself? because QtMultimedia is not part
> of MuseScore installation on Windows.
> We exclude it here
> https://github.com/musescore/MuseScore/blob/2.1/mscore/CMakeLists.txt#L486
>
> So your plugin will not work on windows or macosx.

Marius




--
View this message in context: http://dev-list.musescore.org/QtMultimedia-in-MuseScore-plugin-tp7580273p7580275.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer