I\'m using Qt4 and C++ for making some programs in computer graphics. I need to be able to print some variables in my console at run-time, not debugging, but cout
cout
Go the Project's Properties -> Linker-> System -> SubSystem, then set it to Console(/S).
Properties -> Linker-> System -> SubSystem
Console(/S)