Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.2
-
67ae983d1 (dev), 874de7801 (6.8), bc8f3e0c0 (dev), 678621c23 (6.8)
Description
Create QML file:
import "../lib" Anything {}
Run it through qmlimportscanner:
path/to/qmlimportscanner -qmlFile /path/to/file.qml
It seems to be simply dropping the .. from 'path':
[ { "name": "../lib", "path": "/path/to/lib", "type": "directory" } ]
Attachments
For Gerrit Dashboard: QTBUG-126632 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
575165,9 | qmlimportscanner: Properly handle directory imports | dev | qt/qtdeclarative | Status: MERGED | +2 | -1 |
583854,2 | androiddeployqt: Do not misbehave on QML file and directory imports | dev | qt/qtbase | Status: MERGED | +2 | +1 |
585378,2 | androiddeployqt: Do not misbehave on QML file and directory imports | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
585958,2 | qmlimportscanner: Properly handle directory imports | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |