一般出现qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in问题,主要是安装qt5后,缺少一些链接库,通过以下方法定位到缺少哪个链接库
 在环境中 export QT_DEBUG_PLUGINS=1
 执行出现该问题到程序,便可以定位到缺失的链接库。
 在ubuntu系统中一般是libxcb-xinerama.so.0,通过sudo apt-get install libxcb-xinerama0
 在centos系统中一般是libxkbcommon-x11.so.0,通过yum -y install libxkbcommon-x11-devel
 提供两个通过文件名查找包名到网站
http://rpm.pbone.net
http://rpmfind.net
