Since you've acknowledged that the user may move the file to a different directory, and the filename alone doesn't provide unique identification, take a moment and convince yourself that any amount of fiddling with QSettings will fail to do what you want. Unless you can lock down the file's location in a predefined directory structure which never varies, your only alternative is to store your information in the file itself - either internally (the best solution, if possible) or by embedding information in the filename. The latter is also problematic, since the user can rename the file to whatever they want.
If the files in question are created by you and are unique to your application, store the information internally.
Bookmarks