View Single Post
Old 09-26-2020, 01:28 PM   #1
brown131
Junior Member
brown131 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2020
Device: Kobo Nia
Calibre 5.0.1 Could not load the Qt platform plugin "xcb" FIXED

I upgraded to Calibre 5.0.1 on a Ubuntu 14.4 LTS system, and got this error when I tried starting calibre:

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.

Reinstalling libxkbcommon-x11-0 did not help. To fix it, I first did "export QT_DEBUG_PLUGINS=1" This allowed me to see what the missing libraries were. I then looked them up one at a time at https://packages.ubuntu.com to see what package they belonged to.

I found that I needed to manually install the following apt packages:
libxcb-xinerama0
libxcb-icccm4
libxcb-image0
libxcb-keysyms1
libxcb-render-util0

I hope others find this helpful.
brown131 is offline   Reply With Quote