Building Qt 4.5 with Visual C++ 2010

c++, qt4, visual-studio-2010

Solution

It worked for me to build just as if it was vs2008, but using the vs2010 tools:

- Open vs2010 command prompt. cd into the top-level Qt directory.

- configure.exe -platform win32-msvc2008 -no-webkit -no-phonon -no-phonon-backend -no-script -no-scripttools -no-multimedia -no-qt3support -fast

- nmake

Problem

Did somebody tried to build Qt 4.5 with Visual Studio 2010 (Beta 2)? Any hints on doing that successfuly? Later edit I tried to run configure from a Visual Studio 2010 console. There is no makespecs support for 2010, so configure fails because of that.

Original source