下载Qt5.1.1源代码:http://qt-project.org/downloads,Nokia的路径已经失效,这个是新地址。
You can get split source packages from here. The source code is also available as a single zip(280 MB) (Info) file for Windows users or as tar.gz (226 MB) (Info) file for Linux/Mac users. All the installers are available also here. Or visit the repository at qt.gitorious.org/qt
注意上面引用该网页的描述,纯源代码只需要下载zip(280 MB) 就可以了。
安装配置Qt VS2010 add-on
1. 资源页面:http://qt-project.org/downloads,选择Visual Studio Add-in 1.2.2 for Qt5 (supports versions 2008, 2010 and 2012, does not work with the Express edition)
2. 打开VS2010, Qt5--> Qt Options, 添加版本
static_5_1_1 E:\Qt\Qt_5_1_1\qtbase
3. 如果有多个Qt版本,新建Qt工程后,需要Qt-->Qt Project Settings, 选择静态库版本:static_5_1_1
4. 在新建一个Qt工程后,编译运行中如果下面的问题,可以参考http://blog.iyunv.com/skykingf/article/details/12054861解决