hi friends,
i gone through one good examlpe which use QProcess() and in that i have one doubt ...
i try all the assistant documents but cant find ... what is the difference between this two .. to get readyReadStandardError() from QProcess()
Qt Code:
  1. 1.
  2. QString path = process.readAllStandardError();
  3. path = outputtextedit->setText(path);
  4.  
  5. 2.
  6. QByteArray newData = process.readAllStandardError();
  7. QString text = outputTextEdit->toPlainText()
  8. + QString::fromLocal8Bit(newData);
  9. outputTextEdit->setPlainText(text);
To copy to clipboard, switch view to plain text mode 
why we need to convert QString as like 2 nd one .... what will happen if i use 1 st condition ..?