While porting code from Qt3 to Qt4, I encounter the following problem.

I create Process object
Qt Code:
  1. QProcess m_Process = QProcess(this);
To copy to clipboard, switch view to plain text mode 

Now there is one statement which needs to be ported:

Qt Code:
  1. m_Process->launch(some_Argument);
To copy to clipboard, switch view to plain text mode 

I have used :
Qt Code:
  1. m_Process->execute(some_Argument);
To copy to clipboard, switch view to plain text mode 

I'm using this, but the process doesn't get launch.