qBittorrent-Enhanced-Edition icon indicating copy to clipboard operation
qBittorrent-Enhanced-Edition copied to clipboard

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

Open newyorkthink opened this issue 11 months ago • 3 comments

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

newyorkthink avatar Jul 31 '23 03:07 newyorkthink

ping @abcfy2

c0re100 avatar Jul 31 '23 14:07 c0re100

Please show the output:

lsb_release -a
QT_DEBUG_PLUGINS=1 ./qBittorrent-Enhanced-Edition-x86_64.AppImage

abcfy2 avatar Aug 01 '23 02:08 abcfy2

I ran into this same problem.

Release info
$ 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

404NetworkError avatar Sep 01 '23 22:09 404NetworkError