c0re100 / qBittorrent-Enhanced-Edition

[Unofficial] qBittorrent Enhanced, based on qBittorrent
https://github.com/c0re100/qBittorrent-Enhanced-Edition
Other
17.73k stars 1.21k forks source link

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. #496

Open newyorkthink opened 11 months ago

newyorkthink commented 11 months ago

qBittorrent & operating system versions

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

What is the problem?

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

 ./Downloads/qBittorrent-Enhanced-Edition-x86_64.AppImage
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: minimal, offscreen, wayland-egl, wayland, xcb.

zsh: IOT instruction  ./Downloads/qBittorrent-Enhanced-Edition-x86_64.AppImage

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

No response

c0re100 commented 11 months ago

ping @abcfy2

abcfy2 commented 11 months ago

Please show the output:

lsb_release -a
QT_DEBUG_PLUGINS=1 ./qBittorrent-Enhanced-Edition-x86_64.AppImage
404NetworkError commented 10 months ago

I ran into this same problem.

Release info ```shell $ lsb_release -a No LSB modules are available. Distributor ID: Linuxmint Description: Linux Mint 21.1 Release: 21.1 Codename: vera ```
Debug info ``` $ QT_DEBUG_PLUGINS=1 ./qBittorrent-Enhanced-Edition-x86_64.AppImage qt.core.plugin.factoryloader: checking directory path "/tmp/.mount_qBittorRC9ZZ/usr/plugins/platforms" ... qt.core.plugin.factoryloader: looking at "/tmp/.mount_qBittorRC9ZZ/usr/plugins/platforms/libqminimal.so" qt.core.plugin.loader: Found metadata in lib /tmp/.mount_qBittorRC9ZZ/usr/plugins/platforms/libqminimal.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimal" ] }, "archlevel": 1, "className": "QMinimalIntegrationPlugin", "debug": false, "version": 394496 } qt.core.plugin.factoryloader: Got keys from plugin meta data QList("minimal") qt.core.plugin.factoryloader: looking at "/tmp/.mount_qBittorRC9ZZ/usr/plugins/platforms/libqoffscreen.so" qt.core.plugin.loader: Found metadata in lib /tmp/.mount_qBittorRC9ZZ/usr/plugins/platforms/libqoffscreen.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "offscreen" ] }, "archlevel": 1, "className": "QOffscreenIntegrationPlugin", "debug": false, "version": 394496 } qt.core.plugin.factoryloader: Got keys from plugin meta data QList("offscreen") qt.core.plugin.factoryloader: looking at "/tmp/.mount_qBittorRC9ZZ/usr/plugins/platforms/libqwayland-egl.so" qt.core.plugin.loader: Found metadata in lib /tmp/.mount_qBittorRC9ZZ/usr/plugins/platforms/libqwayland-egl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "wayland-egl" ] }, "archlevel": 1, "className": "QWaylandEglPlatformIntegrationPlugin", "debug": false, "version": 394496 } qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wayland-egl") qt.core.plugin.factoryloader: looking at "/tmp/.mount_qBittorRC9ZZ/usr/plugins/platforms/libqwayland-generic.so" qt.core.plugin.loader: Found metadata in lib /tmp/.mount_qBittorRC9ZZ/usr/plugins/platforms/libqwayland-generic.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "wayland" ] }, "archlevel": 1, "className": "QWaylandIntegrationPlugin", "debug": false, "version": 394496 } qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wayland") qt.core.plugin.factoryloader: looking at "/tmp/.mount_qBittorRC9ZZ/usr/plugins/platforms/libqxcb.so" qt.core.plugin.loader: Found metadata in lib /tmp/.mount_qBittorRC9ZZ/usr/plugins/platforms/libqxcb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "xcb" ] }, "archlevel": 1, "className": "QXcbIntegrationPlugin", "debug": false, "version": 394496 } qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xcb") qt.core.plugin.factoryloader: checking directory path "/tmp/.mount_qBittorRC9ZZ/usr/bin/platforms" ... qt.core.library: "/tmp/.mount_qBittorRC9ZZ/usr/plugins/platforms/libqxcb.so" cannot load: Cannot load library /tmp/.mount_qBittorRC9ZZ/usr/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: cannot open shared object file: No such file or directory) qt.core.plugin.loader: QLibraryPrivate::loadPlugin failed on "/tmp/.mount_qBittorRC9ZZ/usr/plugins/platforms/libqxcb.so" : "Cannot load library /tmp/.mount_qBittorRC9ZZ/usr/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: cannot open shared object file: No such file or directory)" 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: minimal, offscreen, wayland-egl, wayland, xcb. Aborted (core dumped) ```

Solution

sudo apt install libxcb-cursor0