解决Qt编译动态链接库could not find or load the Qt platform plugin "windows" in.问题

最近用Qt5做了一个项目的界面,在编译成可执行文件EXE之后,运行文件,提示:

This application failed to start because it could not find or load the Qt platfo
rm plugin "windows"
in "".

Reinstalling the application may fix this problem.

查了很多资料,试了很过方法,后来发现将D:\Anaconda2\Library\plugins下的platforms文件夹复制到项目文件目录下(要复制整个文件夹),即可解决该问题。

posted @ 2017-11-06 18:36  HITsz  阅读(15106)  评论(0编辑  收藏  举报