I\'m writing a program in C++ using the Qt library. There is a symbolic link in my home bin directory to the executable. I would like the current working directory of my pro
Just tested and QDir::currentPath() does return the path from which I called my executable.
QDir::currentPath()
And a symlink does not "exist". If you are executing an exe from that path you are effectively executing it from the path the symlink points to.