Qt Designer启动显示This application failed to start because no Qt platform plugin could be
initialized. Reinstalling the application may fix this problem.
一、问题
本人是安装到Anaconda下面的。
启动Qt Designer出现下面问题:
二、解决办法
1.重新安装:
不过我看好多人重装都没用。
pip install PyQT5
pip install PyQT5-tools
2.替换文件:
将下面两个文件其中之一:
D:\Anaconda3\Lib\site-packages\PyQt5\Qt\plugins\platforms\qwindows.dll
或者
D:\Anaconda3\Lib\site-packages\pyqt5_tools\Qt\plugins\platforms\qwindows.dll
替换到下面
D:\Anaconda3\Lib\site-packages\pyqt5_tools\Qt\bin\platforms\qwindows.dll