Hi,John,

firstly you need download Qt SDK for Windows or Qt for VS2008, and 
Qt-vs-addin-1.1.9

installing Qt-vs-addin-1.1.9 is easy. Next is the steps for installing Qt for 
vs2010
1. install Qt in windows.(if you use a source code version go step 2).
2. Open visual studio command prompt(on vs2010,menu Tools->VisaulStudio command 
prompt) ,be careful, it's not a windows command prompt.
    go to the path where Qt has been installed ,like C:Qt/4.7.2, run command 
like:
    configure -platform win32-msvc2010       You can add your parameters in 
this command like prefix, nodemo......etc. 
    when it ask you opensource model, answer O
    next license answer y
3. After finished config,run command: nmake
4.If you've already installed Qt-vs-addin-1.1.9 , There will a new nemu added 
into the vs2010.
   you need config "qt options" in this menu, and set the pah of Qt...

Maybe nmake will get errors, you can re-execute nmake, or change another 
version of Qt for install,like Qt for vs2008   


2011-05-04 



yjyong1217 



发件人: john smith 
发送时间: 2011-05-04  00:07:13 
收件人: qt-creator 
抄送: 
主题: [Qt-creator] installation Qt with visual studio 2010 
 
Hello,

I am using windows7 (64bit), with visual studio 2010 (SP3) and win32 command 
prompt.I have download the source code for version Qt-4.7.2.I have unzipped the 
source code in this directory C:\Qt\source,  and I have create a bin file to 
take the results in this directory 
C:\Qt\bin. In the command prompt opened by vs2010 I type:

C:\Qt\source>configure -webkit -debug-and-release -nomake examples -nomake 
demos -prefix

And I get this message: Unample to detect the platform from enviroment. Use 
-platform command linearargument or set the QMAKESPEC enviroment variable and 
run configure again

What must I change in my writings, and how the command PATH is used?
If someone installed Qt recently I hope could help me
Thanks 
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to