Failed to run Qt5 application under xwayland using xcb backend

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Failed to run Qt5 application under xwayland using xcb backend

5,445 Views
zyend
Contributor II

Hi all,

I'm currently evaluation the imx8mquad, linux branch rocko-4.9.123-2.3.0_8mm_ga.

Building a fsl-imx-xwayland DISTRO with  Qt 5.10 installed.

weston is also installed as the reference wayland compositor.

The imx8 is connected to a 1920x1080 touchscreen monitor on hdmi.

I can execute the Qt samples using -platform wayland-egl

But I would like to try to run my own compositor. For testing, I tried to run Qt qwindow-compositor sample.

It works, but actually I would like to test it without Weston.

So I stopped Weston and launched the following command line as suggested by qt:

qwindow-compositor -platform xcb

But it failed:

qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.

Well, I'm fairly new into NXP ecosystem. 

I realized that directfb is not supported yet by imx8 (will it be in the future???).

But normally, xwayland should provide a backward compatibility with X11 applications ?

So I should be able to run the qwindow-compositor sample with xcb plugin ?

Did I make a mistake ?

Thanks for your feedback, it's a very blocking issue for me.

K.

0 Kudos
2 Replies

1,217 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Karim,

xcb plugin  means it need X11, X11 will be supported but so far there is no support.

Regards

0 Kudos

1,217 Views
zyend
Contributor II

Hello,

thanks for your feedback.

Ok I understand, but I thought it was possible to run X11 applications under XWayland ?

Have I misunderstood ?

Best Regards.

0 Kudos