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 版权声明:本文为博主原创文章,转载请附上博文链接

相关文章

Windows2012R2备用域控搭建 前置操作 域控主域控的主dns:自...
主域控角色迁移和夺取(转载) 转载自:http://yupeizhi.blo...
Windows2012R2 NTP时间同步 Windows2012R2里没有了internet时...
Windows注册表操作基础代码 Windows下对注册表进行操作使用的...
黑客常用WinAPI函数整理之前的博客写了很多关于Windows编程的...
一个简单的Windows Socket可复用框架说起网络编程,无非是建...