Details
-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
None
-
6.5.0 Beta3
-
None
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.