Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
newyorkthink opened this issue Jul 31, 2023 · 3 comments

Comments

@newyorkthink
Copy link

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
Copy link
Owner

c0re100 commented Jul 31, 2023

ping @abcfy2

@abcfy2
Copy link

abcfy2 commented Aug 1, 2023

Please show the output:

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

@404NetworkError
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants