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
total 8608
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?
-
libqxcb.so is a part of Qt and you need to put it into right place.
Qt uses some predefined locations or you can modify that using "qt.conf":http://qt-project.org/doc/qt-5/qt-conf.html[EDIT] If you use the app on the same machine then just create qt.conf with paths pointing to Qt installation.
-
-
how to cross compile Qt for ARM using -qt-xcb? is there any solution?
-
Same here, did a full installation from sources, and libqxcb.so is just not built.
Any idea ?
-
Hi and welcome to devnet,
Did you check that you have all required dependencies available ?
Take a look at the configure test logs to exactly what failed.