Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
so i tried this:
export QT_QPA_PLATFORM=wayland
now app warns and dont run, with this message:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
Aborted (core dumped)
i found this info but could not find any solution to this…
@charnik Please do the following, If you want to remove the variable from the exported list as well as remove its assigned value, use the unset option:
unset QT_QPA_PLATFORM
and try again to run the application in console to check the logs:
Okay, I think I’m running into a similar issue with Zoom, and possibly other programs.
I’m not setting QT_QPA_PLATFORM, but the system sets it to ‘wayland’ … even when I’m using Xorg (GNOME on Xorg login option). In that sitaution, XDG_SESSION=x11, but QT_QPA_PLATFORM=wayland. I don’t think this is right. Can someone explain?
If you have to use Zoom, you probably are aware of the company’s failure to plan for Wayland over the last 5 years. So, Zoom doesn’t actually fully support Wayland, but it runs on both Xorg and Wayland…until very recently. Zoom broke right after the latest version was released, so I suspect they started paying attention to QT_QPA_PLATFORM and, because that is incorrectly (?) set on Xorg, it Zoom crashes immediately on start. It may also be breaking other QT applications. When I simply unset QT_QPA_PLATFORM, Zoom starts fine.