Qt 5.2.0 和 VS 2012集成

下载两个安装包,后面一个add-in是必需的

  • Qt 5.2.0 for Windows 64-bit (VS 2012, 590 MB) (Info)
  • Visual Studio Add-in 1.2.2 for Qt5  (supports versions 2008, 2010 and 2012, does not work with the Express edition)
打开VS 2012后,创建QT项目,修改配置:
1. 确保架构是x64
2. 右键点击soluton,选择Change solution‘s Qt version, 选$(DefaultQtVersion)

编译运行吧,调试也可以了。

你可能感兴趣的:(Qt 5.2.0 和 VS 2012集成)