QT程序报错This application failed to start because it could not find or load the Qt platform plugin

前提概要

         基于QT5开发的绿色windows程序,之前在开发电脑可以正常运行,放在其他电脑就报错了

报错信息

       参考图

QT程序报错This application failed to start because it could not find or load the Qt platform plugin

 

 解决办法

        

在  QT Creator的安装目录将platforms目录复制到应用程序目录

       参考路径

             D:\Qt\Qt5.8.0\5.8\mingw53_32\plugins\platforms

        提示

               是将 platforms 目录和文件一起复制到应用程序目录

         参考图

QT程序报错This application failed to start because it could not find or load the Qt platform plugin