title: QTextStream stdin readline not pausing for input
body: <p>Here is a very simple application to illustrate the problem I am having.</p>
  
  <pre><code>#include &lt;QTextStream&gt;
  
  int main()
  {
      QTextStream cin(stdin);
      QTextStream cout(stdout);
  
      QString test;
  
      cout &lt;&lt; "Enter a value: ";
      cout.flush();
      cin &gt;&gt; test;
  
      cout &lt;&lt; "Enter another value: ";
      cout.flush();
  
      test = cin.readLine();
      cout &lt;&lt; test;
      return 0;
  }
  </code></pre>
  
  <p>I expect execution to pause and wait for input at <code>test = cin.readline();</code>, but it does not. If I remove <code>cin &gt;&gt; test;</code> then it pauses.</p>
  
  <p>Why is this code behaving like this and how do I get behaviour I want?</p>