title: Display value of QByteArray
body: <p>I am making simple serial communication app. Connection works well and I send data from my device to my app i am getting in log when I do qDebug() &lt;&lt; dataByte:</p>
  
  <pre><code>"\x0B"
  "\x0B"
  </code></pre>
  
  <p>Now I want to display this in a QTextEdit as "0B" string. How do I go about doing that? I read about QTextCodec but that is to convert 0B into a character which is not what I want.</p>
  
  <p>Pls show me some guide thank you.</p>
  
  <p>EDIT: I also tried </p>
  
  <pre><code>QString DataAsString = dataByte.toStdString();
  </code></pre>
  
  <p>But error comes up.</p>