NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.43k stars 13.64k forks source link

Cannot launch ida-free with error: Could not load the Qt platform plugin "xcb" in "" even though it was found. #313686

Open p2er1n opened 3 months ago

p2er1n commented 3 months ago

Describe the bug

As title said, I use nixpkgs.ida-free, but I cannot launch ida64(included in the package). error message:

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)

detailed error message with QT_DEBUG_PLUGINS=1:

 QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/mhm6g9knsjzagnc0xnxz9dgmdfp27ma1-ida-free-8.4.240320/opt/plugins/platforms/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/4rm9z4755vd17vj1yacn7dqhd526jjr9-konsole-23.08.5/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/6sy8cdrv9vy0w6n8a1yilbynl14x4ppw-qtmultimedia-5.15.12-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/frgizpb9p73nxbnk3g063abnkzibv16k-knewstuff-5.113.0-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/s30h0405a92qrl3dj6v6h1khh7858vlc-kio-5.113.0/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/ampqf67wq8n9b53ik88szi90xprip32f-phonon-4.11.1/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/g9vr0w5x62vw54i1szdxcd5frvb265cg-kxmlgui-5.113.0-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/fbij3qpicj8i0msjmmkzma55g68yhrmi-ktextwidgets-5.113.0-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/7010d7zkblkmzq31w4g1ipza99wym71p-kcompletion-5.113.0/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/kjww5s2ips99nwzc30ghrfpf2cdypiya-sonnet-5.113.0-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/yc25lgnmax67kyxfm1giklxvzg0g6r5s-kglobalaccel-5.113.0/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/dc27dw4h344pvfsjrjym9gwy2p1aa8nw-kwindowsystem-5.113.0/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/vrvwg7k9dfy7nqqv44cnxrxvwjakjmw0-kiconthemes-5.113.0-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/chhs4lxyf5lz6k9ddkcz7dfvfzy79xz7-kitemviews-5.113.0/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/0cxgq8nddqc0q8mab7kq6h3y1hg17pqk-kconfigwidgets-5.113.0/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/8hivnmqp9nvzs8d8yr96knf86ybdi9mz-kauth-5.113.0/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/1bqkasy95j1zdj8jmrazdiadkr0y74aa-kwidgetsaddons-5.113.0/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/p47xljdmk2va5mnkpy34jfslx2daf959-ki18n-5.113.0-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/h7ngzv9j4pj13k18hials17f12sw4q61-qttools-5.15.12-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/w8qznjl83smjxp0z8l57w06q2fqfym80-qtwayland-5.15.12-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/nix/store/w8qznjl83smjxp0z8l57w06q2fqfym80-qtwayland-5.15.12-bin/lib/qt-5.15.12/plugins/platforms/libqwayland-egl.so"
Found metadata in lib /nix/store/w8qznjl83smjxp0z8l57w06q2fqfym80-qtwayland-5.15.12-bin/lib/qt-5.15.12/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 "/nix/store/w8qznjl83smjxp0z8l57w06q2fqfym80-qtwayland-5.15.12-bin/lib/qt-5.15.12/plugins/platforms/libqwayland-generic.so"
Found metadata in lib /nix/store/w8qznjl83smjxp0z8l57w06q2fqfym80-qtwayland-5.15.12-bin/lib/qt-5.15.12/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 "/nix/store/w8qznjl83smjxp0z8l57w06q2fqfym80-qtwayland-5.15.12-bin/lib/qt-5.15.12/plugins/platforms/libqwayland-xcomposite-egl.so"
Found metadata in lib /nix/store/w8qznjl83smjxp0z8l57w06q2fqfym80-qtwayland-5.15.12-bin/lib/qt-5.15.12/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 "/nix/store/w8qznjl83smjxp0z8l57w06q2fqfym80-qtwayland-5.15.12-bin/lib/qt-5.15.12/plugins/platforms/libqwayland-xcomposite-glx.so"
Found metadata in lib /nix/store/w8qznjl83smjxp0z8l57w06q2fqfym80-qtwayland-5.15.12-bin/lib/qt-5.15.12/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/rvln33wylf6rlx40qfqxq204h48wqv9y-qtdeclarative-5.15.12-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/6g1xilr5xa0l7ddbgvlsw8x250cnc7mp-qtsvg-5.15.12-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/68j2zjax7z317ak637lxk42gl4i4a2ql-qtbase-5.15.12-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/nix/store/68j2zjax7z317ak637lxk42gl4i4a2ql-qtbase-5.15.12-bin/lib/qt-5.15.12/plugins/platforms/libqeglfs.so"
Found metadata in lib /nix/store/68j2zjax7z317ak637lxk42gl4i4a2ql-qtbase-5.15.12-bin/lib/qt-5.15.12/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "archreq": 0,
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 331520
}

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

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

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

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

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

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

Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/kln1hlmj0005s7zpmqq8mar4bmqkly45-kde-cli-tools-5.27.11/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/bj61a12qiydf0368bi42d5bvdid96kxa-plasma-workspace-5.27.11/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/d855z7kwijixqr91r4z7zl8avi85x21c-qqc2-desktop-style-5.113.0-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/29mp57rl6620nhrvvgn6l8fspak1mdni-libksysguard-5.27.11-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/56fw3gcx1vyl63ybmdf6p0bhb2mzhnnv-qtwebengine-5.15.16-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/qzmcqs2dy35lcnq5r0v8bq72f1w1xczr-qtlocation-5.15.12-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/dnw9lgjs5ip4s145yw9c49xpqvd3ms5v-kwin-5.27.11/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/41sq104ps4bzxjlylsama4r5iw2indlw-breeze-qt5-5.27.11-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/g8dshk0lpynbibx9m3zjg78zwahf24hc-frameworkintegration-5.113.0-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/ybfm1aaw45wzcb7cpch175iy4qnkr0qr-qtvirtualkeyboard-5.15.12/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/0vnxkdrvb41inqlzy7xzslinqkmk5y3m-qtsensors-5.15.12-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/azns2bp9ksg27rwn50fbf5g5gzxr1m55-ktexteditor-5.113.0-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/8ydp1bbbm5iaxsyvrh1ycv5jfg7rns0d-kscreenlocker-5.27.11/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/l7l8p52wsyw8arz3vi9v3b4rnf6jadn6-layer-shell-qt-5.27.11/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/p3cxbp2s0iqhnr37qjgdvf0sfj08y00a-libkscreen-5.27.11/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/yavgg2lb33m927piiw8i7s86a36aiil5-plasma-framework-5.113.0-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/4hjwhcx5px682n1ky3g3b127b7asywqq-kdelibs4support-5.113.0/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/hx9ayja2ihrcdydaxcpq54pi77r20vym-kemoticons-5.113.0-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/0d0zb1j3h5rd0ccpmmxg9109rc2iwzv6-kplotting-5.113.0/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/sa2mdh4jvgqjip8w7kccm0cw06zhngy9-baloo-5.113.0/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/dd12nj05bikfflvnk7vawxx21nzwc09x-kidletime-5.113.0-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/j4zmgxk3av0rsvsxpc36p01cxp149vkd-kfilemetadata-5.113.0-bin/lib/qt-5.15.12/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/mhm6g9knsjzagnc0xnxz9dgmdfp27ma1-ida-free-8.4.240320/opt/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/nix/store/mhm6g9knsjzagnc0xnxz9dgmdfp27ma1-ida-free-8.4.240320/opt/plugins/platforms/libqeglfs.so"
Found metadata in lib /nix/store/mhm6g9knsjzagnc0xnxz9dgmdfp27ma1-ida-free-8.4.240320/opt/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "archreq": 0,
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 331520
}

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

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

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

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

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

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

Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/mhm6g9knsjzagnc0xnxz9dgmdfp27ma1-ida-free-8.4.240320/opt/platforms" ...
Cannot load library /nix/store/68j2zjax7z317ak637lxk42gl4i4a2ql-qtbase-5.15.12-bin/lib/qt-5.15.12/plugins/platforms/libqxcb.so: (/nix/store/68j2zjax7z317ak637lxk42gl4i4a2ql-qtbase-5.15.12-bin/lib/qt-5.15.12/plugins/platforms/../../../../../9yhibb5zxr763hbywwc8dkvvd765bjkp-qtbase-5.15.12/lib/libQt5DBus.so.5: undefined symbol: _ZTI7QObject, version Qt_5)
QLibraryPrivate::loadPlugin failed on "/nix/store/68j2zjax7z317ak637lxk42gl4i4a2ql-qtbase-5.15.12-bin/lib/qt-5.15.12/plugins/platforms/libqxcb.so" : "Cannot load library /nix/store/68j2zjax7z317ak637lxk42gl4i4a2ql-qtbase-5.15.12-bin/lib/qt-5.15.12/plugins/platforms/libqxcb.so: (/nix/store/68j2zjax7z317ak637lxk42gl4i4a2ql-qtbase-5.15.12-bin/lib/qt-5.15.12/plugins/platforms/../../../../../9yhibb5zxr763hbywwc8dkvvd765bjkp-qtbase-5.15.12/lib/libQt5DBus.so.5: undefined symbol: _ZTI7QObject, version Qt_5)"
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)

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix-env -iA nixpkgs.ida-free
  2. ida64 and QT_DEBUG_PLUGINS=1 ida64

Expected behavior

Sucessfully launch and use ida64.

Screenshots

no screenshots

Notify maintainers

I don't know if this is related to the package maintainer, did i miss any steps? I am a newbie to nix and nixpkgs, and I have made a lot of searching. Seems that it's a problem about upstream QT, i don't know, but if there are any workarounds?

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.88, NixOS, 23.11 (Tapir), 23.11.20240501.0638fe2`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(user): `""`
 - channels(root): `"nixos-23.11, nixos-23.11-23.11"`
 - nixpkgs: `/home/user/.nix-defexpr/channels/nixpkgs`

eclairevoyant commented 1 month ago

same as #306602?