-
qDebug() on OSX
Hi All,
I am trying to debug a program using qDebug. It works fine on Windows and Linux, but I get no output on OSX (using Qt4.4.0).
I have tried everything I can think of, but no luck.
I started the program directly from the terminal ("./program.app/Contents/MacOS/program") and using open ("open ./program.app"), I've check that QT_NO_DEBUG_OUTPUT is not defined.
I've run out of ideas to try :-(
-
Re: qDebug() on OSX
Have you tried using qInstallMsgHandler as in this example? This technique worked for me on Windows when I re-directed output to a file.