已安装:
Visual Studio 2019
qt-opensource-windows-x86-5.14.2
qt-vsaddin-msvc2019-2.4.3

报错现象

在Visual Studio 2019中初次创建Qt GUI Application项目时往往会出现Unable to find a Qt Build报错,如下图:VS2019+Qt5.14.2创建项目时报错Unable to find a Qt Build
VS2019+Qt5.14.2创建项目时报错Unable to find a Qt Build
VS2019+Qt5.14.2创建项目时报错Unable to find a Qt Build

解决方法

创建一个空项目或打开一个其他项目
打开Qt工具:扩展(X)Qt VS ToolsQt Options

VS2019+Qt5.14.2创建项目时报错Unable to find a Qt Build
点击Add按钮,加入如下Qt msvc2017_64安装路径
点击OK按钮,重启Visual Studio 2019即可
VS2019+Qt5.14.2创建项目时报错Unable to find a Qt Build

相关文章:

  • 2021-09-15
  • 2021-08-22
  • 2021-04-12
  • 2022-12-23
  • 2021-08-26
  • 2022-12-23
  • 2021-08-12
  • 2021-12-14
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-04
  • 2021-06-12
  • 2022-12-23
  • 2021-05-12
  • 2021-04-16
相关资源
相似解决方案