All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Federau <benjamin.federau@basyskom.com>
To: Vahid Gharaee <vgharaee@gmail.com>
Cc: meta-freescale@yoctoproject.org
Subject: Re: qtwayland
Date: Mon, 7 Aug 2017 17:08:36 +0200	[thread overview]
Message-ID: <3174272441-21928@mx1.basyskom.com> (raw)
In-Reply-To: <CANOGoQLZ6mqyLVbmH+Jgx06OhfOABhn+YaW3E1EWi=t5-mCopA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1893 bytes --]



 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: 10058 bytes --]

  reply	other threads:[~2017-08-07 15:08 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 ` Benjamin Federau [this message]
2017-08-08  5:44   ` qtwayland Vahid Gharaee
2017-08-09  9:19     ` qtwayland Benjamin Federau

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=3174272441-21928@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.