PDA

View Full Version : Reading from console using Qt 3.3.4



KrishnaKishan
12th March 2007, 09:03
I want to read the console statements ( i.e. both cout and printf staements ) as soon as it is printed in console using Qt 3.3.4.
Coud you suggest me how to do it?

vermarajeev
12th March 2007, 09:15
I want to read the console statements ( i.e. both cout and printf staements ) as soon as it is printed in console using Qt 3.3.4.
Coud you suggest me how to do it?

Add CONFIG+=console to your project file and rerun qmake. This might help

wysota
13th March 2007, 10:30
This is a double thread:
http://www.qtcentre.org/forum/f-newbie-4/t-reading-console-in-qt-6042-post31284.html