QT Installation for Visual Studio 2005

1、Download QT SDK

 

  Download QT SDK for Windows from the site http://www.qtsoftware.com/downloads

 

2、Install QT SDK

  Install QT SDK for Windows completely(No matter which version)

 

3、Edit System Environment Variables

 

 add 2 paths to the Environment Variables: take "C:/QT/2010.04/qt/bin" and "C:/QT/2010.04/bin"  for example.

 the values of the 2 paths depends on where you install the QT

 

4、Configure QT for your machine

 

 Run the Visual Studio Command Prompt:Start->Program Files->Visual Studio->Visual Studio tools->Visual Studio Command Prompt

Go to the path of your installed QT,eg "C:/QT/2010.04/qt"

At the Prompt,type the command configure ,eg C:/QT/2010.04/qt>configure

If you want to build the QT library using a specific compiler ,you must specify a qmake specification.eg C:/QT/2010.04/qt>configure -platform win32-msvc

then press Enter key to configure it

 

After Configured,run nmake at the command prompt,eg  C:/QT/2010.04/qt>nmake

 

this will takes lots of time.It will build all the demos,examples and libraries.

 

Done!

 

 

 

ps:

if occurs the Error:"fatal error U1077" and so on

You should add "VC-Path/bin"、"VC-Path/include" and "VC-Path/lib" to System Environment Variables

 

VC-Path mens where VC installed.

 

otherwise:

delete these temporary files before Execute "nmake " command

"

/src/3rdparty/webkit/WebCore/tmp/moc/debug_shared/ mocinclude.tmp
/src/3rdparty/webkit/WebCore/tmp/moc/release_shared/mocinclude.tmp
/src/script/tmp/moc/debug_shared/mocinclude.tmp
/src/script/tmp/moc/release_shared/mocinclude.tmp

"

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值