question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

can't start AppImage on fresh Xubuntu 19.04 - "qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found."

See original GitHub issue

Running off the Xubuntu 19.04 live USB stick:

xubuntu@xubuntu:~/Downloads$ ./Electron-Cash-4.0.12-x86_64.AppImage 
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)

When I apt-installed system package python3-pyqt5, this error went away and AppImage started fine. I think the AppImage is missing a .so file somehow… will look into it more.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8

github_iconTop GitHub Comments

5reactions
EchterAgocommented, Jan 17, 2020

I can reproduce the issue in a VM. When you install the libxkbcommon-x11-0 package it will work:

apt update && apt install libxkbcommon-x11-0

I’ll see if we can include this library into the AppImage without breaking older distros.

0reactions
cculianucommented, Jan 21, 2020

(also cherry-picked over to cashfusion branch just now)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not load the Qt platform plugin "xcb" in "" even though it ...
The only thing I understood is that I have some missing libraries the application relies upon? I already tried this solution, sudo apt-get ......
Read more >
solved: Could not load the Qt platform plugin "xcb" #300 - GitHub
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Read more >
Could not load the Qt platform plugin "xcb" in "" even though it ...
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. ...
Read more >
Could not load the Qt platform plugin "xcb" in "" even though it ...
Hey there, I am trying to get FlatCAM into an AppImage and I'm facing some problems. First I tried to install the stable...
Read more >
How to fix 'Could not load the Qt platform plugin "xcb" in ...
I ran into a very similar problem with the same error message. First, debug some by turning on. export QT_DEBUG_PLUGINS=1.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found