title: qt waitforreadyread() inconsistent?
body: <p>Under Qt 4.7.1, OS X 10.6.8
  (have to use this -- later versions
  of Qt and/or OS X introduce severe
  incompatibilities for my users)</p>
  
  <p>The following works. Sometimes. Then sometimes not.
  When  it doesn't work, it returns "Unknown Error"</p>
  
  <p>hst is good in all cases, qDebug returns same correct
  data for hst every time.</p>
  
  <p>The idea is, use ->get to pull a CGI URL; the CGI
  returns some data, which I can ignore in this case.
  Then I'm done.</p>
  
  <p>hst is a well formed URL,</p>
  
  <p><a href="http://yadda.com/cgi-bin/whatever.py" rel="nofollow">http://yadda.com/cgi-bin/whatever.py</a></p>
  
  <pre><code>QString hst;
  QNetworkReply *qnr;
  QNetworkAccessManager *qqnap = NULL;
  
  qqnap = new(std::nothrow) QNetworkAccessManager(tmw);
  if (qqnap != NULL)
  {
      hst = loaduphst(); // get qstring to send
      qnr = qqnap-&gt;get(QNetworkRequest(QUrl(hst))); // report in and fetch update info
      if (qnr-&gt;waitForReadyRead(3000) == FALSE)
      {
          qDebug() &lt;&lt; "waitForReadyRead() returned FALSE -- error or timeout:" &lt;&lt; qnr-&gt;errorString();
      }
  }
  else
  {
      qDebug() &lt;&lt; "qqnap is NULL";
  }
  </code></pre>
  
  <p>yadda.com is up; the target script is dead simple
  and works fine from browser or cmd line every time.</p>
  
  <p>This is running within the context of
  MainWindow::closeEvent(QCloseEvent *ce)
  before I emit ce->accept() GUI is still up,
  etc.</p>
  
  <p>Hints? Tips? Abuse? Thanks!</p>