title: Unzip with WinRar in Qt(C++) using QProcess - extract directory problem
body: <p>I have this code bellow to unzip folder. It works but I do not know how to change extraction directory. Everytime, it extracts folder to directory where is my .exe file of my program. I tried some things but every time, it just extracts there. I want to choose directory.</p>
  <pre><code>QString program = &quot;c:/program files/winRAR/winRAR.exe&quot;;
  
  QStringList arguments;
  arguments &lt;&lt; &quot;x&quot;; // extract files and directories
  arguments &lt;&lt; &quot;-y&quot;; // suppress questions
  arguments &lt;&lt; &quot;-o&quot; + QDir::toNativeSeparators(extractDirectory);
  arguments &lt;&lt; QDir::toNativeSeparators(zipFileDirectory);
  
  QProcess *myProcess = new QProcess(parent);
  myProcess-&gt;start(program, arguments);
  </code></pre>
  <p>I would say, there is problem in way of writing extractDirectory behind -o argument but not sure.
  Thank you for any help.</p>