I build 3 images with different environment such as DISTRO=fsl-imx-x11, fsl-imx-fb, and fsl-imx-wayland.
Then I tested 2dpainting, a Qt example, and it located at /usr/share/qt5/example/opengl/2dpainting/ .
However, I find this sample can only work with Wayland but not x11 and fb.
We found the sample has 2 window for Native and OpenGL.
In x11 and fb environment, there is only Native window working but OpenGL not.
In Wayland environment, there are two window working simultaneously.
Why it has the difference in these environment?
And How to make it work in x11 and fb?