Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
4.6.0
-
None
-
Windows
Description
QUrl q("file:///c:/tmp/test.txt")
qDebug() << q.path();
will result as a path: /c:/tmp/test.txt
which is not a valid filesystem path on windows. At minimum the documentation should point this out and direct the user to toLocalFile() which presumably does the expected thing.
Attachments
Issue Links
- is duplicated by
-
PYSIDE-2583 QUrl.path contains leading / on Windows
- Closed
- resulted in
-
QTBUG-86601 QQuickPdfDocument cannot load a pdf file with full path including volume on windows
- Reported