qt compositor

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

qt compositor

跳至解决方案
2,679 次查看
adelantesey
Contributor IV

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 

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

0 项奖励
回复
1 解答
2,014 次查看
adelantesey
Contributor IV

Dears,

in hope of some one find it useful,

i built "fsl-image-gui"  (i added qtwayland in the local.conf, IMAGE_INSTALL) on this image then i copied the content of qtwayland/image/usr to the rootfs. 

i was able to run qtcompositor. 

the difference is this time i have "eglfs" platform and i used --platform eglfs to run qtcompositor. i thought wayland compositors are able to be run with all ather backends even wayland itself. but i couldn't do it. it works just with eglfs.

i wish someone could tell me how to add eglfs to "fsl-image-qt5

 i added : 

PACKAGECONFIG_DISTRO_pn-qtbase+=" eglfs "

but the image still does not have eglfs and i hve to use "fsl-image-qt5"

good luck everybody 

在原帖中查看解决方案

1 回复
2,015 次查看
adelantesey
Contributor IV

Dears,

in hope of some one find it useful,

i built "fsl-image-gui"  (i added qtwayland in the local.conf, IMAGE_INSTALL) on this image then i copied the content of qtwayland/image/usr to the rootfs. 

i was able to run qtcompositor. 

the difference is this time i have "eglfs" platform and i used --platform eglfs to run qtcompositor. i thought wayland compositors are able to be run with all ather backends even wayland itself. but i couldn't do it. it works just with eglfs.

i wish someone could tell me how to add eglfs to "fsl-image-qt5

 i added : 

PACKAGECONFIG_DISTRO_pn-qtbase+=" eglfs "

but the image still does not have eglfs and i hve to use "fsl-image-qt5"

good luck everybody