Cannot retrieve debugging output in Qt Creator

laurent picture laurent · Jan 17, 2013 · Viewed 8.2k times · Source

In Qt Creator on Windows, qDebug() statements don't work, and the following message appears in the output window:

Cannot retrieve debugging output.

How can it be fixed?

Answer

laurent picture laurent · Jan 17, 2013

This problem can show up if more than one instance of Qt Creator is active. To fix the issue, simply close all the other instances of Qt Creator and it should work.