Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

How to setup MSVC2010: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Porting: http://qt-project.org/wiki/Category:Tools::msvc)
 
No edit summary
Line 13: Line 13:
* Install VS 2010 SP1 from http://www.microsoft.com/en-au/download/details.aspx?id=23691 for the missing headers (this requires VS Express).
* Install VS 2010 SP1 from http://www.microsoft.com/en-au/download/details.aspx?id=23691 for the missing headers (this requires VS Express).
* Install MSVC 2010 SP1 Compiler Update from http://www.microsoft.com/en-au/download/details.aspx?id=4422 for the compiler fixes.
* Install MSVC 2010 SP1 Compiler Update from http://www.microsoft.com/en-au/download/details.aspx?id=4422 for the compiler fixes.
[[Category:MSVC]]

Revision as of 08:14, 26 March 2015

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.