Libqxcb.so not found.
I compiled qt myself on a remote Linux server from source. everything went fine but after I tried to run my compiled software I got following error.
bq. 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.
Aborted (core dumped)
There is no libqxcb.so in plaftorm direcotory.
bq. root@:~/........./platforms# ll
drwxr-xr-x 2 root root 4096 Nov 13 02:35 ./
drwxr-xr-x 17 root root 4096 Nov 13 03:46 ../
-rwxr-xr-x 1 root root 4729677 Nov 13 02:35 libqlinuxfb.so*
-rwxr-xr-x 1 root root 808791 Nov 13 02:34 libqminimal.so*
-rwxr-xr-x 1 root root 3262399 Nov 13 02:35 libqoffscreen.so*
Did you follow this "doc":http://qt-project.org/doc/qt-5/linux-deployment.html when you deployed your app?
No, Should I? because I built my software on the same machine I compiled qt from source. I thought libqxcb.so file should be created on compilation. I'm I wrong? do I always have to install from SDK?
[EDIT] If you use the app on the same machine then just create qt.conf with paths pointing to Qt installation.
I built qt myself, So I don't have a installation. I didn't install Libxcb on my machine prior to the build it from source. That might be the issue. I'll try to install it from SDK. Thank you!
libxcb is a system library that is used by Qt through libqxcb.
If you build Qt with xcb support then libqxcb should be in <install path>/plugins/platforms/libqxcb.so
If you did not run make install and use the <build dir>/plugins/platforms/libqxcb.so
how to cross compile Qt for ARM using -qt-xcb? is there any solution?