解決Qt編譯動態連接庫could not find or load the Qt platform plugin "windows" in.問題

最近用Qt5作了一個項目的界面,在編譯成可執行文件EXE以後,運行文件,提示:windows

This application failed to start because it could not find or load the Qt platfo
rm plugin "windows"
in "".app

Reinstalling the application may fix this problem.this

查了不少資料,試了很過方法,後來發現將D:\Anaconda2\Library\plugins下的platforms文件夾複製到項目文件目錄下(要複製整個文件夾),便可解決該問題。orm

相關文章
相關標籤/搜索