在VisualStudio上新建Qt工程后,将编译模式从Debug×64改为Release×64后运行报错

VS上Qt报错:This application failed to start because it could not find or load the Qt platform plugin “windows” in “”.

我在VS2017上新建Qt工程后,把Debug×64模式改为Release×64模式,然后运行程序,结果报错This application failed to start because it could not find or load the Qt platform plugin “windows” in “”.如下图所示
在VisualStudio上新建Qt工程后,将编译模式从Debug×64改为Release×64后运行报错

解决办法

经过我一番摸索,点击项目->属性->Qt Project Settings,右边的Run Deloyment Tool从否改为是,然后确定再运行,发现能够正常运行了。
在VisualStudio上新建Qt工程后,将编译模式从Debug×64改为Release×64后运行报错
运行界面如下
在VisualStudio上新建Qt工程后,将编译模式从Debug×64改为Release×64后运行报错
最后我尝试把那个选项改成否,重新编译再运行,发现还是不行,到此我觉得就是这个选项的问题!