Print the contents of the QDir::currentPath(). See if this is Exactly what you want.

I think you might need the
Qt Code:
  1. QString QCoreApplication::applicationDirPath();
To copy to clipboard, switch view to plain text mode