title: QT QString from QDataStream
body: <p>I'm working with a buffer and I'm trying to get a string from it, but isnt working... </p>
  
  <p>Example:</p>
  
  <pre><code>*void myFunc(QDataStream&amp; in)
  {
      quint8 v;
      in &gt;&gt; v;
      // Ok, I caught v value successfuly
      QString s;
      in &gt;&gt; s;
      // Didnt work :&lt;
  }*
  </code></pre>
  
  <p>The string lenght is stored on 2 first bytes...</p>
  
  <p>Thanks</p>