Why ldd not shows libqxcb.so is required
-
Hello,
Trying to move simple widget based GUI application to system that not contains QT.
I have copied files with executable:
libicudata.so.54 libicui18n.so.54 libicuuc.so.54 libQt5Core.so.5 libQt5Gui.so.5 libQt5Widgets.so.5
Got error while application run:
This application failed to start because it could not find or load the Qt platform plugin "xcb".
According to information in forum I need library libqxcb.so. But why ldd command not shows I require it?
Where libqxcb.so should be placed? -
Hi,
It's explained in the Linux deployment guide.
As an alternative you should consider using the linuxdeployqt project.
-
@column said in Why ldd not shows libqxcb.so is required:
But why ldd command not shows I require it?
Because
libqxcb.so
is a plugin that is loaded after your executable starts running.ldd only shows libraries that are loaded before your executable starts running.
Where libqxcb.so should be placed?
See @SGaist's links, or my answer at https://forum.qt.io/post/446700