Could not find Qt platform plugin 'xcb' on Debian 8.3
-
Hi everyone!
I've compiled a simple Qt application on Ubuntu 15.10.
I've created a lib and a platforms folder int the same directory where the executable is.
I've copied libicudata.so.54, libicui18n.so.54, libicuuc.so.54, libQt5Core.so.5, libQt5DBus.so.5, libQt5Gui.so.5, libQt5Widgets.so.5,
libQt5XcbQpa.so.5 into lib, and libxcb.so into platforms, then moved the application with the folders to a fresh Debian 8.3 install.
I've also created a start.sh script with the following content:export LD_LIBRARY_PATH=$PWD/lib export QT_QPA_PLATFORM_PLUGIN_PATH=$PWD/platforms ./QtTestAppBut when I start the application using the script it says that it couldn't find Qt platform plugin 'xcb'...
I've run ldd on the application itself, and on the libxcb.so also, but it seems, it have found everything... -
@viktorsimko
Hello,
If there's no typolibxcb.sois not what you want. You'd want to deploylibqxcb.sowhich on my system is in:/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms(for Qt5 installed withapt).Kind regards.