no libxcb.so qt plugin in /platforms directory
I am not sure what I have missed when xcb qt plugin is not in platforms directory and I'm getting error when trying to deploy my app to BeagleBone:
This application failed to start because it could not find or load the Qt platform plugin "xcb".
Available platform plugins are: linuxfb, minimal, offscreen.
Reinstalling the application may fix this problem.
I found that plugin file at /usr/lib/arm-linux-gnueabihf/libxcb.so
That's not the plugin you have there, that the xcb library. Did you cross-compile Qt with X11 enabled ?
The libqxcb.so file that reside inside platforms folder (in your application package, and I'm assuming you are dynamically linking with qt ) needs additional dependencies. You can find all dependencies by calling ldd for libqxcb.so, but we need to copy files reside only in Qt directory. Find it in Qt libs directory ( in my case it was libQt5DBus.so.5). Change name (*.so.5.4.1 to *.so.5) and copy it to executable directory.