mrmoein / warp-cloudflare-gui

A GUI application based on warp-cli for Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't start

rrebollo opened this issue · comments

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
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, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

Aborted (core dumped)

Kernel: 4.19.0-19-amd64 x86_64 bits: 64 Desktop: Cinnamon 5.0.7 Distro: LMDE 4 Debbie

Solution found in a qt forum:
coffeesmoke Nov 23, 2020, 2:46 AM

So, Debian 10:

ldd -r <for example, home dir>/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so | grep libxcb-util

libxcb-util.so.1 => not found

Ok, continue...
sudo find /usr/lib | grep libxcb-util
...
libxcb-util.so.0.0.0
libxcb-util.so.0.0
libxcb-util.so.0
, but need
libxcb-util.so.1

Ok, Debian... :) Redy?
sudo ln -fs /usr/lib/x86_64-linux-gnu/libxcb-util.so.0.0.0 /usr/lib/x86_64-linux-gnu/libxcb-util.so.1.0.0
sudo ln -fs /usr/lib/x86_64-linux-gnu/libxcb-util.so.0.0.0 /usr/lib/x86_64-linux-gnu/libxcb-util.so.1.0
sudo ln -fs /usr/lib/x86_64-linux-gnu/libxcb-util.so.0.0.0 /usr/lib/x86_64-linux-gnu/libxcb-util.so.1

For anyone running into a similar issue I found that simply running sudo apt-get install --reinstall libxcb-xinerama0 fixes the problem 😄

commented

@LegendaryBob13 Thanks, it worked on Ubuntu 20.04
//edit Also worked on Ubuntu 22.04! :D