I’m writing a program in C++ using the Qt library. I would like to get current working directory of my program (I mean that is the absolute path which contains file *.pro). I saw the QDir::currentPath() function, but it gives back the directory where the binary is.
Does anyone has any solutions?
P/S: I have uploaded the image which describes the path that I want to get.