[Qt-creator] printf() with Qt Creator?

Berk Demirkır perq87 at gmail.com
Thu Apr 15 09:25:58 CEST 2010


Hi,

I didn't checked "console" config option enabled in my project but printf
outputs are problematic i think.

A simple program output that prints a lot via printf don't show on
Application Output. But when i close this application output shows. Strange
issue...

On Wed, Apr 14, 2010 at 11:18, Brad Hubbard <qtc at brand-hubs.com> wrote:

> nobodyhere wrote:
> > thanks for the links - I will definitely read debug.html
> >
> > PS: The reason I considered it Qt Creator list, is that I was
> specifically asking about stdout not showing up in the Qt Creator GUI's
> "Application Output".  However, qDebug() did show up in the Qt Creator
> "Application Output
>
> If you want to use printf() or std::cout you need to add CONFIG +=
> console to your project (.pro) file.
>
> Cheers,
> Brad
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100415/7da29572/attachment.html 


More information about the Qt-creator-old mailing list