ivan-hc / OBS-Studio-appimage

OBS Studio AppImage built on top of JuNest, the lightweight Arch Linux based distro that runs on top of any other Linux distro.
https://github.com/ivan-hc/ArchImage
18 stars 2 forks source link

QT Platform plugin not found #8

Closed fiftydinar closed 4 months ago

fiftydinar commented 4 months ago
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, vkkhrdisplay, vnc, xcb.

Fedora Silverblue 39

Is this AppImage tested on Gnome? I guess it tries to use host qt libraries, but Gnome doesn't have them, so it fails to run.

ivan-hc commented 4 months ago

No, I've not tested it on Wayland, also because I have issues with it on Virtualbox.

If you can provide me more tests to improve the AppImage, I would be grateful.

You can start by compiling it on your system.

If you've understand how Archimage works, you should be able to add missing plugins in $DEPENDENCES or scan for missing libraries in $LIBSAVED. The workflow in the script will redirect you on the right way. Thank you.

fiftydinar commented 4 months ago

qt6-wayland dependency is already installed.

I tried to set QT_QPA_PLATFORM=wayland environment variable, that doesn't work.

But when I set QT_QPA_PLATFORM=xcb (x11), it launches successfully.

This is a workaround though, as I think that official OBS supports Wayland.

ivan-hc commented 4 months ago

Let me try with this environment variable on X11, maybe I can export that by default

fiftydinar commented 4 months ago

I think that is necessary for all your other QT AppImages too, as they also don't launch on my system for this same reason.

ivan-hc commented 4 months ago

retry the build from releases when this workflow run has finished

https://github.com/ivan-hc/OBS-Studio-appimage/actions/runs/8095863642

ivan-hc commented 4 months ago

I think that is necessary for all your other QT AppImages too, as they also don't launch on my system for this same reason.

Let we see if it works for you, and if so, I'll change everything you say.

Can you redirect me on my QT apps, I've lost the count :S

OBS, qbittorrent... then?

EDIT: ...VLC. Then they are only 3

fiftydinar commented 4 months ago

qBitTorrent launches successfully, but still has that error in logs. So QT_QPA_PLATFORM=xcb is needed for that too, as it rids of that error.

On VLC, it makes no difference.

fiftydinar commented 4 months ago

retry the build from releases when this workflow run has finished

https://github.com/ivan-hc/OBS-Studio-appimage/actions/runs/8095863642

This one launches successfully without any modifications. Just download and run!

ivan-hc commented 4 months ago

Yes, I've already tested it when ready (its my son, after all :P )