QT can't find mediaplayer service in iMX8MQ

Showing results for 
Search instead for 
Did you mean: 

QT can't find mediaplayer service in iMX8MQ

Contributor I

Hi, Guys:

Currently I'm porting QT App from Ubuntu into imx8mq.

MACHINE=imx8mqevk DISTRO=fsl-imx-xwayland  source fsl-setup-release.sh -b build-xwayland

bitbake fsl-image-qt5-validation-imx
bitbake meta-toolchain-qt5

Linux version:4.14.98

QT version:5.10.1

My problem is related media player and OpenGL.


When I run QT application, it says:

 defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"

But gstream can play video normally.

So can we let QT use gstream plugin to play video?

Another question is that there is no OpenGL available for xwayland, all 2D/3D apps in example directory are failed.

Thanks very much.

Tags (4)
0 Kudos
1 Reply

NXP TechSupport
NXP TechSupport

for this message, it seems you need add "PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer alsa" in the local. conf, for openGL, pls refer to the linux reference manual, focus on the chapter 5.1 Graphics Processing Unit (GPU)

0 Kudos