最近用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文件夹复制到项目文件目录下(要复制整个文件夹),即可解决该问题。

版权声明:本文为Yu-FeiFei原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/Yu-FeiFei/p/7794575.html