From: Benjamin Federau <benjamin.federau@basyskom.com>
To: Vahid Gharaee <vgharaee@gmail.com>
Cc: meta-freescale@yoctoproject.org
Subject: Re: qtwayland
Date: Wed, 9 Aug 2017 11:19:40 +0200 [thread overview]
Message-ID: <3326052061-4943@mx1.basyskom.com> (raw)
In-Reply-To: <CANOGoQKjJbxeW=hMJqu0L6WRH1ZQx4dFKEkoMbqmjGqXn=PrxQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2981 bytes --]
Von: Vahid Gharaee <vgharaee@gmail.com>
Gesendet: 08.08.2017 7:44
Betreff: Re: [meta-freescale] qtwayland
Dear Benjamin,
thanks for the reply.
with "fsl-image-qt5" I do not have 'eglfs' platform plugin. I looked into qt-base recipe and the 'eglfs' exists there!!
when i build image "fsl-image-gui" then I was able to run $qml-copositor -platform eglfs
but I want qt libraries! how could I have eglfs on "fsl-image-qt5" it just has: offscreen, minimal, wayland, wayland-egl.
sorry if the question is idiotic! i'm new in qt and yocto!
thanks again for your help.
Vahid
Ok, it looks like the fsl-image-qt5 is set up for X11 and the fsl-image-gui image does not contain any Qt libs. To be honest I haven't used the yocto bsp 4.1.0-2.1.0 from NXP, so I do not know more details about its recipe contents and it could be that there is no QtWayland ready-to use image for you.
Maybe you should create your own image recipe to get QtWayland running.
On Mon, Aug 7, 2017 at 7:38 PM, Benjamin Federau <benjamin.federau@basyskom.com> wrote:
Von: Vahid Gharaee <vgharaee@gmail.com>
An: <meta-freescale@yoctoproject.org>
Gesendet: 02.08.2017 12:38
Betreff: [meta-freescale] qtwayland
Dear all,
I have imx6sxsabresd, yocto 4.1.0-2.1.0 from NXP.
i built image fsl-image-qt5
also qtwayland
weston works fine.
qml-compositor example does not work:
on running weston :
unable to lock lockfile /run/user/root/wayland-0.lock, maybe another compositor is running.
without weston:
QXcbConnection: Could not connect to display : 0.0
It looks like the qml-compositor is started with the xcb QPA plugin. Have you installed a X server and it is running?
On my i.MX6 I use the Qt compositor examples with the eglfs QPA plugin (-platform eglfs), but of course it depends on your image setup.
I also have to set the XDG_RUNTIME_DIR env var.
E.g.:
export XDG_RUNTIME_DIR=/tmp/weston-$USER
mkdir -p /tmp/weston-$USER
chmod 700 /tmp/weston-$USER
qml-compositor -platform eglfs
PS:
LD_LIBRARY_PATH=/usr/lib
DISPLAY=:0.0
for qtwayland i copied :
<board dir>/tmp/work/cortexA9hf-neon-mx6sx-poky-linux-gnueabi/qtwayland/image/usr to <board>/usr/
could anyone help me please?
1- should i bitbake another image?
2- should i compile compositor and install it on board?
3- do i need specific environment variable?
4- does qtwayland works for this distribution i have?
thanks a lot
--
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale
--
M.Sc. Benjamin Federau
Integration Engineer
basysKom GmbH
Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany
benjamin.federau@basyskom.com | www.basyskom.com
Handelsregister: Darmstadt HRB 9352
Geschaeftsfuehrung: Dr.-Ing. Eva Brucherseifer, Heike Ziegler
[-- Attachment #2: Type: text/html, Size: 12807 bytes --]
prev parent reply other threads:[~2017-08-09 9:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-02 10:38 qtwayland Vahid Gharaee
2017-08-07 15:08 ` qtwayland Benjamin Federau
2017-08-08 5:44 ` qtwayland Vahid Gharaee
2017-08-09 9:19 ` Benjamin Federau [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=3326052061-4943@mx1.basyskom.com \
--to=benjamin.federau@basyskom.com \
--cc=meta-freescale@yoctoproject.org \
--cc=vgharaee@gmail.com \
/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.