Cannot retrieve debugging output in Qt Creator

百般思念 提交于 2019-12-05 10:31:17

问题


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?


回答1:


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.




回答2:


For me, I solved the problem by simply closing the running application built with the other qt creator. So not necessary to close the other qt creator.




回答3:


Or you may be running a version of DebugView from Sysinternals, that causes the same result.




回答4:


For me this error message appears when I have more than one instance of my application, not of Qt Creator.



来源:https://stackoverflow.com/questions/14379325/cannot-retrieve-debugging-output-in-qt-creator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!