Qt 6.11 is out! See what's new in the release
blog
Render a Window using QwaylandCompositor
-
My requirement is to render a QOpenGLWindow using QWindowCompositor. I created a window as main window. So I need to render a sub window inside the main window.
Window window; Compositor compositor(&window); window.setCompositor(&compositor); compositor.create(); window.resize(800,600); window.show();The above code is for main Window. The Window class is the child class of QOpenGLWindow.