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

在win10系統下,利用QT5.9編寫了一個應用程序,拷貝必要的dll文件,拿到其他計算機上運行,出現如下問題: 解決方案: 1.動態鏈接庫dll要補全,在exe同級目錄,如圖所示 2.添加平臺支持文件。因爲不能保證其他計算機安裝QT或其他C++的插件,從QT安裝目錄下拷貝platforms文件夾到exe同級目錄,路徑爲C:\Qt\Qt5.9.4\5.9.4\mingw53_32\plugins。
相關文章
相關標籤/搜索