A template for making qt apps with c++ separate from the Qt Creator.
-
Download Qt Creator if you don't already have it. Make sure check of any module you plan on using.
-
Open File Explorer and right click This PC and then Properties. From here go into Advanced system settings then Enviornment Variables. Create a new System Variable named QTDIR. Set its value to the path to the msvc2019_64 folder within the qt installation. Example: "C:\Qt\6.4.1\msvc2019_64".
-
Find the System Variable named Path and click edit. From here you want to create two new variables, %QTDIR%\lib and %QTDIR%\bin.
-
Finaly run Win-GenProjects.bat within the scripts folder to generate a Visual Studio 2022 project.