pyqt5程序使用py2exe打包后运行时报找不到Qt platform plugin ‘windows’错误
来源:互联网 发布:java算法技术手册 编辑:程序博客网 时间:2024/05/14 07:01
pyqt5程序使用py2exe打包后运行时报找不到Qt platform plugin ‘windows’错误
现象描述:
64位windows系统下直接将pyqt5的plugins下的platforms文件夹复制到exe相同目录即可,但在32位系统下一直报找不到Qt platform plugin ‘windows’错误。
解决方案:
在exe同目录下新建plugins文件夹,然后将platfroms文件夹移到新建的文件夹下,同时修改main方法,添加以下代码:
QApplication.addLibraryPath("./plugins")
类似的处理方案参考这里
0 0
- pyqt5程序使用py2exe打包后运行时报找不到Qt platform plugin ‘windows’错误
- Qt5程序发布后运行,解决出现could not find or load the Qt Platform plugin windows错误
- 在windows使用py2exe打包程序
- Qt程序运行提示“it could not find or load the QT platform plugin “windows””
- qt platform plugin 'windows'
- Qt platform plugin 'windows'
- 【Qt5 for VS】关于出现 Qt platform plugin "windows" 运行错误的解决方案
- Qt5程序错误:could not find or load the Qt platform plugin "windows"
- pyqt5.2 + vs2010-- could not find or load the Qt platform plugin windows
- [pyqt5]解决could not find or load the Qt platform plugin windows
- Qt程序在其他电脑上运行时提示:couldnot find or add the Qt platform plugin:windows
- PyQt5系列教程(三)用py2exe进行程序打包
- Python程序使用py2exe打包
- [Qt]Problem:the Qt platform plugin "windows"
- [学习笔记]使用py2exe打包python程序
- 使用py2exe打包发布python程序
- python程序打包(使用py2exe)
- IDEA Maven打包时报找不到符号错误
- 实战体验几种MySQL Cluster方案
- caffe layer
- Maven3.0.4基础原理分析
- Introduce to algorithm--------pseudo code to C/C++ code (chapter 16)
- gdb tips 总结
- pyqt5程序使用py2exe打包后运行时报找不到Qt platform plugin ‘windows’错误
- Redis之小端转大端
- 作为软件测试人员,如何描述缺陷(Defect)?
- HDU 1711 Number Sequence
- MySQL数据库游标
- 从本地JSON文件中读取数据
- html学习笔记(8)
- STM32时钟讲解(内部构架说明)
- CoreMotion框架中加速度计使用简明教程