Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 7

Qt-interest Archive, August 2006
[qt-3] redirecting of debug output


Message 1 in thread

Hello!
Is there possibility to redirect (or capture) qt library's qDebug()
messages to save them to a log file, for example?

--
 [ signature omitted ] 

Message 2 in thread

Dmitry Teslenko wrote:
> Hello!
> Is there possibility to redirect (or capture) qt library's qDebug()
> messages to save them to a log file, for example?

Look up the method qInstallMsgHandler(...) in Assistant.  You will be 
pleasantly surprised....

--Justin
begin:vcard
begin:vcard
fn:Justin Noel
n:Noel;Justin
org:(ICS) Integrated Computer Solutions ;Engineering
adr:;;54B Middlesex Turnpike;Bedford;MA;01730;USA
email;internet:justin@xxxxxxx
title:Senior Consulting Engineer / Certified Qt Instructor
tel;work:(617) 621-0060
x-mozilla-html:FALSE
url:http://www.ics.com
version:2.1
end:vcard


Message 3 in thread

> Look up the method qInstallMsgHandler(...) in Assistant.  You will be
> pleasantly surprised....
Thanks for quick answer!

--
 [ signature omitted ]