john smith <[email protected]> wrote in
news:[email protected]: 

> *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

Here are my notes on building Qt on 64-bit Windows 7.  I install to 
c:\comp\Qt rather than c:\Qt.

1. Get source code from
http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.2.zip
Extract to C:\Comp\Qt\Qt-64-4.7.2

2. Get latest jom from ftp://ftp.qt.nokia.com/jom/
Extract to c:\comp\Qt\jom

3. Install 64-bit Perl from
http://www.activestate.com/activeperl/downloads
Install to C:\Comp\Perl64

4. Open Visual Studio x64 command window

set QTDIR=C:\Comp\Qt\Qt-64-4.7.2
set QMAKESPEC=win32-msvc2010 
path %qtdir%\bin;%path%
cd c:\Comp\Qt\Qt-64-4.7.2

5. Configure (takes 4-5 minutes)
This fails:
  configure -debug-and-release -opensource -platform win32-msvc2010

This works:
  configure.exe -platform win32-msvc2010 -no-webkit -no-phonon -no-phonon-
backend -no-script -no-scripttools -no-multimedia -no-qt3support -fast

6. Build (takes hours)
..\jom\jom.exe -j 4
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to