There is QDir which might be of help (see
QDir::canonicalPath and others).
Quoting from QDir doc:
A QDir is used to manipulate path names, access information regarding paths and files, and manipulate the underlying file system.
Another class that might be useful is
From Qt documentation:
The QFileInfo class provides system-independent file information.
QFileInfo provides information about a file's name and position (path) in the file system, its access rights and whether it is a directory or symbolic link, etc. The file's size and last modified/read times are also available. QFileInfo can also be used to obtain information about a Qt resource.