[Qt-interest] qDebug output for Windows Service (no console)?

David Ching dc at remove-this.dcsoft.com
Wed Sep 2 00:35:28 CEST 2009


"Jon Nicoll" <jkn+qt at nicorp.co.uk> wrote in message 
news:d59a17ae15d6952e3b60f0a5e6400e64.squirrel at webmail.plus.net...
> When built as a service, of course there is no console, and I don't want
> one either. I have installed SysInternals' DebugView, which I've used
> before, to capture the debug output. But I'm getting nothing coming up of
> the DebugView screen.

If qDebug doesn't work, you can always just call the Windows API 
OutputDebugString().  That gets captured great by DebugView.

-- David
 




More information about the Qt-interest-old mailing list