Open NullTxt opened 6 months ago
Hey there. Thanks for the report! I cannot reproduce this on my end. (running on wayland)
Looking at the relevant wiki page, it seems that you could launch the application with QT_DEBUG_PLUGINS=1
to see where QT looks for the platform plugins. For now, I can't think of anything else I could do with the information provided.
I couldn't reproduce it either (on Plasma6 Wayland). What DE/WM are you running? Are you actually on Wayland?
Hello I have the same error
./ida64 qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb. [1] 148731 IOT instruction (core dumped) ./ida64
I'm on endeavouros with wayland and I installed ida with the .run file on their website
I would suggest trying it with the nix package on unstable
Hey there. Thanks for the report! I cannot reproduce this on my end. (running on wayland)
Looking at the relevant wiki page, it seems that you could launch the application with
QT_DEBUG_PLUGINS=1
to see where QT looks for the platform plugins. For now, I can't think of anything else I could do with the information provided.
https://pastes.dev/To539c3K3p
Issue seems to be: Cannot load library /nix/store/y3qcljhcp4maxw99qk83ncf22rpbmfg1-qtbase-5.15.12-bin/lib/qt-5.15.12/plugins/platforms/libqxcb.so: (/nix/store/y3qcljhcp4maxw99qk83ncf22rpbmfg1-qtbase-5.15.12-bin/lib/qt-5.15.12/plugins/platforms/../../../../../y3w2wzj83525frlak51nmjsvj2xialw0-qtbase-5.15.12/lib/libQt5DBus.so.5: undefined symbol: _ZTI7QObject, version Qt_5)
Then why the **** are you on the nix issue tracker?
Me? What do you mean by that?
Then why the **** are you on the nix issue tracker?
Me? What do you mean by that?
No, not you :) I am sorry, If I hurt you. There was a deleted comment which said "I don't use nix and I don't want to install it"
I had the same error when I ran ida-free. Then I installed it with nix-shell using the following shell.nix file. It solved that error but raised another one such as ida64: symbol lookup error: ida64: undefined symbol: _ZTIN2QT7QObjectE, version Qt_5
{ pkgs ? import <nixpkgs> {} }:
let
qtPackages = pkgs.libsForQt5.qt5;
in
pkgs.mkShell {
buildInputs = [
pkgs.ida-free
pkgs.gcc
pkgs.binutils # provides ld
pkgs.nasm
qtPackages.qtbase
qtPackages.qtwayland
qtPackages.qtsvg # Adding more Qt components
qtPackages.qtdeclarative
qtPackages.qtx11extras
];
shellHook = ''
export LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath [
qtPackages.qtbase
qtPackages.qtwayland
qtPackages.qtsvg
qtPackages.qtdeclarative
qtPackages.qtx11extras
]}:$LD_LIBRARY_PATH;
export QT_QPA_PLATFORM=offscreen;
'';
}
I am experiencing the same problem, on NixOS unstable:
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/nix/store/rdv8is127viw7jd6vfbdrz4zj0s656d5-ida-free-8.4.240320/opt/platforms" ...
Cannot load library /nix/store/gwdppzlzl74561fg1n07516s3wp8na6s-qtwayland-5.15.14-bin/lib/qt-5.15.14/plugins/platforms/libqwayland-generic.so: (/nix/store/gwdppzlzl74561fg1n07516s3wp8na6s-qtwayland-5.15.14-bin/lib/qt-5.15.14/plugins/platforms/../../../../../9wba9diw8b199hfzcv8w99wzma66dzm1-qtbase-5.15.14/lib/libQt5DBus.so.5: undefined symbol: _ZTI7QObject, version Qt_5)
QLibraryPrivate::loadPlugin failed on "/nix/store/gwdppzlzl74561fg1n07516s3wp8na6s-qtwayland-5.15.14-bin/lib/qt-5.15.14/plugins/platforms/libqwayland-generic.so" : "Cannot load library /nix/store/gwdppzlzl74561fg1n07516s3wp8na6s-qtwayland-5.15.14-bin/lib/qt-5.15.14/plugins/platforms/libqwayland-generic.so: (/nix/store/gwdppzlzl74561fg1n07516s3wp8na6s-qtwayland-5.15.14-bin/lib/qt-5.15.14/plugins/platforms/../../../../../9wba9diw8b199hfzcv8w99wzma66dzm1-qtbase-5.15.14/lib/libQt5DBus.so.5: undefined symbol: _ZTI7QObject, version Qt_5)"
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
Cannot load library /nix/store/hjspqdvym6v553582mxp2a3f84p4aqyr-qtbase-5.15.14-bin/lib/qt-5.15.14/plugins/platforms/libqxcb.so: (/nix/store/hjspqdvym6v553582mxp2a3f84p4aqyr-qtbase-5.15.14-bin/lib/qt-5.15.14/plugins/platforms/../../../../../9wba9diw8b199hfzcv8w99wzma66dzm1-qtbase-5.15.14/lib/libQt5DBus.so.5: undefined symbol: _ZTI7QObject, version Qt_5)
QLibraryPrivate::loadPlugin failed on "/nix/store/hjspqdvym6v553582mxp2a3f84p4aqyr-qtbase-5.15.14-bin/lib/qt-5.15.14/plugins/platforms/libqxcb.so" : "Cannot load library /nix/store/hjspqdvym6v553582mxp2a3f84p4aqyr-qtbase-5.15.14-bin/lib/qt-5.15.14/plugins/platforms/libqxcb.so: (/nix/store/hjspqdvym6v553582mxp2a3f84p4aqyr-qtbase-5.15.14-bin/lib/qt-5.15.14/plugins/platforms/../../../../../9wba9diw8b199hfzcv8w99wzma66dzm1-qtbase-5.15.14/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.
[1] 330705 IOT instruction (core dumped) QT_DEBUG_PLUGINS=1 ida64
I am running KDE. Anecdotally I saw these kind of errors on Gnome.
Describe the bug
ida-free fails to launch with the reason
Aborted (core dumped)
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Ida should launch
Notify maintainers
@msanft
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.