Sorry about my English . I said my envronment is Qt SDK ( qtcreator as IDE ).

But did you mind your VS project type any time?
I think you may create a Windows Appication **instead** Console Application project,
at the startup of your VS.