-
Notifications
You must be signed in to change notification settings - Fork 1
Compile the Qt Source Code
mad-engineer edited this page Jan 13, 2012
·
1 revision
Follow
-
Start
-
All Programs
-
Microsoft Visual Studio 2010
-
Visual Studio Tools
-
Visual Studio Command Prompt (2010) Do not use the x64 version
Now you should see the command prompt
Test you have set the proper settings for the Environment Variables QMAKESPEC and QTDIR while entering two commands
echo %QTDIR%
echo %QMAKESPEC%
You should see the right directory C:\Qt\4.7.4 and win32-msvc2010
If you do not see the right response repeat this steps
Now switch to the proper Qt directory
c:
cd \
cd C:\Qt\4.7.4
Now configure Qt while entering the following command
configure -debug-and-release -opensource -platform win32-msvc2010
The compilation process can take several minutes. When finished, start to compile Qt with jom. Use the parameter "-j N" to indicate how many processors "N" your machine has.
..\jom\jom.exe -j 4
The compilation process can take up to several hours depending on your machine.


