Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.11.0 RC 1
-
Windows 10
Qt 5.11.0
-
27f1f84c1c220c5dadc739d5b056ec0f1b9f63a6
Description
There appears to be a regression issue with recognizing resource path names, in Qt5.10.1, the code: QDir().absoluteFilePath(":/abc.txt") would return ":/abc.txt".
However, in Qt5.11.0 the string is expanded to something like:
"C:/Tickets/build-AbsolutePathIssue-Desktop_Qt_5_11_0_MSVC2017_64bit4-Debug/:/abc.txt"
Steps to Reproduce:
- Run the attached project on Qt 5.11.0
Expected Result:
The output should be - ":/abc.txt"
Actual result:
"C:/Tickets/build-AbsolutePathIssue-Desktop_Qt_5_11_0_MSVC2017_64bit4-Debug/:/abc.txt"
This is working fine in Qt 5.10.1
Attachments
Issue Links
- relates to
-
QTBUG-50839 On MS-Win, QDir::absoluteFilePath() doesn't add a drive to a path that starts with a backslash
- Closed