Results 1 to 2 of 2

Thread: How to forward console debug data

  1. #1
    Join Date
    Apr 2010
    Location
    Switzerland
    Posts
    16
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default How to forward console debug data

    I need to forward everything qt sends to output console window of visual studio to a little widget on my application. How is it possible?
    Like qDebug..

  2. #2
    Join Date
    Aug 2006
    Posts
    221
    Thanks
    3
    Thanked 29 Times in 19 Posts

    Default Re: How to forward console debug data

    QtMsgHandler qInstallMsgHandler ( QtMsgHandler handler )
    Install your own message handler. You find a good example in the assistant.

  3. The following user says thank you to Kumosan for this useful post:

    Nik8768 (27th April 2010)

Similar Threads

  1. Replies: 1
    Last Post: 2nd November 2009, 13:02
  2. problem with forward declaration
    By MarkoSan in forum General Programming
    Replies: 14
    Last Post: 6th January 2008, 22:45
  3. Forward declaration with std namespace
    By Raistlin in forum General Programming
    Replies: 2
    Last Post: 5th March 2007, 21:45
  4. Why forward declaration ?
    By probine in forum General Programming
    Replies: 3
    Last Post: 26th January 2007, 19:22
  5. QTextBrowser::forward() and backward()
    By derrickbj in forum Qt Programming
    Replies: 4
    Last Post: 13th October 2006, 22:22

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.