Qt5.7.0编写应用程序找不到库的解决方法(2)

网上有很多方法试了好几个都不行,为了后面的同学快速的解决这个问题,在这里写一帖
QT5.0以后的都可以用这种方法(以前的版本不知)
下面的六个步骤就可以搞定了
命令:windeployqt
参数:%{buildDir}/%{CurrentBuild:Type}/%{CurrentProject:Name}.exe
工作目录:%{buildDir}
这里写图片描述

解决问题:This application failed to start because it could not find or load the Qt platform plugin “windows”

猜你喜欢

转载自blog.csdn.net/qq_40062917/article/details/80352591
今日推荐