* Qt5 xcb platform plugin missing
@ 2014-11-30 11:49 Fabian Schwartau
2014-11-30 13:31 ` Fabian Schwartau
0 siblings, 1 reply; 2+ messages in thread
From: Fabian Schwartau @ 2014-11-30 11:49 UTC (permalink / raw)
To: yocto
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Qt5 xcb platform plugin missing
2014-11-30 11:49 Qt5 xcb platform plugin missing Fabian Schwartau
@ 2014-11-30 13:31 ` Fabian Schwartau
0 siblings, 0 replies; 2+ messages in thread
From: Fabian Schwartau @ 2014-11-30 13:31 UTC (permalink / raw)
To: yocto
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-30 13:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-30 11:49 Qt5 xcb platform plugin missing Fabian Schwartau
2014-11-30 13:31 ` Fabian Schwartau
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.