執行Qt程式可能發生"The application was unable to start correctly (0xc000007b)"or"The program can't start because XXX.dll is missing". 這時候,Qt提供了一個工具可以自動幫你將需要的dll檔案複製到你的exe所在的目錄裡,首先,找到 windeployqt.exe 它存在在qt的安裝目錄中,舉例: C:\Qt\5.9.1\msvc2015_64\bin\windeployqt.exe, 這時候,在cmd中執行: path\to\windeployqt.exe yourProgram.exe 則程式即可執行。