In Qt Creator on Windows, qDebug() statements don\'t work, and the following message appears in the output window:
qDebug()
Cannot retrieve debugging
For me this error message appears when I have more than one instance of my application, not of Qt Creator.