Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
6.10
-
None
Description
We could enhance the warning for missing import.
Currently we have "Did you add all imports and dependencies? [import]" when you use a type without its import.
We could improve it by:
- having a fixed mapping from typenames to candidate QML Modules that export it
- loading all the QML modules accessible from the import paths and keeping a "typename to QML Module" map
Then we could warn that "Type XXX can be imported from ModuleA, ModuleB or ModuleC".
Attachments
Issue Links
- resulted from
-
QTBUG-137309 QMLLINT Fix Suggestion not ideal to correct issue for RadialGradient on Rectangle
-
- Reported
-