Setting-Up-Visual-Studio-Plugin

From Qt Wiki
Revision as of 17:44, 14 January 2015 by Maintenance script (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Setting up Visual Studio Plugin for Qt Creator

Before you can open any Visual Studio project file (.vcproj) you must first set project XML schema (XML schema), for each version separately. You can do that by going to Tools -> Options -> Visual Studio. These schema files can be downloaded from Microsoft’s site [msdn.microsoft.com]).aspx . Just download xml schema for version 2003, 2005 and 2008, cause version 2010 and 2012 have a very different xml structure that we currently do not support.

In order to be able to build any Visual Studio project you need to set path to MSBuild.exe (or more if you have more MS frameworks installed). In order to do this go to Tools -> Options -> Visual Studio section. Then click on Add… button and browse to your MSBuild. Usually it is located in C:\Windows\Microsoft.NET\Framework\<framework version>\MSBuild.exe.
After you have added MSBuild(s) go to Build&Run section of the Options and then go to Kits. Select the MSBuild version for a Kit.

After this you can open your .vcproj projects.