From: Fabian Schwartau <fabian@opencode.eu>
To: yocto@yoctoproject.org
Subject: Re: Qt5 xcb platform plugin missing
Date: Sun, 30 Nov 2014 14:31:56 +0100 [thread overview]
Message-ID: <547B1C4C.4020309@opencode.eu> (raw)
In-Reply-To: <547B0458.1020604@opencode.eu>
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
prev parent reply other threads:[~2014-11-30 13:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-30 11:49 Qt5 xcb platform plugin missing Fabian Schwartau
2014-11-30 13:31 ` Fabian Schwartau [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=547B1C4C.4020309@opencode.eu \
--to=fabian@opencode.eu \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.