Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.0 Beta, 5.6.0
-
None
-
MinGW/MS-Win
-
e86f3c018833141776db2d15772ba53995656eac, 54190595efe55bdbb647c69fa7b0a43d3f84dd68
Description
On MS-Win, a path such as \Users\qt\build\qtbase\bin\qmake.exe gets classified as "absolute" because it starts with a backslash, but its lack of a drive letter means it's not properly absolute.
QDir::absoluteFilePath() returns the path it's given if this is "absolute" even in this missing-drive sense.
This can result in problems for clients, e.g. qmake settings its QMAKE_QMAKE variable to the exact path given above, which leads to QNX builds on MinGW failing; this delayed the 5.6.0 release.
Attachments
Issue Links
- relates to
-
QTBUG-68337 [Reg : 5.10.1-> 5.11.0]QDir().absoluteFilePath() no longer recognizes resources
-
- Closed
-
For Gerrit Dashboard: QTBUG-50839 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
203321,15 | Make QFileSystemEntry's isRelative and isAbsolute consistent | dev | qt/qtbase | Status: NEW | -1 | 0 |
148226,3 | qmake: require a drive in a DOS path for it to be absolute | 5.12 | qt/qttools | Status: MERGED | +2 | 0 |
148309,28 | qmake: require a drive in a DOS path for it to be absolute | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |
148583,15 | Make sure QDir::absoluteFilePath("/dir") includes a drive on MS | 5.11 | qt/qtbase | Status: MERGED | +2 | 0 |
230794,1 | Make QFileSystemEntry's isRelative and isAbsolute consistent | 5.11 | qt/qtbase | Status: ABANDONED | 0 | 0 |