So I am trying to deploy my application to a machine have does not have Qt installed. I followed the instructions X11 Deployment [qt-project.org] for shared libs.
Program works on dev system (Mint) but on a machine without Qt (Ubuntu 12.04) this error occurs:
Failed to load platform plugin "xcb". Available platforms are:
Aborted (core dumped)
My application folder looks like this (ls -R)
libQt5Core.so.5 libQt5Gui.so.5 libQt5Widgets.so.5 mg_linux.sh
libQt5DBus.so.5 libQt5Svg.so.5 mg_linux platforms
./platforms:
libqxcb.so
I have checked the dependencies are installed with ldd on the executable and the libqxcb.so
I have looked through other solutions, such as
https://qt-project.org/forums/viewthread/22292/#155301
From which I thought goblincodings post/blog seemed relevant. For a test I downloaded his app [goblincoding.com], ran the scripts for dependancies and still got an error:
This application failed to start because it could not find or load the Qt platform plugin "xcb".
Available platform plugins are: xcb.
Reinstalling the application may fix this problem.
but this time it says xcb is availiable, which makes me think I have two probelms. Do I need to explicitly state the xcb is located in the platforms folder? Or should the release compile flag force this behaviour.
Thanks
↧