keepassxc fails to start with could not find or load the Qt platform plugin "xcb" in "".
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keepassxc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I recently installed keepassxc and attempted to launch it both from the activities menu and from the command line without success. When I try to run the application from the command line I see:
$ keepassxc --help
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-
Reinstalling the application may fix this problem.
Aborted
Trying to find what is wrong with the xcb plugin I ran again with QT_DEBUG_PLUGINS sete to 1.
$ QT_DEBUG_PLUGINS=1 keepassxc --help
QFactoryLoader:
QFactoryLoader:
Found metadata in lib /usr/lib/
{
"IID": "org.qt-
"MetaData": {
"Keys": [
"eglfs"
]
},
"className": "QEglFSIntegrat
"debug": false,
"version": 329989
}
Got keys from plugin meta data ("eglfs")
QFactoryLoader:
Found metadata in lib /usr/lib/
{
"IID": "org.qt-
"MetaData": {
"Keys": [
]
},
"className": "QLinuxFbIntegr
"debug": false,
"version": 329989
}
Got keys from plugin meta data ("linuxfb")
QFactoryLoader:
Found metadata in lib /usr/lib/
{
"IID": "org.qt-
"MetaData": {
"Keys": [
]
},
"className": "QMinimalIntegr
"debug": false,
"version": 329989
}
Got keys from plugin meta data ("minimal")
QFactoryLoader:
Found metadata in lib /usr/lib/
{
"IID": "org.qt-
"MetaData": {
"Keys": [
]
},
"className": "QMinimalEglInt
"debug": false,
"version": 329989
}
Got keys from plugin meta data ("minimalegl")
QFactoryLoader:
Found metadata in lib /usr/lib/
{
"IID": "org.qt-
"MetaData": {
"Keys": [
]
},
"className": "QOffscreenInte
"debug": false,
"version": 329989
}
Got keys from plugin meta data ("offscreen")
QFactoryLoader:
Found metadata in lib /usr/lib/
{
"IID": "org.qt-
"MetaData": {
"Keys": [
"vnc"
]
},
"className": "QVncIntegratio
"debug": false,
"version": 329989
}
Got keys from plugin meta data ("vnc")
QFactoryLoader:
Found metadata in lib /usr/lib/
{
"IID": "org.qt-
"MetaData": {
"Keys": [
]
},
"className": "QWaylandEglPla
"debug": false,
"version": 329989
}
Got keys from plugin meta data ("wayland-egl")
QFactoryLoader:
Found metadata in lib /usr/lib/
{
"IID": "org.qt-
"MetaData": {
"Keys": [
]
},
"className": "QWaylandIntegr
"debug": false,
"version": 329989
}
Got keys from plugin meta data ("wayland")
QFactoryLoader:
Found metadata in lib /usr/lib/
{
"IID": "org.qt-
"MetaData": {
"Keys": [
]
},
"className": "QWaylandXCompo
"debug": false,
"version": 329989
}
Got keys from plugin meta data ("wayland-
QFactoryLoader:
Found metadata in lib /usr/lib/
{
"IID": "org.qt-
"MetaData": {
"Keys": [
]
},
"className": "QWaylandXCompo
"debug": false,
"version": 329989
}
Got keys from plugin meta data ("wayland-
QFactoryLoader:
Found metadata in lib /usr/lib/
{
"IID": "org.qt-
"MetaData": {
"Keys": [
"xcb"
]
},
"className": "QXcbIntegratio
"debug": false,
"version": 329989
}
Got keys from plugin meta data ("xcb")
Cannot load library /usr/lib/
QLibraryPrivate
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-
Reinstalling the application may fix this problem.
Aborted
The final part of the message seems to be the most relevant to my issue.
I am not very familiar with Qt development. Some searching suggests I have a mismatch between the Qt on my machine and that which the package needs? Would this be a packaging problem or am I likely to have broken something long ago while compiling a Qt application?
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: keepassxc 2.3.1+dfsg.1-1
ProcVersionSign
Uname: Linux 4.15.0-43-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Jan 7 09:00:09 2019
InstallationDate: Installed on 2017-11-16 (416 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
SourcePackage: keepassxc
UpgradeStatus: Upgraded to bionic on 2018-07-27 (163 days ago)