解决 Qt5 报错 This application failed to start because it could not find or load the Qt platform plugin

QT为了简化生成发布版本,特别提供了工具 "windeplayqt.exe",这个工具在 "...\Qt\msvc2017_64\bin"的目录下,通过该命令,可以解决上述错误。

打开控制台窗口

设置搜索路径以便系统可以搜索到 "windeployqt.exe"

运行 "windeplayqt.exe D:\work\project\sample\bin\Release\sample.exe", 所需要的QT运行库就自动拷贝到目标程序目录了。

其他

以上方法也适合debug版本。

如果程序使用了新的QT模块,重新执行一遍即可。

解决 Qt5 报错 This application failed to start because it could not find or load the Qt platform plugin相关推荐

  1. 解决This application failed to start because it could not find or load the Qt platform plugin windows

    PyQt5+python做UI时,使用pyinstaller打包成exe,点击运行exe文件时,出现This application failed to start because it could ...

  2. PyQt5: This application failed to start because it could not find or load the Qt platform plugin

    文章目录 问题描述 解决方案 可以按照这个安装:[PyQt5笔记]使用 designer 开发 python GUI 界面 问题描述 安装完 PyQt5.pyqt5-tools 后,点击 design ...

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

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

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

    还是不会来解决方法"windeployqt.exe" --release 和 --debug 要选对 C:\Windows\system32>"C:\Qt_X86\ ...

  5. Anaconda打不开This application failed to start because it could not find or load the QT platform....

    anaconda打不开,直接弹出错误窗口 在网上试了很多方法都没有成功,折腾了好久 卸载重装还是一样的错误 手动添加过如下的环境变量,网上有的人成功了但是我没有,还是报错 下面分享以下我最后解决的方法 ...

  6. UG12.0安装完成后Application failed to start because it could not find or load the QT platform的解决办法

    找到NX12.0的安装目录"D:\Program Files\Siemens\NX 12\NXBIN\ugraf.exe" -nx 进入qt5_plugins文件夹 再进platf ...

  7. 【Qt】Qt发布程序时,报错: could not find or load the Qt platform plugin xcb

    问题描述 Qt程序在发布时,报错: This application failed to start because it could not find or load the Qt platform ...

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

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

  9. 【已解决】报错qt.qpa.plugin: Could not load the Qt platform plugin “windows“ in “...“ even though it was

    问题描述: 在Python程序中使用到Pyside2进行图形界面搭建,并使用Pyinstaller将程序打包为独立可执行文件后,双击.exe文件,出现报错: "qt.qpa.plugin: ...

最新文章

  1. for语句内嵌例题与个人理解
  2. C语言中二维指针,C语言中怎样区分一维指针和二维指针?
  3. Bootstrap 简洁、直观、强悍、移动设备优先的前端开发框架,让web开发更迅速、简单。...
  4. linux内存管理(十)-页表管理
  5. 【java学习之路】(java框架)010.声明式事务控制
  6. php 同步文件到服务器上,PHPstorm配置同步服务器文件
  7. 软件工程过程 - 期末复习
  8. 文本、词相似度论文阅读笔记
  9. matlab教程 当当,MATLAB实用教程(第4版)
  10. 分贝测试软件哪个好 家庭影院,家庭影院5.1和7.1哪种好?5.1和7.1家庭影院区别...
  11. vc6.0垃圾文件清理工具_小白也能轻松上手,借用联想小工具轻松解决常见win10问题...
  12. 步进电机基础及工作原理
  13. 挂科心得: 驾校重要 教练更加重要(转)
  14. matlab分频.m,分频器m是什么意思 音响分频器m. TW那个代表高音那个代表是低音?...
  15. 网工解惑,子网掩码是什么以及子网掩码有哪些?
  16. 产品经理必知的2020年手机 App 7大原型设计流行趋势
  17. 研究生学姐二次考研的感悟:关于择校选专业专硕or学硕
  18. 各种交叉编译工具链的区别
  19. 如何修改Microsoft edge浏览器主页?
  20. 火狐Firefox浏览器安装使用油猴Tampermonkey插件

热门文章

  1. C++ memset 栈空间出现段错误
  2. DataSet之间的赋值
  3. ARM指令集的最新版本包括针对JavaScript的优化
  4. bzoj 2141 : 排队 (cdq分治+bit)
  5. 【原码, 反码, 补码的基础概念和计算方法】
  6. 手把手教你crontab排障
  7. Android Scroller类的详细分析
  8. window下rails4.1 发生TZInfo::DataSourceNotFound 错误
  9. rac部署过程的任务列表
  10. 文本前后空格去除工具