I have cross compiled Qt application with multiple windows and running the same on IMX8(target board) using platform wayland-egl. The sub-window is used to render the 3D. I am not able to see the 3D on the sub-window. Instead I am seeing a blank black screen.
The same application is configured for Desktop and is working perfectly fine.
Is there any issue with using Wayland platform to run multiple windows application?

To test this scenario, I created an application with 2 windows where in the sub-window contains a rectangle whose color alternates between Red and Black based on the click from the root window button. This works fine on the Desktop where as on IMX8, the application crashes after two clicks on root window.