How to instal Qt 5.1.1 with visual studio 2012
-
Download MSVC 2012 from the Microsoft website and install it
Download Qt 5.1.1 for VS 2012 from http://download.qt-project.org/archive/qt/5.1/5.1.1/ and install it
May I ask why you don't want to use Qt 5.3.1 and MSVC 2013?
-
[quote author="herculis" date="1407497595"]and after installing how to integrate both Qt and VS 2012 coz i already have installed VS 2012 and qt-windows-opensource-5.1.1-msvc2012-x86_64-offline.exe.[/quote]You don't have to do anything. The installer should have set up everything for you.
Just open Qt Creator and start a new project.
-
You're welcome :)
[quote author="herculis" date="1407499591"]i dont want to use Qt creator i want to use VS 2012 for writing code [/quote]Go to http://qt-project.org/downloads and click "Show Downloads". Then, scroll down and download "Visual Studio Add-in 1.2.3 for Qt5".
Your copy of Visual Studio must be non-Express.
-
[quote author="herculis" date="1407500250"]so after installing only this plugin all the qt projects will work via visual studios[/quote]Yes
-
You probably need to tell the add-in where to find Qt. See this tutorial: http://www.bogotobogo.com/Qt/Qt5_Visual_Studio_Add_in.php
Note: I don't have a commercial version of Visual Studio, so I can't check directly.