> -----Original Message-----
> From: [email protected] [mailto:qt-
> [email protected]] On Behalf Of ext
> john smith
> Sent: Wednesday, May 04, 2011 12:04 AM
> To: [email protected]
> Subject: [Qt-creator] installing 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

Configure gets the list of installed compilers from the registry, and then 
searches which one it can find in the current PATH (check out 
src\configure\environment.cpp, detectCompiler(), for details). Did you check 
yourself that cl.exe is in the PATH? You should be able to configure Qt without 
any hassles by using the "Visual Studio x64 Win64 Command Prompt (2010)" 
cmd.exe in the Windows start menu.

Regards

Kai
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to