1. Download the qt-vs-addin plugin
Address 1-Qt official website: https://download.qt.io/official_releases/vsaddin/
Address 2-Visuall Studio official website: https://marketplace.visualstudio.com/items?itemName=TheQtCompany.QtVisualStudioTools2015&ssr=false#overview
2. Installation
Download the corresponding version of the qt-vs-addin plug-in and install it, then restart vs.
3. Configuration
Open VS QT Tools->Qt option->Add->Add qt installation directory.
After the addition is successful, as shown in the figure.