Qt版本:5.12.9
1.出现报错:
qt.qpa.plugin: Could not find the Qt platform plugin “windows” in “”
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
2.解决
- 卸载了Visual Studio 2019
3.分析可能的原因
- 在安装Qt的时候勾选的选项是MinGW7.3.0,可能和Visual Studio 2019带的MSVC编译器冲突,导致上述报错。