title: break a Long line in qbyte array into multiple line in qt
body: <p>I have Following code written</p>
  
  <pre><code>    QString WctUtils::getDiskSpace( )
       {
           static QString diskSpaceCmd ( qgetenv("WINDIR")
                             + "\\system32\\wbem\\wmic LOGICALDISK GET Name,FreeSpace,Size,Description/value");
  
          QProcess proc;
          QByteArray qba;
  
          proc.start(diskSpaceCmd);
  
  
         if(proc.waitForFinished(-1))
           {
            qba = proc.readAllStandardOutput();
            qba = qba.trimmed();
            qba.replace('\r', ' ');
            qba.replace('\n',' ');
            QList&lt;QByteArray&gt; lines = qba.split('\n');
  
          }
  
         QString diskSpace(qba);
         return (diskSpace);
      }
  </code></pre>
  
  <p>Output obtained is :</p>
  
  <pre><code> {
       "Service": "20170131184024",
       "diskinfo": "Description=Local Fixed Disk   FreeSpace=421098377216   Name=C:   Size=499875049472         Description=CD-ROM Disc   FreeSpace=   Name=D:   Size=         Description=Local Fixed Disk   FreeSpace=324859035648   Name=E:   Size=487687450624         Description=CD-ROM Disc   FreeSpace=0   Name=F:   Size=553459712",
  
   }
  </code></pre>
  
  <p>Expected output is</p>
  
  <pre><code>      {
         "Service": "20170131184024",
         "diskinfo": "Description=Local Fixed Disk   FreeSpace=421098377216   Name=C:   Size=499875049472       
                     Description=CD-ROM Disc   FreeSpace=   Name=D:   Size=    
                     Description=Local Fixed Disk   FreeSpace=324859035648   Name=E:   Size=487687450624         
                     Description=CD-ROM Disc   FreeSpace=0   Name=F:   Size=553459712"
      }
  </code></pre>
  
  <p>How can I get this Disk info line in Multiple line? how to break a part of qbyte array into multiple lines?</p>