I build cross-platform app that crate file for the user. To get full path I writing this code:
Qt Code:
  1. QString fullPath = QCoreApplication::applicationDirPath();
  2. fullPath.append("/").append(filename);
To copy to clipboard, switch view to plain text mode 

After searching the file I found in the debugger that my file exist under <myAppName>.app/Contents/MacOS.

The user haven't way to get those file (except via the terminal).

The question: What should I do to receive "normal" path ? (I file aid to the user)
• I not want use substring functions because same code should work well on Linux and Windows.

Thanks in advance.