Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Unsolved Wayland compositor example doesn't work

    General and Desktop
    wayland compositing examples
    3
    4
    334
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lartimus last edited by

      When attempting to build and run one of the Qt Wayland compositor examples called the overview-compositor, I see some warnings in the Application Output tab as follows:

      Could not create scene graph context for backend 'opengl' - check that plugins are installed correctly in /home/simon/Qt/6.1.0/gcc_64/plugins
      qt.waylandcompositor.hardwareintegration: Failed to initialize EGL display. Could not get EglDisplay for window.
      

      A main window is then displayed with a Toggle overview button. This window is blank, and the toggle view button does nothing.
      Should the main window show something, or do I need to also start some client Qt apps?
      How can I get rid of the warning messages? I assume they are significant.

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        You should add more information about your environment and how you are launching the example.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • L
          lartimus last edited by

          The example does seem to work, even with the warning messages. I just needed to run a Qt application by calling from the command line with -platform wayland.
          I assumed that because of the warning messages it would not work.
          My environment is as follows:
          OS: Ubuntu 20.10 running in VMWare Player virtual machine on a Windows 10 laptop.
          Running from QtCreator 6.1.

          F 1 Reply Last reply Reply Quote 0
          • F
            Furkan @lartimus last edited by

            @lartimus could you find any solution for this situation. I have same warnings for d3d11 also. I can't find any solution for this.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post