Does Qt have any platform-independent functionality to accept paths like \"~/myfile\"?
I know about wordexp, but it would be nice with a platform-independent wrapper
You could probably just replace the tilde with the result of QDir::homePath()? Reference here.
QDir::homePath()