If you want to create a console app, you need to do two things if you choose to create an Empty Qt4 Project:
In Edit mode, double-click on the name of the project file (.pro) in the Projects panel to get it loaded in the editor,
and then add the line CONFIG += console to it. In Projects mode, choose the Run Settings tab and then make sure that the Run in Terminal checkbox is selected.