This should help you - http://sector.ynet.sk/qt4-tutorial/debugging.html, http://doc.trolltech.com/4.6/debug.html
BTW: This mailinglist is specific to Qt-Creator issues. You might want to post questions related to Qt in qt-interest mailinglist. Regards, Sunil On Wed, Apr 14, 2010 at 7:00 AM, nobodyhere <[email protected]>wrote: > I googled for "stdout" rather than "printf", and I came across a special Qt > method, qDebug(), and it works: > > #include <QDebug> > qDebug("qDebug, printf style, %i\n", 5); > qDebug() << "qDebug cout style, " << 5; > > I'm not sure about this whole thing about using Qt's version of STL... But > I think for this new app I'm making with Qt Designer, I probably will. > > ----- Original Message ----- > From: "nobodyhere" <[email protected]> > To: [email protected] > Sent: Tuesday, April 13, 2010 3:21:45 PM GMT -06:00 US/Canada Central > Subject: printf() with Qt Creator? > > I created a new Qt4 Gui Application, and did a printf(). The printf() > works (ie, goes to the Application Output) when I run via "Start Debugging > F5". However, it doesn't print when I run via "Run, Ctrl+R". :-( > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-creator >
_______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
