问题描述

Qt程序在发布时,报错:
This application failed to start because it could not find or load the Qt platform plugin “xcb”
in “”.
Reinstalling the application may fix this problem
Aborted (core dumped)

原因

没有将libqxcb库拷贝到发布包中,或者libqxcb需要的动态库不全

解决办法

将Qt安装目录中 Qt5.6.3/5.6.3/gcc_64/plugins/platforms 拷贝到qt程序所在目录,
使用ldd查看libqxcb需要链接的库是否能找到,如果没有,将缺少的库一并拷贝到发布包中

【Qt】Qt发布程序时,报错: could not find or load the Qt platform plugin xcb相关推荐

  1. Linux下解决发布Qt程序报错:it could not find or load the Qt platform plugin “xcb” in “”

    简述 用Qt5.8版本在ubuntu16.04版本下编写Qt应用程序,生成release版本并打包,到另一台无Qt环境的linux系统中运行. 网上通常是按以下几个步骤进行: 1.生成release程 ...

  2. QT编译发布程序后报错如缺少dll、“应用程序无法正常启动(0xc000007b)”的可能解决方法

    QT编译发布程序后报错如缺少dll."应用程序无法正常启动(0xc000007b)"的可能解决方法 参考文章: (1)QT编译发布程序后报错如缺少dll."应用程序无法正 ...

  3. Ubuntu下编译qt程序libQtWebEngineCore报错

    最近在Ubuntu下编译qt程序时, 报如下错误 libQt5WebEngineCore.so: .dynsym local symbol at index 3 (>= sh_info of 3 ...

  4. Ubuntu16.04下Python程序出现错误qt.qpa.plugin: Could not load the Qt platform plugin xcb解决方法

    问题描述 我在运行一个使用Pyqt5库的Python程序时,出现报错: qt.qpa.plugin: Could not load the Qt platform plugin "xcb&q ...

  5. Pycharm运行时出现Could not load the Qt platform plugin “xcb“问题

    Ubuntu20.04在Pycharm运行时出现Could not load the Qt platform plugin "xcb"问题 用mmclassification跑te ...

  6. Ubuntu pyinstaller 打包可执行文件时报错:... qt.qpa.plugin: Could not find the Qt platform plugin “xcb“ in “...

    Ubuntu pyinstaller 打包可执行文件时报错:qt.qpa.plugin: Could not find the Qt platform plugin "xcb" i ...

  7. 程序启动报错:ORA-12505;PL/SQL却可以登录的解决方法

    程序启动报错:ORA-12505;PL/SQL却可以登录的解决方法 参考文章: (1)程序启动报错:ORA-12505;PL/SQL却可以登录的解决方法 (2)https://www.cnblogs. ...

  8. 为 VUE 项目添加 PWA 解决发布后刷新报错问题

    为 VUE 项目添加 PWA 解决发布后刷新报错问题 参考文章: (1)为 VUE 项目添加 PWA 解决发布后刷新报错问题 (2)https://www.cnblogs.com/morang/p/9 ...

  9. 【错误记录】Windows 控制台程序编译报错 ( WINDOWS.H already included. MFC apps must not #include <Windows.h> )

    文章目录 一.报错信息 二.解决方案 一.报错信息 Windows 控制台程序编译报错 : 已启动生成- 1>------ 已启动生成: 项目: hacktool, 配置: Debug Win3 ...

最新文章

  1. 简单的特征值梯度剪枝,CPU和ARM上带来4-5倍的训练加速 | ECCV 2020
  2. 软件工程 软件的估计为什么这么难
  3. Python的itertools.product 方法
  4. 不要再问我Python2和Python3的Unicode 问题啦!
  5. java学习(94):cpu随机调用线程测试
  6. python解析xml+得到pascal voc xml格式用于目标检测+美化xml
  7. layui弹出层html,layui-弹出层
  8. Xen Documentation - Hypercall Interfaces
  9. hive 配置用户名_Hive的安装及配置
  10. 高职对计算机课程要求,高职计算机课程对学生编程能力培养.doc
  11. JavaWeb — 请求响应流程图
  12. 微软云服务器搭建,75分钟快速构建微软Server 2012私有云
  13. 融合黄金正弦与sigmoid连续化的海鸥优化算法-附代码
  14. 爱荷华州立大学计算机科学,爱荷华州立计算机科学庆祝成立50周年
  15. 数据分析方法-AARRR模型分析方法
  16. 题目 A : 勇士传说
  17. 平板如何下载鸿蒙系统,鸿蒙系统2.0
  18. Vue--解决官网网站404的问题
  19. R语言 lars包 lars()函数中文帮助文档(中英文对照)
  20. 登录、注册页面及后台代码

热门文章

  1. 洛谷 P3302 [SDOI2013]森林 主席树+启发式合并
  2. 【目标检测】(8) ASPP改进加强特征提取模块,附Tensorflow完整代码
  3. Linux改变输出字体颜色,linux下 C编程改变输出字体颜色
  4. ATS cache中的几个数据结构图收集
  5. 在Ubuntu 14.04和CentOS上安装boost1.55二进制包
  6. Gold Code,Gold Sequence
  7. Django-C002-深入模型,到底有多深
  8. BZOJ2275[Coci2010]HRPA——斐波那契博弈
  9. Tomcat_7.x压缩版_环境变量配置(亲测有效)
  10. webpack入门之简单例子跑起来