I still don't see you use waitForReadyRead...

Qt Code:
  1. x->connectToHost(...);
  2. x->waitForConnected(...);
  3. while(x->waitForReadyRead(10000)){
  4. x->readAll(); // or canReadLine && readLine...
  5. }
To copy to clipboard, switch view to plain text mode