PDA

View Full Version : deployment of qt app issue



Surfman19
24th August 2015, 12:16
Hi,

i try to deploy a qt app and prepare all dependencies, so that i can execute the app on another machine with ubuntu 14.04 and dont need to install qt, g++ or gcc...

at the moment i use ldd ./MyQtApp to figure out which .so files i need...

i cant figure out why i get this error:


./run.sh
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)


also, is there a better way than manully finding all dependencies...is there a deploy script/app for qt5.4.2 on ubuntu 14.04 x64?

Thanks,
Gerald

anda_skoa
25th August 2015, 07:56
This is a warning about a missing plugin, the Qt platform plugin for X11 (called XCB).

Plugins are loaded at runtime, they do not appear in the output of ldd.

http://doc.qt.io/qt-5/linux-deployment.html#qt-plugins

Cheers,
_