微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

This application failed to start because it could not find or load the Qt platform plugin "windows". Available platform plugins are: minimal, offscreen, windows.....解决方法

在利用Qt Creator编写上位机时,release模式调试时遇到了

This application Failed to start because it Could not find or load the Qt platform plugin "windows".

 

Available platform plugins are: minimal,offscreen,windows.

 

Reinstalling the application may fix this problem.

分享图片

 

这个问题,找了一些博客,但都是解决

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

这个问题的,说是对Qt安装目录下的plugins文件下的platforms文件,将其中的.dll文件放到自己的文件夹下,

但我照做发现依旧会出现这个问题。

最后发现是由于我的platforms文件下有多个.dll文件,执行.exe时不能正确寻找到qwindows.dll文件

 

解决方法

在platforms文件文件下仅保留qwindows.dll文件,此后便能正常执行.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.--------------------- 作者:泉伟 来源:CSDN 原文:https://blog.csdn.net/qq_35451572/article/details/80312209 版权声明:本文为博主原创文章,转载请附上博文链接

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐