error: The compiler "Microsoft Visual C++ Compiler 16.10.31515.178 msvc2019 cannot produce code for the Qt version "Qt 5.14 .2 MSVC2017 64bit"
这是因为编译器是MSVC2019,qt是MSVC2017版,所以qt版本太低,可以安装更高版本的qt。
仍然无法使用MSVC2019编译器
- qt creator的编译器,与编译库的编译器,最好是一个(比如都用MSVC2019),否则在运行qt creator时,会有报错:
“ error: undefined reference to `imp”:
参考问题分析