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

maestral-qt and others: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. #98067

Closed
SFrijters opened this issue Sep 15, 2020 · 7 comments

Comments

@SFrijters
Copy link
Member

Describe the bug

When running the maestral_qt executable, I get a core dump.
This started to happen after updating my nixpkgs flake.lock from 63e1162 to 9232ca2.

To Reproduce
Steps to reproduce the behavior:

  1. Use nixpkgs 9232ca2
  2. Install maestral-gui on Linux
  3. Run maestral_qt

Expected behavior

Program should work and not crash.

Additional context

$ QT_DEBUG_PLUGINS=1 maestral_qt
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/bs03sg8b0gq2zr4v252hh9psp780qj5q-python3-3.8.5/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/4vdyqzhfcs5zyf4gxh2k13wk5bdc2f5z-maestral-qt-1.1.0/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/iwpbnf39fhwx8blysa9q9hc4v09yxmq3-python3.8-nose-1.3.7/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/ayzm6ir9icrdl05azpwxlhcv4gxwqzsj-python3.8-coverage-5.2.1/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/s78f5giv8m77njsxig420s6568jsnfxl-python3.8-pytest-5.4.3/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/8wf8ivlli0j1wnnwbc4ymnbfqwyqyjyr-python3.8-setuptools-47.3.1/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/v9547fjhl16rfj4yqdd3bnx60kwqgkgd-python3.8-markdown2-2.3.6/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/lkwkbaqgglbcz5pck62jg6b0x7vf4wb6-python3.8-maestral-1.1.0/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/b89babrahxcn4r320viqhjvp07sa339l-python3.8-chardet-3.0.4/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/yzavpirck4ayab5saarixnh4gh0s57br-python3.8-pbr-5.4.5/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/bsy3zvvwc1ikx7v66l461hnqqikz03ng-python3.8-keyring-21.3.1/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/5i40ai0xiq0w30sy6hsl09xm6zgr9vwi-python3.8-Pyro5-5.11/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/kzyg18c3j7kjbi3sbshd957m710djfg3-python3.8-watchdog-0.10.3/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/cjpazii6x2fz9a0j723r6s1qcj1vr90q-python3.8-PyQt5.sip-4.19.22/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/rlck717m6zaq6pj546146ngcg6k6d762-qtdeclarative-5.15.0-bin/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/bzqj563g50wws2f4jg8aspjpqvqrwd2a-python3.8-PyQt5-5.14.2/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/home/frijters/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/f5b1y8x3rh62y6yw7zal8z8l4cv2by8n-terminator-1.92/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/3y2wb1cpvf8nks9lkh612bm1l2d1qig9-cairo-1.16.0-dev/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/3fz0y9fcpq53p5lk6l0qbfmqixp3finr-freetype-2.10.2-dev/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/ba05xi32q6zjcn6niad1zs1adqylwcr7-bzip2-1.0.6.0.1-bin/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/sp88r6xc325pmj19cbagk474d4k11bp7-libpng-apng-1.6.37-dev/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/hlm1kmkigzf5qa3j113r8jm63nfqhdjd-fontconfig-2.13.92-bin/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/a2f9frivgpxcbm1fkr6qhgxd0002k19a-expat-2.2.8-dev/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/lw6mlp0vh41xfpawlkh8w84m7qfr430l-glib-2.64.5-dev/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/ggngxyl69bjiqvr2nkpcw04523393lcx-gettext-0.21/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/fdi21x5yfqvhf2jm7gvkbprsjb692r39-glib-2.64.5-bin/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/home/frijters/.nix-profile/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/run/wrappers/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/etc/profiles/per-user/frijters/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/var/nix/profiles/default/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/run/current-system/sw/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/wy7cj276rxhil4wkxmmlpgqvk5x8cdkh-qtwayland-5.14.2-bin/lib/qt-5.14.2/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/nix/store/wy7cj276rxhil4wkxmmlpgqvk5x8cdkh-qtwayland-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqwayland-egl.so"
Found metadata in lib /nix/store/wy7cj276rxhil4wkxmmlpgqvk5x8cdkh-qtwayland-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqwayland-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-egl"
        ]
    },
    "archreq": 0,
    "className": "QWaylandEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("wayland-egl")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/wy7cj276rxhil4wkxmmlpgqvk5x8cdkh-qtwayland-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqwayland-generic.so"
Found metadata in lib /nix/store/wy7cj276rxhil4wkxmmlpgqvk5x8cdkh-qtwayland-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqwayland-generic.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland"
        ]
    },
    "archreq": 0,
    "className": "QWaylandIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("wayland")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/wy7cj276rxhil4wkxmmlpgqvk5x8cdkh-qtwayland-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqwayland-xcomposite-egl.so"
Found metadata in lib /nix/store/wy7cj276rxhil4wkxmmlpgqvk5x8cdkh-qtwayland-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqwayland-xcomposite-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-xcomposite-egl"
        ]
    },
    "archreq": 0,
    "className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("wayland-xcomposite-egl")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/wy7cj276rxhil4wkxmmlpgqvk5x8cdkh-qtwayland-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqwayland-xcomposite-glx.so"
Found metadata in lib /nix/store/wy7cj276rxhil4wkxmmlpgqvk5x8cdkh-qtwayland-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqwayland-xcomposite-glx.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-xcomposite-glx"
        ]
    },
    "archreq": 0,
    "className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("wayland-xcomposite-glx")
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/hmaq5b8hj3hk7xdgknj2h58qknrbxb23-qtdeclarative-5.14.2-bin/lib/qt-5.14.2/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/s7vbwk79awc5m0dpl13c8gyaik1l9h4q-qtsvg-5.14.2-bin/lib/qt-5.14.2/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqeglfs.so"
Found metadata in lib /nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "archreq": 0,
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqlinuxfb.so"
Found metadata in lib /nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqlinuxfb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "linuxfb"
        ]
    },
    "archreq": 0,
    "className": "QLinuxFbIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqminimal.so"
Found metadata in lib /nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqminimal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimal"
        ]
    },
    "archreq": 0,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqminimalegl.so"
Found metadata in lib /nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqminimalegl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimalegl"
        ]
    },
    "archreq": 0,
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqoffscreen.so"
Found metadata in lib /nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqoffscreen.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "offscreen"
        ]
    },
    "archreq": 0,
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqvnc.so"
Found metadata in lib /nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqvnc.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vnc"
        ]
    },
    "archreq": 0,
    "className": "QVncIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqxcb.so"
Found metadata in lib /nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archreq": 0,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/bs03sg8b0gq2zr4v252hh9psp780qj5q-python3-3.8.5/bin/platforms" ...
Cannot load library /nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqxcb.so: (/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/../../../../../p0xr68q9fiixq7jnbd7vc2xyilckiz5s-qtbase-5.14.2/lib/libQt5XcbQpa.so.5: undefined symbol: _ZN22QWindowSystemInterface16handleMouseEventINS_15DefaultDeliveryEEEvP7QWindowmRK7QPointFS6_6QFlagsIN2Qt11MouseButtonEES9_N6QEvent4TypeES7_INS8_16KeyboardModifierEENS8_16MouseEventSourceE, version Qt_5_PRIVATE_API)
QLibraryPrivate::loadPlugin failed on "/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqxcb.so" : "Cannot load library /nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqxcb.so: (/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/../../../../../p0xr68q9fiixq7jnbd7vc2xyilckiz5s-qtbase-5.14.2/lib/libQt5XcbQpa.so.5: undefined symbol: _ZN22QWindowSystemInterface16handleMouseEventINS_15DefaultDeliveryEEEvP7QWindowmRK7QPointFS6_6QFlagsIN2Qt11MouseButtonEES9_N6QEvent4TypeES7_INS8_16KeyboardModifierEENS8_16MouseEventSourceE, version Qt_5_PRIVATE_API)"
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: wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted (core dumped)

Notify maintainers

@peterhoeg probably the issue is with a Qt update, but do you see this problem?

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 5.8.9, NixOS, 21.03.20200915.9232ca2 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 3.0pre20200829_f156513`
 - channels(frijters): `"nixos-unstable-20.09pre223023.fce7562cf46"`
 - channels(root): `"nixos, nixos-unstable-20.09pre225264.683c68232e9"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: maestral-gui
# a list of nixos modules affected by the problem
module:
@SFrijters SFrijters added 0.kind: bug Something is broken 6.topic: qt/kde labels Sep 15, 2020
@SFrijters
Copy link
Member Author

Bisected to c1a0dfa.
To me it looks like the removal of the let binding libsForQt5 = pkgs.libsForQt514; affects pyqt5 = libsForQt5.callPackage ../development/python-modules/pyqt/5.x.nix { pythonPackages = self; };, which affects maestral-qt transitively. There are some more use sites of libsForQt5 in python-packages.nix so probably more packages could be affected.
@petabyteboy , any thoughts on this?

@schmittlauch
Copy link
Member

schmittlauch commented Sep 16, 2020

ksshaskpass and wireshark-qt fail in a similar fashion, failing to find the "xcb" plugin.

qt.qpa.xcb: could not connect to display 
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: wayland-org.kde.kwin.qpa, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

error: /nix/store/b5vw4szbxb95n6v7cf1rjhp36jbfvvlx-ksshaskpass-5.17.5/bin/ksshaskpass died of signal 6
error: unable to read askpass response from '/nix/store/b5vw4szbxb95n6v7cf1rjhp36jbfvvlx-ksshaskpass-5.17.5/bin/ksshaskpass'

But this even happens in release-20.03 while the bisected commit is only part of unstable, so not sure whether this is the same bug.

@Galagora
Copy link
Contributor

Galagora commented Sep 16, 2020

Same issue with calibre

$ QT_DEBUG_PLUGINS=1 calibre
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/bqg8xfijzr2rs31m2sq8ckzwqwmsqz7n-poppler-utils-20.08.0/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/home/ao/doom-emacs/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/a6m8gph3qc5cq0jg1mrp11w6l3603jfh-swaybg-1.0/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/run/wrappers/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/home/ao/.nix-profile/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/etc/profiles/per-user/ao/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/var/nix/profiles/default/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/run/current-system/sw/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/run/current-system/sw/lib/qt-5.15.0/plugins/platforms/libqwayland-egl.so"
Found metadata in lib /nix/store/q8sika34x6g080a0d9pkk6zlcld5grdl-qtwayland-5.15.0-bin/lib/qt-5.15.0/plugins/platforms/libqwayland-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-egl"
        ]
    },
    "archreq": 0,
    "className": "QWaylandEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("wayland-egl")
QFactoryLoader::QFactoryLoader() looking at "/run/current-system/sw/lib/qt-5.15.0/plugins/platforms/libqwayland-generic.so"
Found metadata in lib /nix/store/q8sika34x6g080a0d9pkk6zlcld5grdl-qtwayland-5.15.0-bin/lib/qt-5.15.0/plugins/platforms/libqwayland-generic.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland"
        ]
    },
    "archreq": 0,
    "className": "QWaylandIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("wayland")
QFactoryLoader::QFactoryLoader() looking at "/run/current-system/sw/lib/qt-5.15.0/plugins/platforms/libqwayland-xcomposite-egl.so"
Found metadata in lib /nix/store/q8sika34x6g080a0d9pkk6zlcld5grdl-qtwayland-5.15.0-bin/lib/qt-5.15.0/plugins/platforms/libqwayland-xcomposite-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-xcomposite-egl"
        ]
    },
    "archreq": 0,
    "className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("wayland-xcomposite-egl")
QFactoryLoader::QFactoryLoader() looking at "/run/current-system/sw/lib/qt-5.15.0/plugins/platforms/libqwayland-xcomposite-glx.so"
Found metadata in lib /nix/store/q8sika34x6g080a0d9pkk6zlcld5grdl-qtwayland-5.15.0-bin/lib/qt-5.15.0/plugins/platforms/libqwayland-xcomposite-glx.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-xcomposite-glx"
        ]
    },
    "archreq": 0,
    "className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("wayland-xcomposite-glx")
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/wy7cj276rxhil4wkxmmlpgqvk5x8cdkh-qtwayland-5.14.2-bin/lib/qt-5.14.2/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/nix/store/wy7cj276rxhil4wkxmmlpgqvk5x8cdkh-qtwayland-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqwayland-egl.so"
Found metadata in lib /nix/store/wy7cj276rxhil4wkxmmlpgqvk5x8cdkh-qtwayland-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqwayland-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-egl"
        ]
    },
    "archreq": 0,
    "className": "QWaylandEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("wayland-egl")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/wy7cj276rxhil4wkxmmlpgqvk5x8cdkh-qtwayland-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqwayland-generic.so"
Found metadata in lib /nix/store/wy7cj276rxhil4wkxmmlpgqvk5x8cdkh-qtwayland-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqwayland-generic.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland"
        ]
    },
    "archreq": 0,
    "className": "QWaylandIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("wayland")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/wy7cj276rxhil4wkxmmlpgqvk5x8cdkh-qtwayland-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqwayland-xcomposite-egl.so"
Found metadata in lib /nix/store/wy7cj276rxhil4wkxmmlpgqvk5x8cdkh-qtwayland-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqwayland-xcomposite-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-xcomposite-egl"
        ]
    },
    "archreq": 0,
    "className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("wayland-xcomposite-egl")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/wy7cj276rxhil4wkxmmlpgqvk5x8cdkh-qtwayland-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqwayland-xcomposite-glx.so"
Found metadata in lib /nix/store/wy7cj276rxhil4wkxmmlpgqvk5x8cdkh-qtwayland-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqwayland-xcomposite-glx.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-xcomposite-glx"
        ]
    },
    "archreq": 0,
    "className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("wayland-xcomposite-glx")
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/hmaq5b8hj3hk7xdgknj2h58qknrbxb23-qtdeclarative-5.14.2-bin/lib/qt-5.14.2/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/s7vbwk79awc5m0dpl13c8gyaik1l9h4q-qtsvg-5.14.2-bin/lib/qt-5.14.2/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqeglfs.so"
Found metadata in lib /nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "archreq": 0,
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqlinuxfb.so"
Found metadata in lib /nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqlinuxfb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "linuxfb"
        ]
    },
    "archreq": 0,
    "className": "QLinuxFbIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqminimal.so"
Found metadata in lib /nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqminimal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimal"
        ]
    },
    "archreq": 0,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqminimalegl.so"
Found metadata in lib /nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqminimalegl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimalegl"
        ]
    },
    "archreq": 0,
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqoffscreen.so"
Found metadata in lib /nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqoffscreen.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "offscreen"
        ]
    },
    "archreq": 0,
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqvnc.so"
Found metadata in lib /nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqvnc.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vnc"
        ]
    },
    "archreq": 0,
    "className": "QVncIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqxcb.so"
Found metadata in lib /nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archreq": 0,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 331264
}


Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/bs03sg8b0gq2zr4v252hh9psp780qj5q-python3-3.8.5/bin/platforms" ...
Cannot load library /nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqxcb.so: (/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/../../../../../p0xr68q9fiixq7jnbd7vc2xyilckiz5s-qtbase-5.14.2/lib/libQt5XcbQpa.so.5: undefined symbol: _ZN22QWindowSystemInterface16handleMouseEventINS_15DefaultDeliveryEEEvP7QWindowmRK7QPointFS6_6QFlagsIN2Qt11MouseButtonEES9_N6QEvent4TypeES7_INS8_16KeyboardModifierEENS8_16MouseEventSourceE, version Qt_5_PRIVATE_API)
QLibraryPrivate::loadPlugin failed on "/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqxcb.so" : "Cannot load library /nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/libqxcb.so: (/nix/store/gm1s9lnk2xkii2gj3qwddb93ss8gcg38-qtbase-5.14.2-bin/lib/qt-5.14.2/plugins/platforms/../../../../../p0xr68q9fiixq7jnbd7vc2xyilckiz5s-qtbase-5.14.2/lib/libQt5XcbQpa.so.5: undefined symbol: _ZN22QWindowSystemInterface16handleMouseEventINS_15DefaultDeliveryEEEvP7QWindowmRK7QPointFS6_6QFlagsIN2Qt11MouseButtonEES9_N6QEvent4TypeES7_INS8_16KeyboardModifierEENS8_16MouseEventSourceE, version Qt_5_PRIVATE_API)"
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: wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

[1]    3176 abort (core dumped)  calibre

You should leave this issue open; make it a tracking issue for the bug.

@SFrijters SFrijters changed the title maestral-qt: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. maestral-qt and others: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. Sep 16, 2020
@SFrijters
Copy link
Member Author

c1a0dfa has been reverted in a4e50bb.

@SFrijters
Copy link
Member Author

maestral has been updated and fixed in 6dad7dd and preceding commits.

@peterhoeg
Copy link
Member

Fixed by #98197

delroth added a commit to delroth/nixpkgs that referenced this issue Oct 30, 2020
Issue report: NixOS#65399 (comment)

Similar issues in NixOS#98067.

Plover seems to work fine with Qt > 5.14 so this is an easy way to fix
the problem (as opposed to keeping the pinning and making it work with
PyQt).
FRidh pushed a commit that referenced this issue Oct 30, 2020
Issue report: #65399 (comment)

Similar issues in #98067.

Plover seems to work fine with Qt > 5.14 so this is an easy way to fix
the problem (as opposed to keeping the pinning and making it work with
PyQt).
@jhartma
Copy link

jhartma commented Oct 30, 2020

Hi, I get the same error when trying to open kmail

> kmail                    
QFactoryLoader::QFactoryLoader() checking directory path "/home/knut/.cargo/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/run/wrappers/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/home/knut/.nix-profile/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/etc/profiles/per-user/knut/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/var/nix/profiles/default/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/run/current-system/sw/lib/qt-5.15.0/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/0xv6fhh8r1d904vfvi3yx8jrza176adb-kmail-20.08.1/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/ayl817ks1y7z3skyc5szzpdilzqhlnzf-kdepim-addons-20.08.1/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/ramvizidaiwbxlbl4lwnzdjzpqd5qfzy-mailcommon-20.08.1/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/q68381n4p2hgb3lvlpnxrl84h75id5ny-messagelib-20.08.1/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/04yl5j6s9sjivqj39i3dgva5w4pwvch5-libksieve-20.08.1/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/m4nyijwy2ajmhx7wik9gc7dxnpdv12si-kmailtransport-20.08.1/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/wk1sv6ai7xd9sx10r2q4r7crf95nbn88-kmail-account-wizard-20.08.1/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/bi1v4i7qmk4c71cxhgr1q543hczfzp0r-pimcommon-20.08.1/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/safb36mzij04jqv789i6cs5dmpbbkwlw-libkdepim-20.08.1/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/9vy7akg1rbpz186kg2s4b7zlv9cz9f6p-kldap-20.08.1/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/lis9mygm4xh9dswzyma8axb93jy4vbib-akonadi-contacts-20.08.1/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/id007lcgjc0ibbzzsfykihbg0il51nd4-kpimtextedit-20.08.1/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/2j8zp11lpbhcx4gfzcx7igbhh2sqf4dh-akonadi-search-20.08.1/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/mll8w86k769as5ipmf4bdqc7ys9cv7xb-akonadi-mime-20.08.1/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/ijyly4vg3ihjcmi7k9i0fprcg1h8ibll-akonadi-20.08.1/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/0r7p8k1a54qii9cqm5q3kgwfph060fkg-frameworkintegration-5.73.0-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/dhlwk36kszf85nn8cjq218qqvv6lnbdw-kio-5.73.0/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/pq1s0mr03044apdv7fabfqbs31mhfm66-phonon-4.11.1/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/jbssk402yg4jq7wyg8qlscq5nhaszpf7-kxmlgui-5.73.0-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/vbilxgfh89j7dkljsksj65aiyy1x9wv7-ktextwidgets-5.73.0-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/gniz538sl3ckpbsad88f7215p10cm8nw-kcompletion-5.73.0/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/wcz27qm0w827zqkqmd9yizl27v9zxv68-sonnet-5.73.0-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/3fc073vgwbq9afzpbrif7dw0gmp828x3-kglobalaccel-5.73.0-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/lci4lkjd7i6ssarr5ha6c7c3iy0kw32l-kwindowsystem-5.73.0/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/3k61x09831872w5i5b7w352w9sxzs72w-kiconthemes-5.73.0-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/dlrlj9xrfyb0wqbkbwhjyqa5ai73fzdv-kitemviews-5.73.0/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/a1dbn9i2hjy1316p2w6nl135fvmb7z15-kconfigwidgets-5.73.0/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/k7ldjb0x1rsnmjdxq27sf3lavqma1h6y-kguiaddons-5.73.0/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/am39h00qdis4slxlba8qcmm01f2ccx57-ki18n-5.73.0-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/w4gwz69zlcffx9x3xvk5xj3lwdy9ayq9-kwidgetsaddons-5.73.0/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/487f8bwikqzmnvmg912idx5j76c3qm8s-kauth-5.73.0/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/yciwjjrq04qhqj0lpvvxbwssa0ynwzyi-qttools-5.12.7-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/v89aar7qdrjq5z5q8n34f2z53a4bji8m-qtwayland-5.12.7-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/nix/store/v89aar7qdrjq5z5q8n34f2z53a4bji8m-qtwayland-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqwayland-egl.so"
Found metadata in lib /nix/store/v89aar7qdrjq5z5q8n34f2z53a4bji8m-qtwayland-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqwayland-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-egl"
        ]
    },
    "archreq": 0,
    "className": "QWaylandEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("wayland-egl")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/v89aar7qdrjq5z5q8n34f2z53a4bji8m-qtwayland-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqwayland-generic.so"
Found metadata in lib /nix/store/v89aar7qdrjq5z5q8n34f2z53a4bji8m-qtwayland-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqwayland-generic.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland"
        ]
    },
    "archreq": 0,
    "className": "QWaylandIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("wayland")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/v89aar7qdrjq5z5q8n34f2z53a4bji8m-qtwayland-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqwayland-xcomposite-egl.so"
Found metadata in lib /nix/store/v89aar7qdrjq5z5q8n34f2z53a4bji8m-qtwayland-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqwayland-xcomposite-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-xcomposite-egl"
        ]
    },
    "archreq": 0,
    "className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("wayland-xcomposite-egl")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/v89aar7qdrjq5z5q8n34f2z53a4bji8m-qtwayland-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqwayland-xcomposite-glx.so"
Found metadata in lib /nix/store/v89aar7qdrjq5z5q8n34f2z53a4bji8m-qtwayland-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqwayland-xcomposite-glx.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-xcomposite-glx"
        ]
    },
    "archreq": 0,
    "className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("wayland-xcomposite-glx")
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/sqyr1s8g1y2l2q7n3xyi36zy2sxlj2w3-qtdeclarative-5.12.7-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/y66hwqinkdfl717l7yadbpl24h8p1br8-qtsvg-5.12.7-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqeglfs.so"
Found metadata in lib /nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "archreq": 0,
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqlinuxfb.so"
Found metadata in lib /nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqlinuxfb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "linuxfb"
        ]
    },
    "archreq": 0,
    "className": "QLinuxFbIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqminimal.so"
Found metadata in lib /nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqminimal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimal"
        ]
    },
    "archreq": 0,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqminimalegl.so"
Found metadata in lib /nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqminimalegl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimalegl"
        ]
    },
    "archreq": 0,
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqoffscreen.so"
Found metadata in lib /nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqoffscreen.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "offscreen"
        ]
    },
    "archreq": 0,
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqvnc.so"
Found metadata in lib /nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqvnc.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vnc"
        ]
    },
    "archreq": 0,
    "className": "QVncIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqxcb.so"
Found metadata in lib /nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/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 "/nix/store/g0vklqgqxwgczyviwc2dzz98kzl7y9c3-breeze-qt5-5.18.5-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/734frsxkvr5jf8wzx84w7ff5n1zqgax0-plasma-framework-5.73.0-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/zs43y8qkkd1fq6fpp6qddgj7dkjfvkg5-plasma-workspace-5.18.5/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/m4baz2m94ynk5x9qid1iw88h3v0682yv-qtlocation-5.12.7-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/az5n2g2pf7jlw11bgxlclbx41rwfswn7-libkscreen-5.18.5/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/2wrzvqjhkb5w5iar4iy8anx7i3xdd6d4-kwin-5.18.5-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/nix/store/2wrzvqjhkb5w5iar4iy8anx7i3xdd6d4-kwin-5.18.5-bin/lib/qt-5.12.7/plugins/platforms/KWinQpaPlugin.so"
Found metadata in lib /nix/store/2wrzvqjhkb5w5iar4iy8anx7i3xdd6d4-kwin-5.18.5-bin/lib/qt-5.12.7/plugins/platforms/KWinQpaPlugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-org.kde.kwin.qpa"
        ]
    },
    "archreq": 0,
    "className": "KWinIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("wayland-org.kde.kwin.qpa")
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/cskg9akgv4b0ns7y75jm22c5m7dc9b57-qtvirtualkeyboard-5.12.7/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/7mys08iphs6319a0529lzgc15sb1wsiz-qtsensors-5.12.7-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/shslwdvbx9l9njxck4dkyzkyg80l6fgn-ktexteditor-5.73.0-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/wj0hqyrfscmj3ds881jzg5nryhvc5n6n-kscreenlocker-5.18.5/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/v9lbyq6grdaiwan8i52kj387h93rlpq1-kdelibs4support-5.73.0/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/3mizvrlgpp4wl6w0k7fzjnnsd1lbc71r-kemoticons-5.73.0-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/w266zrgfs7pqxchsrnliqx7mnl6ipa99-kplotting-5.73.0/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/k4da5h6zism43ffnlmb9q2r5fgyn38sv-baloo-5.73.0-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/jy0c3dk2f73sybg4bzsz8w0jffrsafx3-kidletime-5.73.0-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/g4ymybdrnp0zzl0yfij4f9798srl16wz-kfilemetadata-5.73.0-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/5bkkcxl6mcgvmn99zsikalvrb8sc3gdp-qtmultimedia-5.12.7-bin/lib/qt-5.12.7/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/0xv6fhh8r1d904vfvi3yx8jrza176adb-kmail-20.08.1/bin/platforms" ...
Cannot load library /nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqxcb.so: (/nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/../../../../../1s343458k8v2nkid1fgy4185iv1c9vdv-qtbase-5.12.7/lib/libQt5XcbQpa.so.5: undefined symbol: _ZN22QWindowSystemInterface16handleMouseEventINS_15DefaultDeliveryEEEvP7QWindowmRK7QPointFS6_6QFlagsIN2Qt11MouseButtonEES9_N6QEvent4TypeES7_INS8_16KeyboardModifierEENS8_16MouseEventSourceE, version Qt_5_PRIVATE_API)
QLibraryPrivate::loadPlugin failed on "/nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqxcb.so" : "Cannot load library /nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/libqxcb.so: (/nix/store/kfbb1vmmjfkwrgmfv04d3x5b179lz47h-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins/platforms/../../../../../1s343458k8v2nkid1fgy4185iv1c9vdv-qtbase-5.12.7/lib/libQt5XcbQpa.so.5: undefined symbol: _ZN22QWindowSystemInterface16handleMouseEventINS_15DefaultDeliveryEEEvP7QWindowmRK7QPointFS6_6QFlagsIN2Qt11MouseButtonEES9_N6QEvent4TypeES7_INS8_16KeyboardModifierEENS8_16MouseEventSourceE, version Qt_5_PRIVATE_API)"
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: wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-org.kde.kwin.qpa.

[1]    22758 abort (core dumped)  kmail

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

Successfully merging a pull request may close this issue.

6 participants