Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
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
citiustech last edited by
how to cross compile Qt for ARM using -qt-xcb? is there any solution?
jnhhcl last edited by
I have encountered the same problem. Have you resolved it? Could you teach me how to do ? Thank you very much!
Al O last edited by
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.