How to setup MSVC2010

From Qt Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

How to set up MSVC2010 without buying Visual Studio

Unfortunately it is rather complicated to set up MSVC2010 without getting a license for Visual Studio. The bare WinSDK 7.1 will produce this error:

   LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

To fix this problem you need to install KB2519277, which unfortunately misses some headers, causing your build to fail with errors about headers not being found.