QMediaPlayer::ServiceMissingError
-
i am using Qmediaplayer sample program to play media. on my embedded system
bu i got error
my embedded details are:
Linux imx6qsabresd 4.9.11-1.0.0+gc27010d
armv7l armv7l armv7l GNU/Linuxand output is :
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
QMediaPlayer::ServiceMissingErrorin details : I have created playlist of two .mp3 and playing with Qmediaplayer.
program is working fine at another system and in terminal of embedded system gstream play also successfully any mp3 -
Hi,
What version of Qt are you using ?
What version of GStreamer ?
How did you build Qt ? -
@SGaist
this id Qt details:
Based on Qt 5.9.1 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
Built on Jun 29 2017 04:10:39
From revision e974f0733eand GStreamer
gst-launch-1.0 version 1.10.4
gstreamer 1.10.4
gst-play-1.0 version 1.10.4 -
@SGaist
this id Qt details:
Based on Qt 5.9.1 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
Built on Jun 29 2017 04:10:39
From revision e974f0733eand GStreamer
gst-launch-1.0 version 1.10.4
gstreamer 1.10.4
gst-play-1.0 version 1.10.4@anil_arise said in QMediaPlayer::ServiceMissingError:
Based on Qt 5.9.1 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
Built on Jun 29 2017 04:10:39
From revision e974f0733eThese are not Qt details but QtCreator, which are not the same.
Which Qt version did you install? -
@anil_arise said in QMediaPlayer::ServiceMissingError:
Based on Qt 5.9.1 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
Built on Jun 29 2017 04:10:39
From revision e974f0733eThese are not Qt details but QtCreator, which are not the same.
Which Qt version did you install?@jsulm Qt4
-
@jsulm Qt4
@anil_arise Unless you really have to use Qt4 you should try with latest Qt5 release (5.12 I guess).
-
@anil_arise Unless you really have to use Qt4 you should try with latest Qt5 release (5.12 I guess).
@jsulm i tried it also but same result found
-
Did you build Qt yourself ?
If so did you provide it with the GStreamer development libraries for the plugin to be built ? -
Did you build Qt yourself ?
If so did you provide it with the GStreamer development libraries for the plugin to be built ?@SGaist no Qt build itself.
i have added in .pro
PKGCONFIG += gstreamer-1.0 glib-2.0 -
Not knowing which version of Qt 5 you are using it's not possible to know whether you have the right version of GStreamer available.
In any case, start your application with the
QT_DEBUG_PLUGINS
environment variable set to 1 and it should show you what's happening.