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

pyqt5-tools 使用qtdesigner错误-This application failed to start because no Qt platform plugin could be i..._第1张图片

 

 运行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 i..._第2张图片

 

你可能感兴趣的:(pyqt5-tools 使用qtdesigner错误-This application failed to start because no Qt platform plugin could be i...)