Qt Desiger 报错 Qt Designer:This application failed to start because no Qt platform plugin could be init
解决方法:
(1)从用户安装Python包目录下找到以下路径下的platforms文件夹,并复制复制整个文件夹:
是PyQt5包安装目录
C:\Users\admin\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyQt5\Qt\plugins\
(2)回到以下目录,覆盖粘贴上面复制的platforms 文件夹:
是pyqt5_tools 目录
C:\Users\admin\AppData\Local\Programs\Python\Python37\Lib\site-packages\pyqt5_tools\Qt\bin
然后打开Qt Designer就完事儿啦