How to install the Visual Studio add-in
-
I want to use VS2022 as my compiler for Qt open source projects but I can't find where to download the add-in from??
Please help I am new to Qt -
Hi,
To make things simple for both cases:
- install Visual Studio 2022 with C++ component activated
- use the Qt online installer to get Qt and Qt Creator
- See here for the methods to obtain the plugin
On a side note, this is a voluntary driven user forum, if you are in such a hurry, consider the commercial offering of Qt or hire someone knowledgeable in the domain.
-
And to use Qt in Visual Studio projects go to Extensions menu and press Manage Extensions. Select "Online" and type "Qt" in the search bar. It will find "Qt Visual Studio Tools". Install that and restart VS. This will add Qt project wizards, debugger helpers for Qt types and project properties related to Qt management.
Note that the VS add-in does not install Qt library itself. You need to install that separately. The easiest is via the online installer, as SGaist mentioned.