Qt5程序发布后运行,解决出现could not find or load the Qt Platform plugin windows错误
来源:互联网 发布:linux 目录空间查看 编辑:程序博客网 时间:2024/05/18 21:40
Qt5发布后的程序在别人的机器上运行,出现错误如图:
这个是因为没有加入与windows平台相关的dll,
在开发环境中运行时并没有错误,打开程序后,使用DLL依赖工具,查看程序依赖的DLL:
可以看到,有部分的dll使用的是mingw下面的plugins下的。
在非开发的使用环境中,这些dll并不存在,把这些依赖的dll复制到exe所在的文件夹,如图:
把plugins目录下用到的具体dll,放到与之对应的文件夹里面。
这样访问就解决了。
0 0
- Qt5程序发布后运行,解决出现could not find or load the Qt Platform plugin windows错误
- Qt5 中发布程序遇到could not find or load the Qt platform plugin "windows"
- Qt5 中发布程序遇到could not find or load the Qt platform plugin "windows"
- Qt5 中发布程序遇到could not find or load the Qt platform plugin "windows"
- Qt5 中发布程序遇到could not find or load the Qt platform plugin "windows"
- Qt5程序错误:could not find or load the Qt platform plugin "windows"
- 解决QT5.5.1 could not find or load the Qt platform plugin "windows"
- Qt程序运行提示“it could not find or load the QT platform plugin “windows””
- QT运行exe时出现“could not find or load the QT platform plugin windows”问题的解决办法
- [pyqt5]解决could not find or load the Qt platform plugin windows
- Qt release之后运行显示it could not find or load the Qt platform plugin "windows".解决方法
- Qt程序部署时遇到的坑:could not find or load the Qt platform plugin "windows"
- anaconda 使用matplotlib画图出现 could not find or load Qt platform plugin "" 解决
- pyqt5.2 + vs2010-- could not find or load the Qt platform plugin windows
- "it could not find or load the Qt platform plugin "windows""解决方法
- 问题解决:it could not find or load the Qt platform plugin "windows"
- it could not find or load the Qt platform plugin "windows"
- Anaconda+pycharm配置qtdesigner提示could not find or load the Qt platform plugin windows
- tcpdump 高级应用
- Thinking in Java学习笔记,可以被Future.cancel()中断的资源
- HDU 2523--SORT AGAIN【水题】
- vlan原理详解,vlan功能及优点,vlan配制命令
- 堆 在游戏中的运用
- Qt5程序发布后运行,解决出现could not find or load the Qt Platform plugin windows错误
- Eclipse Java EE透视图下看不见Referenced Libraries解决办法
- vmware esxi 报错an error occurred while saving the snapshot:change tracking target file already exists
- linux下解压zip文件时,文件名乱码的解决
- (4.1.19)【Android UI设计与开发】第06期:底部菜单栏(一)使用TabActivity实现底部菜单栏
- PAT 1002. A+B for Polynomials (25)
- ORACLE数值类型详解--NUMBER、BINARY_FLOAT、BINARY_DOUBLE、BINARY_INTEGER、FLOAT
- Android逆向经验总结
- why maven use jdk 1.6 but my java -version is 1.7