Qt Creator no service found for - "org.qt-project.qt.mediaplayer" error
-
Hi,
I use QtMultimedia library in my project. I can compile without any errors on Windows and Mac. But i want to compile on Lubuntu 15.10 x64, i have got a error message like, defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer".
How can i solve it? -
Hi
You might need to install extra
http://doc.qt.io/qt-5/linux-requirements.htmllike gstreamer 1.0
https://forum.qt.io/topic/28620/solved-qtmultimedia-defaultserviceprovider-requestservice-no-service-found-for-org-qt-project-qt-mediaplayer/30 -
I installed this packages before. But i cant see any changes.
-
@Hakan-AFAT
maybe its due to 64 bit. Path is different or something like that. -
I removed all libgstreamer packages and reinstall those again. I see only this message in application output on Qt Creator. :(
-
@Hakan-AFAT
well if you google it, you can see it can be many reasons.
Oftens its related to gstreamer and wrong version but can be many things. -
I cant find gstreamer plugin in the plugin folder. How could i install it?
-
Hi,
If you want to rebuild the plugin you must first download the qtmultimedia module sources. The plugin is in there.
-
Hi,my english is poor.this is a simple way to sovle this problem on linux.
1.> sudo apt-get install libqt5multimedia5-plugins
2.> cp -a /usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice/ /your/path/to/Qt5/.../gcc_64/plugins/
The main purpose is to avoid recompiling the QtMultimedia module.if you want to recompiling the QtMultimedia module.you should:
1.> install required gstreamer
2.> cd /your/path/to/Qt5/.../Src/qtmultimedia
3.> qmake && make
4.> make install
or:
2.> cd /your/path/to/Qt5/.../Src/qtmultimedia/src/plugins/gstreamer
3.> qmake && make
4.> make install
The second method of failure probability is very large.Depending on whether your gstreamer installed correctly.