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

Posted 剑峰随心

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了pyqt5-tools 使用qtdesigner错误-This application failed to start because no Qt platform plugin could be i相关的知识,希望对你有一定的参考价值。

 

 运行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的主要内容,如果未能解决你的问题,请参考以下文章

在 macOS 上安装 pyqt5-tools

Pycharm安装PyQt5和pyqt5-tools从而使用Qt Designer

Pycharm+Python+PyQt5使用

pyqt5学习日记

Qt基本概念

Qt基本概念