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

1 创建qt.conf,放在应用程序安装目录下

文件内容:

[Paths]
Prefix = ./
Plugins = lib/plugins
Libraries = lib/lib
Imports = qml
Qml2Imports = qml

2 将/Qt5.6.0/5.6/gcc_64/ 目录下的lib 和 plugins目录拷贝到应用程序安装目录/lib下

3 运行程序,解决问题

原文地址:https://www.cnblogs.com/whwywzhj/p/9699834.html