title: How to get current working directory path of a Qt application?
body: <p>I'm writing a program in C++ using the Qt library. I would like to get current working directory of my program. I found the <strong>QDir::currentPath()</strong> and <strong>QCoreApplication::applicationDirPath()</strong> function but they give back the directory where the application executable is. I don't wanna get the directory that contains the application executable.</p>
  
  <p>I have uploaded the image which describes the path that I want to get.</p>
  
  <p><img src="https://i.stack.imgur.com/oITiR.png" alt="enter image description here"></p>
  
  <p>Does anyone has any solutions?</p>
  
  <p>Thank you!</p>