Try creating a new Visual Studio project, and then select "Qt Application" or similar - do not select an MFC application, etc. To do this, you must have a Qt add-in for Visual Studio. This will automatically install it, so you will build everything from VS.
Greetings.
source share