首页 > 移动平台 > 详细

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

时间:2019-05-15 22:31:16      阅读:6926      评论:0      收藏:0      [点我收藏+]

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

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

原文:https://www.cnblogs.com/sxj86231/p/10872352.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!