Results 1 to 2 of 2

Thread: How to Redirect qDebug from QtGui Application to Console?

  1. #1

    Default How to Redirect qDebug from QtGui Application to Console?

    I program a QtGui Application, When I debug the application , I need to output some information, I want to put these information to Write another Console , this Console is config , I don't know how I do?
    Thank you !

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to Redirect qDebug from QtGui Application to Console?

    If you mean the console as in the standard output stream, have a look at http://qt-project.org/doc/qt-5/qloggingcategory.html

    Cheers,
    _

Similar Threads

  1. Replies: 3
    Last Post: 9th December 2012, 21:27
  2. Replies: 1
    Last Post: 16th January 2011, 12:05
  3. redirect qDebug() to file
    By sriky27 in forum Qt Programming
    Replies: 9
    Last Post: 17th March 2009, 20:21
  4. Replies: 4
    Last Post: 27th March 2008, 09:21
  5. Replies: 52
    Last Post: 10th December 2006, 14:32

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.