XP上搭建VS2010 with QT

1. 下载

本以为要下载QT-creator和QT-SDK,提到只要SDK和VS2010的插件就可以,于是下了:

qt-win-opensource-4.8.2-vs2010.exe

qt-vs-addin-1.1.11-opensource.exe

这里的SDK要选择VS2010编译的,要不然还得自己切换平台然后编译,会耗时好几个小时。

2. 安装

安装很简单,下一步,下一步就可以了。

3. 配置

需要在VS2010中配置QT的include、lib、bin,VS2010的Tools->Options->VC++ Directories跟原来的不一样,移到user property sheet中,通过View->Other Windows->Property Manager,然后可以在Microsoft.Cpp.Win32.user设置全局的include&lib&bin路径,参考

原文地址:https://www.cnblogs.com/litstrong/p/2670109.html