
Overview of changes made to mkspec/win32-msvc2008 for building Qt 4.5.3 for Maya


Some virus prevention programs may not allow one to executate programs called
configure.exe.  if so then rename the Qt  configure.exe to cfg.exe and run
that copy.

copy configure.exe  cfg.exe



Ensure you start with proper build environment, this is assuming one is
building from the command line. 

Qt 4.5.3 was configured for Maya as: 

with Direct3D support, no webkit, no phonon


The mkspec/win32-msvc2008/qmake.conf file was modified to include debug
symbols for release builds as well as debug builds.    generates pdb files.
Qt is not compiled with IPO/GL/LTCG options


vc2008 cmd shell for one of 32 or 64 bit compiler environment
source the DirectX setup script for proper setup of DX SDK environment.
Maya uses DirectX August 2009 SDK

c:\program files (x86)\Microsoft DirectX SDK (August 2009)\Utilities\bin\dx_setenv.cmd  x64   (or x86)  as required


If want to build both release and debug

for LGPL

configure.exe -debug-and-release -platform win32-msvc2008 -no-phonon -no-phonon-backend -no-webkit -direct3d


Will create qmake and in the end output

Qt is now configured for building. Just run nmake.
To reconfigure, run nmake confclean and configure.

To build,   run nmake

nmake


Qt should then build
