I do not know if the Qt API supports this. Here is the specific OS X information.
In OS X, this depends on whether it supports a graphical application or UNIX-level support libraries. For a GUI application, the standard practice is that all readable data is accessible to all users within the application package itself. Usually you have
YourApp.app/ YourApp.app/Contents YourApp.app/Contents/MacOS YourApp.app/Contents/MacOS/YouApp .... this is the binary YourApp.app/Contents/Resources/ .... here are all the shared data
The GUI is YourApp.app directory as the application itself, so you can copy / move it without any problems. If this is not possible, a subdirectory is recommended.
/Library/Application Support/name_of_your_app/
for data shared by users.
It is a bad idea to have altered, shared data among users on a machine; this is generally not possible due to access restrictions. Please note that the standard user may not have, and in fact usually does not have administrative rights to write to the shared folder.
For user-specific mutable data, use
~/Library/Application Support/name_of_your_app/
See this Apple manual for more details.
Yuji
source share