Author Topic: qDebug  (Read 4254 times)

piotr270977

  • Guest
qDebug
« on: December 20, 2006, 11:48:52 am »
How to setup CB + MinGW (or dbg)  to use with qDebug Q_ASSERT and so on... ?

Which window is proper for qDebug output ?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: qDebug
« Reply #1 on: December 20, 2006, 12:40:09 pm »
Do you think that everyone automatically knows what "qDebug Q_ASSERT and so on" are? I don't...
Be patient!
This bug will be fixed soon...

piotr270977

  • Guest
Re: qDebug
« Reply #2 on: December 20, 2006, 01:52:16 pm »
Do you think that everyone automatically knows what "qDebug Q_ASSERT and so on" are? I don't...

void qDebug ( const char * msg, ... )

Prints a debug message msg, or calls the message handler (if it has been installed).

This function takes a format string and a list of arguments, similar to the C printf() function.


Under X11, the text is printed to stderr. Under Windows, the text is sent to the debugger.

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: qDebug
« Reply #3 on: December 23, 2006, 06:17:27 pm »
These are Qt specific. Setup a Qt project and they will be available
Life would be so much easier if we could just look at the source code.