This application failed to start because no Qt platform plugin could be initialized
Posted focksor cr
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了This application failed to start because no Qt platform plugin could be initialized相关的知识,希望对你有一定的参考价值。
错误提示
在打开PyQt5-tools中的Designer.exe时,提示如下错误:
designer
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
解决方法
定位到Python38Libsite-packagesPyQt5Qtplugins
,这个位置取决于你安装Python的位置,我的电脑上该位置的完整路劲是:C:UsersfocksorAppDataLocalProgramsPythonPython38Libsite-packagesPyQt5Qtplugins
。
将该目录下的platforms
文件夹复制到Python38Libsite-packagespyqt5_toolsQtin
,并替换处于该目录下的platforms
内的文件。
再次打开designer.exe
,此时问题应该已解决。
参考
提示
如果你同样遇到该问题并通过此贴解决了问题,你可以留下你的评论来提示后来人该方法是可行的。
以上是关于This application failed to start because no Qt platform plugin could be initialized的主要内容,如果未能解决你的问题,请参考以下文章
This application failed to start because no Qt platform plugin could be initialized
This application failed to start because no Qt platform plugin could be initialized.
This application failed to start because no Qt platform plugin could be initialized
使用 pyinstaller 将 python 文件转换为 .exe 给出: This application failed to start because no Qt platform plugi
This application failed to start because no Qt platform plugin could be initialized报错
pyqt5-tools 使用qtdesigner错误-This application failed to start because no Qt platform plugin could be i