Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Magic redirection of stdout to stdin when debugging
noli4qt last edited by
I have a console (non-qt) application where one thread waits for user input using ::getchar(). When debugging this application using qtcreator (1.3.1, 2.0.1 or 2.2.1) all messages printed to stdout magically appear at stdin, which the waiting thread interprets as keys hit by the user.
Any idea what could cause this auto-redirection and how to disable it?
I'm working on linux opensuse 11.3, using windowmaker desktop.
Debugging the same application in kevelop3/4 works as expected.
Switching off Qt's debugging helper did not solve the issue.