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

Brad Hubbard qtc at brand-hubs.com
Wed Apr 14 10:18:10 CEST 2010


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



More information about the Qt-creator-old mailing list