Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Magic redirection of stdout to stdin when debugging
Forum Updated to NodeBB v4.3 + New Features

Magic redirection of stdout to stdin when debugging

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 2.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    noli4qt
    wrote on 14 Jul 2011, 21:24 last edited by
    #1

    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.
    Thanks.

    1 Reply Last reply
    0

    1/1

    14 Jul 2011, 21:24

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved