Hi. I've made a really basic iSpy game in Visual Studio 2015, using the console for input/output. Now that I know more c++ I've moved onto working on QT to display an image of a landscape, and then making a console-like input/output box to actually play the game. The problem I'm having is making this input/output box in the main window.

The questions I have are:
how would I make this console inside of the main window,
and how would I use the code from VS to make the game? Would I simply copy it over into my project and paste it where it should be?
Also, if you have a different direction you think I should take this project, feel free to say so.

I'm super sorry about how vague so much of this is, but if you ask I'll do my best to explain in more detail. Thanks.