QT-This application failed to start because it could not find or load the Qt platform plugin "windows"

前言

将qt的vs工程生成Release版本,不过出现错误,现将可以解决该问题的方法记录下来。

项目环境

系统:win7_64

软件:VS2013、QT5.6.2、qt-vs-addin-1.2.5

问题描述

QT-This application failed to start because it could not find or load the Qt platform plugin "windows"

解决方法

将目录C:QtQt5.6.25.6msvc2013_64plugins文件夹中的platforms文件夹复制到Release文件夹(exe所在目录)即可,其实只用到platforms文件夹中的qwindows.dll这个文件,但是必须将该文件放在platforms文件夹中才可以。

参考

1.http://blog.163.com/money939@126/blog/static/2364411320141124112051823/