OBS needs to mark Qt6-Wayland as a dependency or opt-dependency
At present if you download OBS-Studio from the community repo, and try to launch it under a wayland session, it will crash almost immediately with the message qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "". This is easily solved either by installing the package qt6-wayland or by forcing fallback to X11 mode by setting the environment variable QT_QPA_PLATFORM=xcb. I tried to report my problem and solution through the official bug tracker, but couldn't find the submit bug button. This problem does not exist in the flatpak version, which I can only guess provides it's own copy of libqwayland-egl.so.
Edit: apparantly qt6-base does actually mark Qt6-Wayland as an opt-depenedency, so I guess OBS also doing so would be a bit redundent.
Edited 1 Oct 2022. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 11 · 72% up
- Kind
- Text
- ID
- xt8upf
2 comments
This will only happen if you enforce
or if there is no xwayland support installed. Otherwise obs will use xwayland
The button to add a new bug is btw here
No, obs overrides Qt's platform detection and enforces the Wayland platform if running in a Wayland session. See https://bugs.archlinux.org/task/72972