Qt提供了windeployqt可快速拷貝依賴文件debug
cmd中輸入下面指令便可,pro.exe爲本身開發的文件開發
C:\Qt\Qt5.9.2\5.9.2\mingw53_32\bin\windeployqt.exe pro.exeget
根據實際qt版本修改路徑,會自動識別debug/release模式的文件拷貝相應庫cmd