不是教你。 

1.下载一个Qt源码包

2.解压放置到某处(路径不能有空格),如E:\Qt\4.7.0

3.VS2005的command下进入2.中的目录输入

   configure -platform win32-msvc2005 

4.等

5.敲nmake(creator的话会直接跳过6 7 8 9)

6.等

7.等

8.等

9.等 

10.增加环境变量QTDIR为2.中的路径,如E:\Qt\4.7.0

11.把2.路径下的bin加入到系统环境变量PATH中,如%QTDIR%\bin;

12.在vs选项中添加qt的include和lib目录(详情略) 

 

如果安装Visual Assist的话,需要配置一下,才有代码提示功能.
"VAssistX" -> "Visual Assist X Options ..." -> "Projects", 在"Platform"里面把"Win32"改为"Custom",

在"Stable include files"末尾添加"E:\Qt\4.7.0\include". 


    

相关文章:

  • 2021-06-02
  • 2021-08-04
  • 2022-01-28
  • 2021-05-30
  • 2021-11-04
  • 2022-12-23
  • 2021-05-18
  • 2021-09-11
猜你喜欢
  • 2021-11-10
  • 2021-11-18
  • 2021-09-26
  • 2021-12-16
  • 2021-05-16
  • 2021-07-09
  • 2021-08-07
相关资源
相似解决方案