QT运行显示错误 This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

QT运行显示错误  This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

QT编译的程序,在开发电脑上运行正常,COPY到目标电脑后运行显示

 

 原因是 除了  libgcc_s_seh-1.dll(64bit),libgcc_s_dw2-1.dll(32bit),libstdc++-6.dll,libwinpthread-1.dll,Qt5Core.dll,Qt5Gui.dll,Qt5Widgets.dll

之外,还需要  \plugins\platforms  下面的文件

 

posted @ 2020-09-10 17:35  czcbzc  阅读(2835)  评论(0)    收藏  举报