ApplicationFilePath
-
I am looking at the documentation for the following method:
QCoreApplication::applicationFilePath()
The documentation says the following:
http://doc.qt.digia.com/4.6/qcoreapplication.html#applicationFilePath"Returns the file path of the application executable."
I am running my executable on ubuntu server. I use cmake to compile the executable and then I copy the executable in the ~/bin directory.
What I don't understand is the path it refers to the directory where I ran the executable or the directory the executable is located in?
-
It is directory where executable exist.