[Qt-creator] where does qDebug() end up?
Joerg Bornemann
joerg.bornemann at digia.com
Tue Oct 1 11:50:42 CEST 2013
On 01/10/2013 11:29, Daniel Teske wrote:
>> For the separate window, there's a check box "Run in Console" in the
>> project's Run settings.
> But, you should get the debug output inside creator if that is unchecked.
BTW, qDebug prints to stderr and additionally uses the OutputDebugString
API. That's also the reason why you see qDebug output twice (in
beautiful different colors though) on Windows if "Run in Console" is
unchecked.
> Windows is limited though in that there can be only one application subscribed
> to the debug output of all applications. Thus you need to ensure that there's
> no debugviewer and no other creator running.
It might make sense to make sure that only the last instance of Qt
Creator that starts a debugging session gets all the OutputDebugString
output.
Cheers,
Joerg
--
Joerg Bornemann
Digia, Qt
http://qt.digia.com/
More information about the Qt-creator
mailing list