09-26-2020, 02:28 PM | #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. |
09-26-2020, 04:12 PM | #2 |
Resident Curmudgeon
Posts: 76,491
Karma: 136564766
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 | |
|
09-26-2020, 10:02 PM | #3 |
creator of calibre
Posts: 44,564
Karma: 24495948
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.
|
09-26-2020, 10:27 PM | #4 | |
Wizard
Posts: 2,128
Karma: 8796706
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
bernie |
|
09-28-2020, 08:29 AM | #5 |
Resident Curmudgeon
Posts: 76,491
Karma: 136564766
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 | |
|
09-29-2020, 05:25 PM | #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.
|
11-04-2020, 05:21 PM | #7 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2015
Device: Kobo Glo
|
|
12-03-2020, 05:16 PM | #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 |
12-03-2020, 05:25 PM | #9 | |
Resident Curmudgeon
Posts: 76,491
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
12-03-2020, 08:46 PM | #10 |
Grand Sorcerer
Posts: 12,767
Karma: 75003038
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
|
12-03-2020, 08:52 PM | #11 | |
Grand Sorcerer
Posts: 12,767
Karma: 75003038
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
From the calibre Linux download page
Quote:
|
|
12-04-2020, 07:34 AM | #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
|
12-04-2020, 07:56 AM | #13 |
Member
Posts: 12
Karma: 10
Join Date: Apr 2014
Device: Kindle Touch
|
It was missing libxcb-randr0
|
12-23-2020, 06:44 PM | #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 |
12-31-2020, 02:04 PM | #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.
|
|
Similar Threads | ||||
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 09:58 PM |
Kindle Keyboard "cannot load page" error when trying to access Calibre server | crouton | Devices | 6 | 09-30-2013 11:33 PM |
Microsoft Reader plugin "Read in" for Word doesn't load anymore | K-Thom | Reading and Management | 15 | 04-17-2009 06:52 AM |
"Liquid" / "Fixed" - how to switch layouts | Alexander Turcic | Announcements | 0 | 06-05-2007 10:29 AM |