Qt5 Multimedia Problem
-
Got the same problem in Qt5. However QAudioOutput works fine.
-
I have the same problem with Qt 4.7.4 on windows 7
I got the error:
"defaultServiceProvider::requestService(): no service found for - "com.nokia.qt.mediaplayer" "
how did you solve this problem? -
Solved the problem by not using Windows, but Ubuntu. Which version are you using Qt5? Alpha? Beta? Maybe it will be fixed in the final release.
-
Qt 4.8.1
-
bq. Solved the problem by not using Windows, but Ubuntu.
But may be someone got idea what happens on Windows?
-
Same problem here: http://qt-project.org/forums/viewthread/22018/
I tried to run the new Media Player exmaple with Qt5 on windows xp and got exactly the same error:
defaultServiceProvider::requestService(): no service found for – “org.qt-project.qt.mediaplayer”
-
Just guess. Could you check your Qt installation directory in plugins/mediaservice folder for wmfengine(d).dll? As I understand QMultimedia module relies on Windows Media Foundation library internally to play video on Windows.
In my installation I also have qtmedia_audioengine.dll. -
I have these files under:
C:\QTSDK_5\5.0.0-beta2\msvc2010\plugins\mediaservice
There is:
qtmedia_audioengine.dll
qtmedia_audioengined.dll
qtmedia_audioengined.pdb
wmfengine.dll
wmfengined.dll
wmfengined.pdb -
Have you setted up QTDIR and PATH env variables?
-
No, I am using the binary package where you don't have to set any variables..or am I wrong here?!
-
Even in binary installation if you run examples from console you should those variables setted up for you plugins to be found.
-
Hi !
I just want to know if the issue has been corrected in the RC2 release for Windows OS...
I still have the problem but my dev env is properly configurated :
bq. Démarrer C:\Qt\Qt5.0.0-rc2\5.0.0-rc2\msvc2010\bin\qmlscene.exe "D:/Documents and Settings/T0119276/Mes Documents/QML_APP/TEST_QML_5/TEST_QML_5.qml"
QQmlImportDatabase::addImportPath: "C:\Qt\Qt5.0.0-rc2\5.0.0-rc2\msvc2010\qml"
QQmlImportDatabase::addImportPath: "C:/Qt/Qt5.0.0-rc2/5.0.0-rc2/msvc2010/bin"
QQmlImports(file:///D:/Documents and Settings/T0119276/Mes Documents/QML_APP/TEST_QML_5/TEST_QML_5.qml)::addImplicitImport
QQmlImports(file:///D:/Documents and Settings/T0119276/Mes Documents/QML_APP/TEST_QML_5/TEST_QML_5.qml)::addLibraryImport: "QtQuick" 2.0 as ""
QQmlImports(file:///D:/Documents and Settings/T0119276/Mes Documents/QML_APP/TEST_QML_5/TEST_QML_5.qml)::importExtension: loaded "C:/Qt/Qt5.0.0-rc2/5.0.0-rc2/msvc2010/qml/QtQuick.2/qmldir"
QQmlImportDatabase::importPlugin: "QtQuick" from "C:/Qt/Qt5.0.0-rc2/5.0.0-rc2/msvc2010/qml/QtQuick.2/qtquick2plugin.dll"
QQmlImports(file:///D:/Documents and Settings/T0119276/Mes Documents/QML_APP/TEST_QML_5/TEST_QML_5.qml)::addLibraryImport: "QtMultimedia" 5.0 as ""
QQmlImports(file:///D:/Documents and Settings/T0119276/Mes Documents/QML_APP/TEST_QML_5/TEST_QML_5.qml)::importExtension: loaded "C:/Qt/Qt5.0.0-rc2/5.0.0-rc2/msvc2010/qml/QtMultimedia/qmldir"
QQmlImportDatabase::importPlugin: "QtMultimedia" from "C:/Qt/Qt5.0.0-rc2/5.0.0-rc2/msvc2010/qml/QtMultimedia/declarative_multimedia.dll"
Module 'QtMultimedia' does not contain a module identifier directive - it cannot be protected from external registrations.
QQmlImports(file:///D:/Documents and Settings/T0119276/Mes Documents/QML_APP/TEST_QML_5/TEST_QML_5.qml)::resolveType: "Video" => "file:///C:/Qt/Qt5.0.0-rc2/5.0.0-rc2/msvc2010/qml/QtMultimedia/Video.qml" URL
QQmlImports(file:///C:/Qt/Qt5.0.0-rc2/5.0.0-rc2/msvc2010/qml/QtMultimedia/Video.qml)::addImplicitImport
QQmlImports(file:///C:/Qt/Qt5.0.0-rc2/5.0.0-rc2/msvc2010/qml/QtMultimedia/Video.qml)::importExtension: loaded "C:/Qt/Qt5.0.0-rc2/5.0.0-rc2/msvc2010/qml/QtMultimedia/qmldir"
QQmlImports(file:///C:/Qt/Qt5.0.0-rc2/5.0.0-rc2/msvc2010/qml/QtMultimedia/Video.qml)::addLibraryImport: "QtQuick" 2.0 as ""
QQmlImports(file:///C:/Qt/Qt5.0.0-rc2/5.0.0-rc2/msvc2010/qml/QtMultimedia/Video.qml)::importExtension: loaded "C:/Qt/Qt5.0.0-rc2/5.0.0-rc2/msvc2010/qml/QtQuick.2/qmldir"
QQmlImports(file:///C:/Qt/Qt5.0.0-rc2/5.0.0-rc2/msvc2010/qml/QtMultimedia/Video.qml)::addLibraryImport: "QtMultimedia" 5.0 as ""
QQmlImports(file:///C:/Qt/Qt5.0.0-rc2/5.0.0-rc2/msvc2010/qml/QtMultimedia/Video.qml)::importExtension: loaded "C:/Qt/Qt5.0.0-rc2/5.0.0-rc2/msvc2010/qml/QtMultimedia/qmldir"
QQmlImports(file:///C:/Qt/Qt5.0.0-rc2/5.0.0-rc2/msvc2010/qml/QtMultimedia/Video.qml)::resolveType: "Item" => "QQuickItem" TYPE
QQmlImports(file:///C:/Qt/Qt5.0.0-rc2/5.0.0-rc2/msvc2010/qml/QtMultimedia/Video.qml)::resolveType: "VideoOutput" => "QDeclarativeVideoOutput" TYPE
QQmlImports(file:///C:/Qt/Qt5.0.0-rc2/5.0.0-rc2/msvc2010/qml/QtMultimedia/Video.qml)::resolveType: "MediaPlayer" => "QDeclarativeAudio" TYPE
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
C:\Qt\Qt5.0.0-rc2\5.0.0-rc2\msvc2010\bin\qmlscene.exe a quitté avec le code 0