文章目录 需要安装的 报错1 解决 1. 安装必要的依赖项 2. 检查环境变量 3. 检查并安装X11服务器 4. 检查Qt库路径 5. 重装Qt或插件 6. 启动时使用`offscreen`模式(临时解决方案) 总结 需要安装的 #安装x11组件包 yum -y install xorg-x11-xauth # 中文字库 yum -y install wqy-zenhei-fonts* 报错1 [root@123456 FilePath]# ./FileServer qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because