PDA

View Full Version : Printing to Command Line



seanmu13
5th July 2007, 15:50
Does anybody know how to print to the command line from within QT?

jpn
5th July 2007, 15:53
http://www.qtcentre.org/forum/p-qdebug-withwithout-msvc-post40999/postcount2.html

a_m_mukul
5th July 2007, 15:55
try to use qDebug(.....) function.
It works as cout for QString and printf() for other data-types.

seanmu13
5th July 2007, 15:57
Thanks for help, I got it working.