Details
-
Bug
-
Resolution: Done
-
P4: Low
-
6.0.0
-
aa470fa92d8139ea849c00e01db5ffc537fe6981 (qt/qtdeclarative/dev)
Description
I accidentally passed a directory when I should have passed a file:
-i /home/mitch/dev/qt5-dev2-debug/qtbase/qml
The error was:
QIODevice::read (QFile, "/home/mitch/dev/qt5-dev2-debug/qtbase/qml"): device not open 1:1: Expected token `numeric literal'
It would be more user friendly to warn the user that -i expects a file and not a directory.
Attachments
For Gerrit Dashboard: QTBUG-83861 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
298740,6 | qmllint: warn when passing a directory to -i option | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
300929,3 | WIP: qmllint: warn when passing a directory to -i option | 5.15 | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |