Important: Please read the Qt Code of Conduct -

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);

    The above code is for main Window. The Window class is the child class of QOpenGLWindow.

Log in to reply