PyQt5-tools的designer.exe无法启动

 

运行designer.exe提示错误:

This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

解决方法:

将designer.exe所在上级目录的plugin文件夹覆盖(注意事先备份)designer.exe所在目录下的plugin文件夹。

即pyqt5_tools\Qt\plugins下内容替换pyqt5_tools\Qt\bin\plugins下内容。

猜你喜欢

转载自blog.csdn.net/qq_39183991/article/details/109282859