When I try to run the plugandpaint example, I get the error:
This application failed to start because it could not find or load the Qt platform plugin “xcb”.
Details below. Any help appreciated.
I’m running on Ubuntu 13.04 connecting via “ssh -X” and X11 apps run OK, e.g. firefox. xcb is installed and runs.
I followed the instructions to build Qt5 from Git [qt-project.org].
I have installed the libraries required forQT5 on X11:
libxcb1 libxcb1-dev libx11-xcb1 libx11-xcb-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-image0 libxcb-image0-dev libxcb-shm0 libxcb-shm0-dev libxcb-icccm4 libxcb-icccm4-dev libxcb-sync0 libxcb-sync0-dev libxcb-xfixes0-dev libxrender-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0 libxcb-render-util0-dev
I have built the examples in ~/qt5/qtbase/examples as follows:
qmake
make
Then, from the directory I run:
./widgets/tools/plugandpaint/plugandpaint
and get the following error:
This application failed to start because it could not find or load the Qt platform plugin “xcb”.
Reinstalling the application may fix this problem.
Aborted (core dumped)
↧