Possible Duplicate:
Qt equivalent of PathAppend?
Is there a class that handles file paths in Qt? Particularly I'm looking for something like .NET's Path.Combine.
I know there's one in boost::filesystem but I was wondering if there's one in Qt.
There is QDir which might be of help (see QDir::relativeFilePath
and 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With