'startup qt app in wayland weston

I use wayland weston and qt 5.6.2 in my arm board and start my app with bellow commands

openvt -s -- weston --backend=fbdev-backend.so --idle-time=0
/root/myapp -platform wayland-egl

but before my app starts, it shown weston shell.I need to start my qt app at startup without showing weston shell, is it possible?



Solution 1:[1]

You can try the answers on this question and also change the background to black.

However, if you're just going to run one application fullscreen, you could skip Weston altogether and just run the client with the eglfs backend. I.e:

/root/myapp -platform eglfs

or perhaps linuxfb if eglfs is not supported on your system.

/root/myapp -platform linuxfb

If you for some reason need to use Wayland, another thing you could do is use one of the example Qt Wayland compositors. I.e: minimal-qml. And then just change the background color to black or whatever you want.

Solution 2:[2]

You can add following settings to config file from path /etc/xdg/weston/weston.ini

[shell]
background-image=""
background-color=0xFF000000
panel-color=0xFF000000
panel-position=none

the above settings will set background color to black and will remove upper panel of weston

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 sayyed mohsen zahraee