一、找不到QT5Core.dll
两种方法:1.添加环境变量,可以参考这篇博文由于找不到qt5core.dll,无法继续执行代码_e:\qt\qt5.12.4\5.12.4\mingw73_64\lib\qt5cored.lib'-CSDN博客
2.将缺少的对应库添加到项目中
以我的一个项目为例
这是报错的项目的目录
在以下目录找到platforms和对应的Qt5Core.dll文件添加到项目中
以下为正确版本
至此第一个问题解决了
二、This application failed to start because no Qt platform plugin could be initialized. Reinstalling
然后博主就遇到了下一个问题
参考这篇博文Qt开发,报错:This application failed to start because no Qt platform plugin could be initialized.-CSDN博客
三、Could not find QtWebEngineProcess.exe
"
cd /d "D:\QtProject\build-map-Desktop_Qt_5_15_2_MSVC2019_64bit-Release"
windeployqt D:\QtProject\build-map-Desktop_Qt_5_15_2_MSVC2019_64bit-Release\release\map.exe