How to setup MSVC2010

From Qt Wiki
Jump to: navigation, search

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.