Skip to content

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.

11 points2 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
11 · 72% up
Kind
Text
ID
xt8upf

Author

12
posts
43
comments
0
media
View profile

2 comments

This will only happen if you enforce

QT_QPA_PLATFORM~=wayland

or if there is no xwayland support installed. Otherwise obs will use xwayland

The button to add a new bug is btw here

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.