1. 程式人生 > >QT—程式打包問題(1)

QT—程式打包問題(1)

     今天忽然想將寫的一個多文件編譯器的程式打包,然後......

      問題出現了鄙視

     


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

   Reinstalling the application may fix this problem.

 

     經過對各種對庫函式的折騰,終於找到了解決辦法.

     

  除了大笑Release版本 的exe檔案所新增必要的庫函式之外,我們還需要把    platforms資料夾放到與exe檔案的同級目錄下.如上圖所示

 該資料夾在    QT\5.4\mingw491_32\plugins\platforms