Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: kaleidoscope on 23 February 2024, 09:26:01

Title: [SOLVED] telegram-desktop not starting since last pacman -Syyu
Post by: kaleidoscope on 23 February 2024, 09:26:01
Hi there,
since last pacman -Syyu, if I run telegram-desktop this happens:

Code: [Select]
telegram-desktop
qt.qpa.plugin: Could not find the Qt platform plugin "gtk" in "/usr/lib/qt/plugins/platforms/"
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimalegl, wayland-egl, wayland, vkkhrdisplay, vnc, xcb, linuxfb, eglfs, offscreen, minimal.

Aborted

This are my environment variables about qt:
Code: [Select]
export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/qt/plugins/platforms/
export QT_PLUGIN_PATH=/usr/lib/qt/plugins
export QT_QPA_PLATFORMTHEME=gtk3

And this is my ls /usr/lib/qt/plugins/platforms/:
Code: [Select]
libqeglfs.so    libqminimalegl.so  libqoffscreen.so  libqxcb.so
libqlinuxfb.so  libqminimal.so     libqvnc.so

Is there something I missed during the upgrade or is there something I should change?
Title: Re: telegram-desktop not starting since last pacman -Syyu
Post by: Artist on 23 February 2024, 11:17:25
Seems to work OK on an updated system.
Try to run it without any env vars set, preferably with a new user.

artist
Title: Re: telegram-desktop not starting since last pacman -Syyu
Post by: kaleidoscope on 23 February 2024, 14:13:22
Thank you very much,
I checked my environment variables and removed the following one (which was staying in my settings for a long time):
Code: [Select]
export QT_QPA_PLATFORM=gtk
I also had to logout my user. Now telegram-dekstop works perfectly, I don't know why this occurred as a result of the update, maybe something changed in qt*-styleplugin (but I am not prepared about that).

Thanks!