turanmahmudov / Instagraph

Unofficial Instagram Client
GNU General Public License v3.0
11 stars 2 forks source link

Include QT platform wayland-egl plugin #64

Open depau opened 5 years ago

depau commented 5 years ago

Hello, I'm trying to run Instagraph (snap run instagraph) on Wayland with QT_QPA_PLATFORM=wayland-egl set in /etc/environment.

I get the following error:

This application failed to start because it could not find or load the Qt platform plugin "wayland-egl".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, ubuntumirclient, xcb.

Reinstalling the application may fix this problem.
[1]    4665 abort (core dumped)  snap run instagraph

Usually I solve this problem by overriding the variable with xcb, however this does not work with Snap as it doesn't use the current shell environment. I believe it gets a brand new one from PAM.

Is it possible to include the wayland-egl plugin in the Qt5 build?

Thank you.

jasaldivara commented 4 years ago

I have this same issue.

This is the output when I try tu run Instagraph from de command line:

WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement This application failed to start because it could not find or load the Qt platform plugin "wayland-egl". Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, ubuntumirclient, xcb. Reinstalling the application may fix this problem. zsh: abort (core dumped) instagraph

I'm on Fedora 31, x86-64, Gnome 3.34.3 on Wayland

VelocityDesign commented 3 years ago

This application failed to start because it could not find or load the Qt platform plugin "wayland-egl".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, ubuntumirclient, xcb.

Reinstalling the application may fix this problem. Aborted (core dumped)

This is what I'm getting. I'm using Arch with Gnome (Wayland).