How to instal Qt 5.1.1 with visual studio 2012
-
wrote on 8 Aug 2014, 09:28 last edited by
Guys could you plz help me in installing Qt with visual studio 2012.Please tell me the steps how to do it.
Thanks -
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?
-
wrote on 8 Aug 2014, 11:20 last edited by
The link which you have given in that which file shuld i download.there are 3 files for 2012
i need Qt 5.1.1 coz where i ma working they have 5.1.1 -
wrote on 8 Aug 2014, 11:33 last edited by
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 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.
-
wrote on 8 Aug 2014, 12:06 last edited by
Thanks JKSH
However i dont want to use Qt creator i want to use VS 2012 for writing code -
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.
-
wrote on 8 Aug 2014, 12:17 last edited by
ya it is non express
so after installing only this plugin all the qt projects will work via visual studios -
[quote author="herculis" date="1407500250"]so after installing only this plugin all the qt projects will work via visual studios[/quote]Yes
-
wrote on 11 Aug 2014, 08:19 last edited by
I installed the qt vs pluging and still its not working.could you please help in that coz its not identifing any includes and classes so i think its not working.
Thanks
-
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.
8/11