Hi everybody,

i am reading some information by using QProcess::readAllStandardError() and it works fine.

I would like to delete all New lines of this String, but i dont know how to do this by using the Function QString::replace or remove

Can somebody help?

Now:
Qt Code:
  1. Connecting to STCHPS426...
  2.  
  3.  
  4. Starting PsExec service on STCHPS426...
  5.  
  6.  
  7. Connecting with PsExec service on STCHPS426...
  8.  
  9.  
  10. Copying I:\WinZip 8.1.exe to STCHPS426...
  11.  
  12.  
  13. Starting I:\WinZip 8.1.exe on STCHPS426...
  14.  
  15.  
  16.  
  17. WinZip 8.1.exe exited on STCHPS426
To copy to clipboard, switch view to plain text mode 

I want to have this:
Qt Code:
  1. Connecting to STCHPS426...
  2. Starting PsExec service on STCHPS426...
  3. Connecting with PsExec service on STCHPS426...
  4. Copying I:\WinZip 8.1.exe to STCHPS426...
  5. Starting I:\WinZip 8.1.exe on STCHPS426...
  6. WinZip 8.1.exe exited on STCHPS426
To copy to clipboard, switch view to plain text mode