Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.0.0
-
None
-
Windows XP 32 bits
Qt 5.0 Relase (December)
MSVC 10
Description
I got the following error when I deploy a QMediaPlayer simple code.
defaultServiceProvider::requestService(): no service found for – “org.qt-project.qt.mediaplayer”
//Begin Code
QMediaPlayer* player = new QMediaPlayer;
QString path = application_.applicationDirPath();
QUrl url = QUrl::fromLocalFile(path + QLatin1String("/my.wav"));
QMediaPlaylist * playlist = new QMediaPlaylist;
playlist->addMedia(url);
playlist->setPlaybackMode( QMediaPlaylist::Loop );
player->setPlaylist( playlist );
playlist->setCurrentIndex(0);
player->setVolume(50);
player->play();
//End Code
Deployment file structure
mediaservice/*
platforms/qminimal.dll
platforms/qwindows.dll
application.exe
my.way
Qt5Core.dll
Qt5Gui.dll
Qt5Widgets.dll
libGLESv2.dll #I don't know why is needed
icuuc49.dll #I don't know why is needed
icuin49.dll #I don't know why is needed
icudt49.dll #I don't know why is needed
D3DCompiler_43.dll #I don't know why is needed
libEGL.dll #I don't know why is needed
msvcr100.dll
msvcp100.dll