Setting-Up-Visual-Studio-Plugin

From Qt Wiki
Revision as of 07:25, 24 February 2015 by Maintenance script (talk | contribs)
Jump to navigation Jump to search

h2. 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":http://msdn.microsoft.com/en-us/library/2208a1f2(v=vs.71).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:.NET\Frameworkamp;lt;framework version>.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.