VirtualGamePad-PC icon indicating copy to clipboard operation
VirtualGamePad-PC copied to clipboard

App support for wayland

Open Lzycode-byte opened this issue 1 year ago • 3 comments

Im in arch + niri wm:

~/Downloads/Virtual-GamePad-Ubuntu/bin ❯ cat /tmp/virtualgamepad.log

[2025-11-08T08:09:04.165 info] Launching app... [2025-11-08T08:09:04.165 warning] Could not find the Qt platform plugin "wayland" in "" [2025-11-08T08:09:04.165 fatal] 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.

Lzycode-byte avatar Nov 08 '25 00:11 Lzycode-byte

Hmm...
The app is only tested on Ubuntu and I do not have an Arch VM (with Wayland) handy.

Try to run the app with

QT_QPA_PLATFORM=xcb ./VirtualGamePad

Or install the qt6-wayland library with

sudo pacman -S qt6-wayland

Do let me know how it goes.

kitswas avatar Nov 09 '25 14:11 kitswas

Hmm... The app is only tested on Ubuntu and I do not have an Arch VM (with Wayland) handy.

Try to run the app with

QT_QPA_PLATFORM=xcb ./VirtualGamePad

Or install the qt6-wayland library with

sudo pacman -S qt6-wayland

Do let me know how it goes.

that worked! thank you!

Lzycode-byte avatar Nov 11 '25 00:11 Lzycode-byte

Hmm... The app is only tested on Ubuntu and I do not have an Arch VM (with Wayland) handy.

Try to run the app with

QT_QPA_PLATFORM=xcb ./VirtualGamePad

Or install the qt6-wayland library with

sudo pacman -S qt6-wayland

Do let me know how it goes.

I just had a similar issue on Debian Unstable (codename sid) the first suggestion fixed the issue for me, but I am not sure why it didn't fallback to xcb, I'm using Plasma Wayland session, all packages from only official Debian repositories and I have checked that my system is up to date.

perhaps there is something to look into as to why it didn't fallback to xcb, I would expect it to

nicole-jf avatar Jan 11 '26 21:01 nicole-jf