qtdeclarative/tools/qmllint
Fabian Kosmale 66368ffdd9 qmllint: Improve parent handling
- Do not warn about parent access in unknown components
  This avoids false positive warnings when an imported component could not
  be found (or when it actually was not imported).
  We still warn about the component which could not be found, so the user
  is still informed that something is not right.

  We also still emit a warning when we know the properties of a component,
  and parent is not one of them.
- Do not recommend the use of parent to address the root components
  properties. For this to work, we would need to know whether the root
  component reparents its children or not. Moreover, id lookups are
  actually faster than parent lookups.

Change-Id: I83d0e71e4bf20d34a3e6d836c2b123b2bf0d416e
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2019-07-26 09:00:07 +02:00
..
componentversion.cpp Extend linter to check for unqualified ids 2019-07-12 15:31:16 +02:00
componentversion.h Extend linter to check for unqualified ids 2019-07-12 15:31:16 +02:00
fakemetaobject.cpp Extend linter to check for unqualified ids 2019-07-12 15:31:16 +02:00
fakemetaobject.h Extend linter to check for unqualified ids 2019-07-12 15:31:16 +02:00
findunqualified.cpp qmllint: Improve parent handling 2019-07-26 09:00:07 +02:00
findunqualified.h qmllint: Improve parent handling 2019-07-26 09:00:07 +02:00
main.cpp Extend linter to check for unqualified ids 2019-07-12 15:31:16 +02:00
qcoloroutput.cpp Extend linter to check for unqualified ids 2019-07-12 15:31:16 +02:00
qcoloroutput_p.h Extend linter to check for unqualified ids 2019-07-12 15:31:16 +02:00
qmljstypedescriptionreader.cpp Extend linter to check for unqualified ids 2019-07-12 15:31:16 +02:00
qmljstypedescriptionreader.h Extend linter to check for unqualified ids 2019-07-12 15:31:16 +02:00
qmllint.pro Extend linter to check for unqualified ids 2019-07-12 15:31:16 +02:00
scopetree.cpp qmllint: Improve parent handling 2019-07-26 09:00:07 +02:00
scopetree.h qmllint: Improve parent handling 2019-07-26 09:00:07 +02:00