All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabian Schwartau <fabian@opencode.eu>
To: yocto@yoctoproject.org
Subject: Qt5 xcb platform plugin missing
Date: Sun, 30 Nov 2014 12:49:44 +0100	[thread overview]
Message-ID: <547B0458.1020604@opencode.eu> (raw)

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


             reply	other threads:[~2014-11-30 11:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-30 11:49 Fabian Schwartau [this message]
2014-11-30 13:31 ` Qt5 xcb platform plugin missing Fabian Schwartau

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=547B0458.1020604@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.