use Qt with 2 versions of Visual Studio - visual-studio-2010

i want to use Qt with Visual Studio 2010 and 2012 parallel. For Visual Studio 2010, i've already installed it and it's running. How do i install it for Visual Studio 2012? In what do i change the environmental variables?
Windows 8.1 64bit

You can install into another path, if you need to you can also compile yourself there, it is not that hard. Then in your respective Solution files change the path of the Qt libraries accordingly.
http://qt-project.org/doc/qt-5/windows-building.html

You could install two different Qt versions onto your PC. You can get the versions from here:
Download Qt
Watch out for VS 2012 in brackets. You will need to put the desired version into the PATH with priority. For instance, if you are currently developing with VS 2010, you will need to prefer the VS 2010 installation in your PATH, but if it is 2012, then the VS 2012 Qt version, respectively.

Related

Can I uninstall visual studio 2017 and still use the 2017 platform toolset in visual studio 2019?

IIRC, you used to have to have a prior version installed in order to build using that tool set, but from what I gather now the platform tools are optionally installed with the newer version. At the time I installed 2019, I was using the 2017 version, I still have lots of projects using the 2017 platform tool set even though I only use vs2019.
So my question is if I can now uninstall VS2017 and continue to build using that platform toolkit in VS2019?
TIA!!
Yes, you can, but not the way you think. The vc141 toolkit (VS2017) also comes with 2019 and you have to install it separately.
uninstall VS2017 completely
open the Visual Studio Installer
click "modify" on the 2019 instance
go to "invidual components"
enter "v141" in the search field
install all components you need
IOW: The platform and toolkit for VS2017 are also contained in VS2019.
Now you can choose "v141" in the "Toolkit" property and you can even mix and match.

cant find windows driver option under visual c++ in visual studio (WDK is installed)

i have already installed WDK. Any help?
enter image description here
Install Visual Studio 2015 or Visual Studio 2017.
Install Windows 10 SDK.
Install Windows Driver Kit (WDK) for your version of Visual Studio (there's a new version recently released for VS17).
Then you should be good to go. I've done this over and over repeatedly for a number of systems/new environments before, never ever encountered an issue when following this pattern.
I do not recommend having both Visual Studio 2015 and 2017 installed at the same time, or multiple SDK versions though. I've seen way too many conflicts due to this in the past.

How can I find out which version of Qt Visual Studio Addin to install for different version of Visual Studio?

Different versions of the Qt Visual Studio Addin are available for download at
Qt Visual Studio Addin
How do I know which version to install for different versions of Visual Studio?
I'm running Visual Studio 2012, but would like to know a general answer.
Don't use the archive by default, use it only if you need older version.
The Visual Studio addin you need depends on the Qt version you want, for Qt 5 you need version 1.2.4 and for Qt 4 you need 1.1.11, see the download section here

Is it possible to install two different versions of Visual Studio in the same computer? [duplicate]

This question already has answers here:
Can I install two different versions of Visual Studio on the same computer?
(3 answers)
Closed 6 years ago.
Is it possible? or there is a compatibility issues between the two versions? Because our company is using an outdated version of visual studio (VS2005) and I wanted to try out Visual Studio 2010/2012/2013 for the purpose of learning while there is no project to do. (any of the three newer version is fine) but I don't know if it'll affect the datas of the currently installed visual studio 2005.
Can I still install a newer version without affecting the older version of visual studio?
Yes you can install multiple versions of Visual studio side by side.But install the lower versions first.
If you use Visual Studio 2013 to open a solution that was created in Visual Studio 2012 or Visual Studio 2010 with Service Pack 1 (SP1), you can later open and modify the solution again in the older version as long as you haven't implemented any features that are specific to Visual Studio 2013.
So take care about backward compatibility.Refer this for more info.
You can install all (although I only have experience with VS 6 upwards) Visual Studio Versions side-by-side without problems.
I have vs2005 2008 and 2012 running with no issue. Just don't open your 2005 projects/solutions in later versions as this will attempt to convert them to later versions which then will be no longer compatible with 2005. Visual studio will give you plenty of warnings if you do this though.
Yes, this is possible. You can install Visual Studio versions side-by-side. However, Microsoft is recommending to install the old version first before you install the later version.
We recommend that you install Visual Studio versions in the order in which they were released. For example, install Visual Studio 2013 before you install Visual Studio 2015.
You can check this link for further info.
Yes, you can. If you need more details please check Installing Visual Studio Versions Side-by-Side .

can i install and use, visual studio 2008 and visual studio 2010 on the same windows xp/vista

can i install and use, visual studio 2008 and visual studio 2010 on the same windows xp/vista
have visual studio 2008 installed and working
wnat to install visual studio 2010 and use with 2008,
some solutions on 08 and some on 10..
any problems possible?
Yes, you can!
Can't add anything else, honestly! :)
Well, I personally have 2005, 2008 and 2010 installed on the same workstation, for various needs and projects. Works without any problem!
No problems at all running both Visual Studio 2008 and 2010 side-by-side. My development box is currently set up this way.
Solutions will automatically open in the version of Visual Studio that they were created in. You can manually choose to open them in a newer version, but you will need to update them. A wizard will automatically appear that guides you through the process.
Opening a solution saved with a newer version of VS in an older version is not a supported scenario.
But there is a workaround: simply open the *.sln file in a text editor (like Notepad) and decrement the version number by 1. You'll have to do the same thing for each of the project files.
I had the same problem with converting a Visual Studio 2008 project to 2010, which made the program could not compile at all with every measure i took.. then I installed Visual Studio 2008 again and it turns out they can be installed in the same computer and work, but you need to open visual basic 2008 manually if you want to develop a project there..
You shouldn't have any problems unless you try to develop for Windows Phone 7, which you can't currently, and may never be able to, do in Windows XP.

Resources