title: Qbytearray byte to int and storing it as string value
body: <p>I want to convert byte data that stored in QBytearray into string value. that string value am using it for displaying in ui window..</p>
  
  <pre><code> QByteArray array;
      array.append( 0x02 );
      array.append( 0xC1);
      qDebug()&lt;&lt;( uint )array[0]&lt;&lt;"  "&lt;&lt;( uint )array[1];  
      uint i = 0x00000000;
      i |= array[1];
      qDebug()&lt;&lt;i;    
      uint j = 0x00000000 | ( array[0] &lt;&lt; 8 );
      qDebug()&lt;&lt;j;
      i |= j;
  
      bool b = false;
      QString str = QString::number( i );
      qDebug()&lt;&lt;str;
  </code></pre>
  
  <p>but the str prints "4294967233"...this code works for some of the bytes like 0x1, 0x45 and for some of other..but this code not working perfectly for all bytes of data into string..please help me with this and write code for this and post it here..thanks</p>