MediaElch
MediaElch copied to clipboard
Could not load the Qt platform plugin "xcb" in "" even though it was found.
Describe the bug
After the last OS update MediaElch 2.8.6
crashes on startup. I've checked the previous version 2.8.4 and it's the same problem.
To Reproduce Steps to reproduce the behavior:
- Run the application from CLI
QT_DEBUG_PLUGINS=1 ./MediaElch_2.8.6.AppImage
- See error / Crash
QT_DEBUG_PLUGINS=1 ./MediaElch_2.8.6.AppImage
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_MediaEiKQIti/usr/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_MediaEiKQIti/usr/plugins/platforms/libqxcb.so"
Found metadata in lib /tmp/.mount_MediaEiKQIti/usr/plugins/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"archreq": 0,
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_MediaEiKQIti/usr/bin/platforms" ...
Cannot load library /tmp/.mount_MediaEiKQIti/usr/plugins/platforms/libqxcb.so: (/usr/lib64/libQt5Gui.so.5: version `Qt_5_PRIVATE_API' not found (required by /tmp/.mount_MediaEiKQIti/usr/plugins/platforms/libqxcb.so))
QLibraryPrivate::loadPlugin failed on "/tmp/.mount_MediaEiKQIti/usr/plugins/platforms/libqxcb.so" : "Cannot load library /tmp/.mount_MediaEiKQIti/usr/plugins/platforms/libqxcb.so: (/usr/lib64/libQt5Gui.so.5: version `Qt_5_PRIVATE_API' not found (required by /tmp/.mount_MediaEiKQIti/usr/plugins/platforms/libqxcb.so))"
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: xcb.
Aborted (core dumped)
Expected behavior Application should start
MediaElch Version:
- [ ] 2.8.7-dev (nightly)
- [x] 2.8.6 stable
Operating System:
- [ ] Windows
- [ ] macOS
- [x] Linux (distribution: Fedora 33 64bit Gnome 3.38.3)
Additional context
It stopped working after the last OS update.
I've checked the dnf history
and the only packages that, to my mind, might've something to do with this are:
Upgrade kernel-5.10.14-200.fc33.x86_64
Upgrade graphene-1.10.4-1.fc33.x86_64
Removed kmod-vhba-5.10.12-200.fc33.x86_64-20200106-1.fc33.x86_64
ps. v2.8.2 & older work just fine
Strange... I'll have to try to reproduce this in a virtual machine. That may take some time.
It may be an issue with AppImage. They don't bundle everything and some distributions are not supported. Do you use Wayland or X11?
X11