Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Wayland compositor example doesn't work

Wayland compositor example doesn't work

Scheduled Pinned Locked Moved Unsolved General and Desktop
waylandcompositingexamples
4 Posts 3 Posters 1.3k Views
  • 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 Offline
    L Offline
    lartimus
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0
      • L Offline
        L Offline
        lartimus
        wrote on last edited by
        #3

        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
        0
        • L lartimus

          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 Offline
          F Offline
          Furkan
          wrote on last edited by
          #4

          @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
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved