码迷,mamicode.com
首页 > 移动开发 > 详细

pyqt5-tools 使用qtdesigner错误-This application failed to start because no Qt platform plugin could be initialized

时间:2020-07-22 20:13:55      阅读:271      评论:0      收藏:0      [点我收藏+]

标签:mini   nbsp   文件夹路径   fail   ali   minimal   not   min   com   

技术图片

 

 运行designer.exe文件保错

This application failed to start because it could not find or load the Qt platform plugin "windows"in “”, Available platform plugins are: minimal, offscreen, windows. Reinstalling the application may fix this problem.

 

解决方法

参考https://blog.csdn.net/a359680405/article/details/45074761

环境变量中设置pyqt5的plugins文件夹路径

 

QT_QPA_PLATFORM_PLUGIN_PATH

C:\ProgramData\Anaconda3\Lib\site-packages\PyQt5\Qt\plugins

技术图片

 

pyqt5-tools 使用qtdesigner错误-This application failed to start because no Qt platform plugin could be initialized

标签:mini   nbsp   文件夹路径   fail   ali   minimal   not   min   com   

原文地址:https://www.cnblogs.com/bob-jianfeng/p/13362015.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!