1、从菜单运行vc的 Visual Studio 2008 命令提示
2、然后cd到qt sdk的安装目录
3、
D:/programm/QT/4.7.3>configure -release
Which edition of Qt do you want to use ?
Type 'c' if you want to use the Commercial Edition.
Type 'o' if you want to use the Open Source Edition.
o
This is the Qt for Windows Open Source Edition.
You are licensed to use this software under the terms of
the GNU Lesser General Public License (LGPL) version 2.1
or the GNU General Public License (GPL) version 3.
Type '3' to view the GNU General Public License version 3 (GPLv3).
Type 'L' to view the Lesser GNU General Public License version 2.1 (LGPLv2.1).
Type 'y' to accept this license offer.
Type 'n' to decline this license offer.
Do you accept the terms of the license?
y
也可以用 -debug-and-release 选项,更多自己看 configure -help
4、D:/programm/QT/4.7.3>nmake
这样就ok了,下面可要可不要
清除编译过程的中间文件:nmake confclean
一次通过,没啥意外,都是官网下载的