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。
相关文章
相关标签/搜索