其他分享
首页 > 其他分享> > Qt 运行显示 This application failed to start because it could not find or load the Qt platform plugin

Qt 运行显示 This application failed to start because it could not find or load the Qt platform plugin

作者:互联网

QT发布exe文件以后,运行文件时提示:

This application failed to start because it could not find or load the Qt platform plugin “windows”.
Reinstalling the application may fix this problem.

具体如下图所示

经过检验是生成platforms文件夹内缺少相应的文件,现在是可以自己进行手动切换。

对Qt安装目录下的查找platforms文件,是plugins文件下的一个子文件,将其中的.dll文件放到自己的文件夹下,这样就是可以运行的。

标签:load,文件,because,Qt,application,platforms
来源: https://www.cnblogs.com/ybqjymy/p/16595848.html