Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2849

Graphical Environments & Desktops • Re: Debian 12 Wayland session: qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""

$
0
0
Wayland
...
AppImage
...
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
Most likely the appimage includes incompatible library versions and/or needs to be rebuilt to work properly with wayland. Welcome to the "future" of "universal" package formats. :roll:

Code:

export QT_QPA_PLATFORM=xcb
which is applicable only on a current terminal session I guess.
Environment variables are "applicable" to any program launched with them set in its environment.
This one in particular forces QT to use X11 rather than wayland, which in a wayland session means the program will run under xwayland.
which workaround needs to be done so it starts working for all users (like apps launched using cronjobs)?
Set the environment when launching the application, i.e. call it as 'VAR=value application', or export it in the parent shell. You don't want to export QT_QPA_PLATFORM globally, as that will largely defeat the purpose of running wayland to begin with (and probably also break plasma).
You shouldn't need to mess with this one at all, except to work around wayland-related bugs or when using broken "universal" packages from outside the Debian repos.

Statistics: Posted by steve_v — 2024-11-04 11:32



Viewing all articles
Browse latest Browse all 2849

Trending Articles