0
点赞
收藏
分享

微信扫一扫

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

一条咸鱼的干货 2022-07-13 阅读 92

前言

将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_解决方法

解决方法

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

参考

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


举报

相关推荐

0 条评论