Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-111519

Qt 6.5.0 Beta 3 tries to force the wayland QPA platform in an X11 session

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 6.5.0 Beta3
    • GUI: Other
    • None
    • Linux/X11

    Description

      On a Linux system that has both X11 and Wayland installed, and is running an X11 session (Plasma 5.27.1 on Xorg), launching any Qt 6 application results in

      qt.qpa.wayland: No shell integration named "xdg-shell" found
      qt.qpa.wayland: No shell integration named "wl-shell" found
      qt.qpa.wayland: No shell integration named "ivi-shell" found
      qt.qpa.wayland: No shell integration named "qt-shell" found
      qt.qpa.wayland: Loading shell integration failed.
      qt.qpa.wayland: Attempted to load the following shells QList("xdg-shell", "wl-shell", "ivi-shell", "qt-shell")

      followed by a hang (probably trying to send widgets to a wayland display that doesn't exist).

      Everything works perfectly after setting export QT_QPA_PLATFORM=xcb – so the problem appears to be platform detection preferring wayland over xcb even if wayland is installed but not running.

      6.4.2 works fine without having to set QT_QPA_PLATFORM.

      Attachments

        Activity

          People

            bero Bernhard Rosenkränzer
            bero Bernhard Rosenkränzer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: