qmediaplayer no service found for - "com.nokia.qt.mediaplayer"
hello all,
i want to play a radio ("http://www.radioparadise.com/musiclinks/rp_128.m3u" ) on my qt app. I decided to use qmediaplayer to play this radio .But there is a problem about qmediaplayer. here is the code :
[QUOTE]QMediaPlayer *player= new QMediaPlayer();
QMediaPlaylist *playlist =new QMediaPlaylist(player);
QUrl url("http://www.radioparadise.com/musiclinks/rp_128.m3u");
playlist->save(url,"m3u");[/QUOTE]
and this is the app. output:
[QUOTE]
defaultServiceProvider::requestService(): no service found for - "com.nokia.qt.mediaplayer"
QFSFileEngine::open: No file name specified[/QUOTE]
do you have an idea what this output says ? how can i fix it?
Thanks...
QMediaPlayer no service found for - "com.nokia.qt.mediaplayer"
hello all,
i want to play a radio ("http://www.radioparadise.com/musiclinks/rp_128.m3u" ) on my qt app. I decided to use qmediaplayer to play this radio .But there is a problem about qmediaplayer. here is the code :
[QUOTE]
QMediaPlayer *player= new QMediaPlayer();
QMediaPlaylist *playlist =new QMediaPlaylist(player);
QUrl url("http://www.radioparadise.com/musiclinks/rp_128.m3u");
playlist->save(url,"m3u");[/QUOTE]
and this is the app. output:
[QUOTE]defaultServiceProvider::requestService(): no service found for - "com.nokia.qt.mediaplayer"
QFSFileEngine:pen: No file name specified[/QUOTE]
do you have an idea what this output says ? how can i fix it?
Thanks...
Re: QMediaPlayer no service found for - "com.nokia.qt.mediaplayer"
isn't there anybody who knows what is meaning of the output which is "defaultServiceProvider::requestService(): no service found for - "com.nokia.qt.mediaplayer" ??
Re: qmediaplayer no service found for - "com.nokia.qt.mediaplayer"
You're going to have to provide more information. What platform are you developing for? What version of Qt Mobility are you using? And what version of Qt? Where do you see this error (simulator only, real device only, simulator AND real device)? The error looks like a plugin deployment issue (the plugin which provides the service isn't deployed correctly and so it fails to find it). Try copying the plugins to the Qt plugin directory and try again, perhaps.
Without more information, I'm not sure how much help I can give you. Also, have you looked at the archives of the qt-mobility-feedback mailinglist? [url]http://lists.trolltech.com/pipermail/qt-mobility-feedback/2010-March/000105.html[/url] seems to provide a solution to a similar problem as the one you're seeing.
Cheers,
Chris.
known problem - defaultServiceProvider::requestService(): no service found for - "com
Hello,
I'm using Linux Ubuntu 10.04, qt4.7 from git repository and qt-mobility from git repository.
qt4.7 is configured-compiled with module multimedia
If I'm trying to use QMediaPlayer that I'm getting the meesage "defaultServiceProvider::requestService(): no service found for - "com.nokia.qt.mediaplayer" ".
I have done everything according the [url]http://lists.trolltech.com/pipermail/qt-mobility-feedback/2010-March/000105.html[/url] and problem is not solve.
I have copied all of plugings related to multimedia to my qt folder ( multimedia, mediaservice ).
any Idea? something missing?
Thanks for help
Re: known problem - defaultServiceProvider::requestService(): no service found for -
I'm the same as you. try many many way to make this work but never success. Run on Device is only my solution now, which the VDO never display full screen in Portray mode :-(
OS X Simulator builds: no service found for - "com.nokia.qt.mediaplayer"
[I'm bumping this thread, because it's the search result for the error message I receive]
I've just installed the Qt 1.2.2 SDK on MacOS 10.6
I open the "musicplayer" sample project, build it for Simulator, and click "Run".
The application opens, but will not play any music.
The only error message reads:
[CODE] defaultServiceProvider::requestService(): no service found for - "com.nokia.qt.mediaplayer"
qrc:///qml/ControlsPage.qml:55: Unable to assign [undefined] to bool visible
[/CODE]
I have seen older workarounds for this problem (including those posted below), but they involve copying files on the Linux version of the Qt SDK. I am not running on Linux, and I cannot locate the libraries mentioned on my OS X installation.
Do I need to manually build and install Mobility?
To try to resolve this issue, I've already completely removed and then cleanly re-installed the SDK, but without any success.
Any help is welcome.
Configuration:
Host OS: Mac OS X 10.6.8
Qt:
QtSDK 1.2.1, installed from the offline installer
(installer build date: Wednesday 4 April 2012 14:08)
Qt Creator 2.4.1
Qt 4.7.4 (64 bit)
Build date:Jan 25 2012 at 12:40:26
simulator.app, no version information available
Re: OS X Simulator builds: no service found for - "com.nokia.qt.mediaplayer"
If you're using Ubuntu Linux, please try this command
[CODE]sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev[/CODE]