QtMultimedia no service found error ( linux )
i have a problem in qtmultimedia linux
i want to use Media in my application
but i see this error
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
my OS : Parrot -> linux -> debian base
Qt Creator ver : 5.7
installed packages: libgstreamer1.0 , base , bad , ugly , libav , qt5multimedia-dev
may be help me ?
Which version of Qt are you using ? (Not Qt Creator) It seems you may be mixing a custom and a distribution based installation of Qt.
qt -> 5.7.0
IIRC, it's still using gstreamer 0.1 so you have two options:
- Install gstreamer 0.1 and it's dependencies
- Rebuild the plugin with 1.0 (just the plugin not the whole Qt framework)
[edit: corrected gstreamer version number for 2 SGaist]
but the app shows new error
libqgsttools_p.so.1: undefined symbol: gst_object_ref_sink
The app ?
Or are you trying to compile the plugin ?
If the later, did you install the gstreamer development package ?
i was install the .deb package libgstreamer0.1-dev , base 0.1 on my linux system
Sorry, I just saw that the version number was wrong. I meant that you could build the plugin against GStreamer version 1.0.