Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] telegram-desktop not starting since last pacman -Syyu (Read 438 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] telegram-desktop not starting since last pacman -Syyu

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?

Re: telegram-desktop not starting since last pacman -Syyu

Reply #1
Seems to work OK on an updated system.
Try to run it without any env vars set, preferably with a new user.

artist

 

Re: telegram-desktop not starting since last pacman -Syyu

Reply #2
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!