On Windows, the QFileBrower seems to return the name of the selected file or directory with forward slashes instead of backslashes as the directory separator, e.g. D:/programFiles/xyz/file.doc.

In certain parts of the my code, i check if the path is an absolute or relative path and this fails , because the code expects a backslash.

Can i have a way where i would get the backslash in the path irrespective of OS.

Thanks.