The path returned by QWebEngineDownloadItem::path() contains native separators ('\' on Windows) instead of the standardized '/' used in Qt.
For instance the following code
will generate the following output
while I was expecting
This happens only when there is already a file with the same name in the download folder and the file must be renamed with a number.
On the first download path will be C:/Users/User/Downloads/downloaded_file.ext, but for the second download it will be C:\Users\User\Downloads\downloaded_file (1).ext.