How to compile Qt 4.7.2 with VS 2010 64-bit on Win7 64-bit
with configure options must i set to compile Qt 4.7.2 with Visual Studio 2010 as a 64-bit version on Windows 7 64-bit ?
…64 bit should be default on 64 bit machine, isn’t it?
No, it is not.
Visual Studio has different cmds for 32bit, 64bit and Itanium, so you need to use the 64bit VS cmd.
//and make sure you installed the patch (for VS2010) that corrects the memory corruption bug about 64bit O2 and structures bigger than 64bit.
Here [support.microsoft.com] you can find information about bug and link to the patch is in that page too.
Also the recently launched SP1 [support.microsoft.com] for Visual Studio 2010 list some more fixed issues about x64 (issues with C++ compiler and optimizations)