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
I found this most useful:
#include QTextStream out(stdout); foreach(QString x, strings) out << x << endl;