![]() |
#1 |
Junior Member
![]() 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. |
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,540
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Did you download Calibre from the Calibre website or did you download it from your repository. If you downloaded from your repository then the issues you had could have been because of that. Repositories quite often get Calibre wrong.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,232
Karma: 23446430
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes, Qt now-a-days no longer bundles large parts of xcb with itself, so you hve to have more of those libraries installed on your system. Typically, only installing libxcb-xinerama0 should be needed.
|
![]() |
![]() |
![]() |
#4 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,104
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
bernie |
|
![]() |
![]() |
![]() |
#5 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,540
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Can you block Calibre 5 from being installed on obsolete Linux systems?
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2006
Location: Ottawa, Canada
Device: Compaq laptop, ubuntu 16.04
|
I had the same problem as brown131, with Ubuntu 16.04 using the command line install from the Calibre website. Installing libxcb-xinerama0 seems to have solved the problem; all the other libxcb-* mentioned by brown131 were already on my system. Thanks all round for the help.
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: May 2015
Device: Kobo Glo
|
|
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2014
Device: Kindle Touch
|
I've installed all the suggested packaged in my Debian 10 but I still have this error
Code:
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, xcb. Annullato |
![]() |
![]() |
![]() |
#9 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,540
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#10 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,535
Karma: 74358018
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Jon. Reading the op's post it states installed using the script from the web site. To my eye that is the official install and not from a distributions repository
|
![]() |
![]() |
![]() |
#11 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,535
Karma: 74358018
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
From the calibre Linux download page
Quote:
|
|
![]() |
![]() |
![]() |
#12 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2014
Device: Kindle Touch
|
I've installed and updated Calibre only from the script https://download.calibre-ebook.com/linux-installer.sh
|
![]() |
![]() |
![]() |
#13 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2014
Device: Kindle Touch
|
It was missing libxcb-randr0
|
![]() |
![]() |
![]() |
#14 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2009
Device: none
|
'invalid style override 'gtk''
I was getting the 'abort' message cited in the thread on upgrading Calibre.
After installing libxcb-xinerama0, when launching Calibre from Terminal I receive the following: QApplication: invalid style override 'gtk' passed, ignoring it. Available styles: Windows, Fusion Using proxies: {'no': 'localhost,127.0.0.0/8,::1'} I am running Linux Mint 18.1 Cinnamon 64-bit. Thanks! Best, Simon |
![]() |
![]() |
![]() |
#15 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Dec 2020
Device: Kindle Paperwhite
|
Anyone coming from the Calibre site confused and already tried the xlib stuff: Make sure you have qt5 installed! I'm on a completely fresh machine and needed it to work.
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre 4.0 - qt.qpa.pluginCould not load the Qt platform plugin "xcb" in "" even tho | PaceyIV | Calibre | 3 | 10-04-2019 08:58 PM |
Kindle Keyboard "cannot load page" error when trying to access Calibre server | crouton | Devices | 6 | 09-30-2013 10:33 PM |
Microsoft Reader plugin "Read in" for Word doesn't load anymore | K-Thom | Reading and Management | 15 | 04-17-2009 05:52 AM |
"Liquid" / "Fixed" - how to switch layouts | Alexander Turcic | Announcements | 0 | 06-05-2007 09:29 AM |