Von:   Vahid Gharaee <vghar...@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.
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.fede...@basyskom.com> wrote:

 Von:   Vahid Gharaee <vghar...@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.
export XDG_RUNTIME_DIR=/tmp/weston-$USER
mkdir -p /tmp/weston-$USER
chmod 700 /tmp/weston-$USER
qml-compositor -platform eglfs

for qtwayland i copied :
dir>/tmp/work/cortexA9hf-neon-mx6sx-poky-linux-gnueabi/qtwayland/image/usr to 
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 

M.Sc. Benjamin Federau 
Integration Engineer 
basysKom GmbH 
Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany 
benjamin.fede...@basyskom.com  | www.basyskom.com 
Handelsregister: Darmstadt HRB 9352 
Geschaeftsfuehrung: Dr.-Ing. Eva Brucherseifer, Heike Ziegler

meta-freescale mailing list

Reply via email to