问题描述: 在pycharm中安装pyqt5-tools后,尝试着打开该路径下的designer.exe C:\Users\PC\AppData\Local\Programs\Python\Python37\Lib\site-packages\pyqt5_tools\Qt\bin
报出如下提示:This application failed to start because no Qt platform plugin could be initialized
解决方法: 将路径C:\Users\PC\AppData\Local\Programs\Python\Python37\Lib\site-packages\pyqt5_tools\Qt\plugins\platforms下的两个文件拷贝到路径C:\Users\PC\AppData\Local\Programs\Python\Python37\Lib\site-packages\pyqt5_tools\Qt\bin\platforms
解决This application failed to start because no Qt platform plugin could be initialized问题
最新推荐文章于 2025-04-11 10:16:29 发布