Debian Bookworm(testing) をインストールしたラップトップから obs を起動しても何も起きない。コマンドラインから起動すると以下のエラーが出る。

$ obs
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: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

zsh: IOT instruction  obs

「obs qt_qpa_platform wayland」で検索。バグ報告を発見。

I encountered the same error but was able to start OBS after installing the qtwayland5 package.

qtwayland5 をインストールしたら解決したとのこと。

$ sudo apt install qtwayland5

$ obs

動いた。

ちなみに qt6-wayland もあるけど開発状況はどんなんだろう、と調べたところこの通り。次のバージョンで移行するそう。 Plan to Upgrade OBS Studio to Qt 6 · Discussion #6481