I solved this problem my own: The package qtbase-plugins has to be added to the image to install the plugins. I also had to add the package qtmultimedia-plugins to install gstreamer plugins and add the line
PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer010 "
to my local.conf to add gstreamer support in qtmultimedia.
Is there a meta package to automatically include all this qt stuff? I don't care if the image gets 100MB larger.

Fabian

Am 30.11.2014 um 12:49 schrieb Fabian Schwartau:
Hi everyone,

I am trying to build an application using Qt5 Multimedia (playing a
video). Yocto is latest 1.6. Qt and my application compile just fine but
when I run the application I get this error:
This application failed to start because it could not find or load the
Qt platform plugin "xcb".
Well, it is correct, the xcb plugin is missing on the installation. I've
google now for hours but I cannot find a solution.
When building qtbase the configure script says that xcb backend is enabled:
     XCB .................. yes (system library)

My Application DEPENDS and RDEPENDS on qtbase and qtmultimedia, is that
correct?
Additionally I have set in my local.conf:
IMAGE_INSTALL_append = " qtbase qt3d qtconnectivity qtmultimedia
qtserialport qtsvg qtx11extras qplayerexample"
DISTRO_FEATURES_append = " x11 xcb"
qplayerexample is my application.
I am building core-image-x11, DISTRO is poky, MACHINE is beagleboard.
What do I have to do to get the xcb plugin?

What I was wondering: in the poky configuration of yocto 1.6 one of the
default image features is wayland. I have no idea of wayland (yet) and
would like to stick to x11 for now. My guess is, that this variable is
overwritten because I am building core-image-x11. Is that correct?

Fabian
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to