部署Qt错误

时间:2017-03-27 12:13:34

标签: linux qt deployment

我尝试在Linux上的Qt上部署一个简单的hello world GUI 我首先在QTcreator上编译程序,然后使用该shell脚本收集所有需要的库: https://h3manth.com/content/copying-shared-library-dependencies

然后我得到了那个错误:

This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

我在stackoverflow "Failed to load platform plugin "xcb" " while launching qt5 app on linux without qt installed找到了 麻烦应该来自缺乏图书馆。

所以我把所有这些文件放在我的/Qt/5.7/gcc_64中,然后把所有这些放在我的另一台电脑上。 我将LD_LIBRARY_PATH导出到库所在的文件夹,但我仍然收到该错误。

 This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

0 个答案:

没有答案