1、缺少 libxcb 库
1.1 Ubuntu系统
1)问题
 在Ubuntu等桌面系统中,第一次Qt程序时报错:
qt.qpa.plugin:Could not load the Qt platform plugin “xcb“
2)原因
 详细原因查找步骤,参考博客:【Qt】Ubuntu18.04下解决Qt出现qt.qpa.plugin:Could not load the Qt platform plugin “xcb“问题
3)解决方法
 安装 libxcb 库,ubuntu系统命令安装如下
sudo apt install  libxcb-xinerama0
1.2 嵌入式Linux系统
1)问题
 Qt程序在发布时,报错:
This application failed to start because it could not find or load the Qt platform