问题
VS2015新建Qt工程,Debug可用,转换为Release则报错
This application failed to start because it could not find or load the Qt platform plugin “windows”
解决
若新建Qt工程Debug可以运行,但Release如果报错找不到Qt对应dll或者中断异常,可以尝试将Release生成的QtDemo.exe取出放入一个空文件夹,然后打开Qt控制台,到对应这个目标下输入相关命令(具体路径根据自己所用的实际情况设置):
windeployqt QtDemo.exe --qmldir E:\DownloadSoft\Qt\5.12.3\msvc2015_64\qml
则将此文件夹中新生成的文件替换原先Release下的文件即可。