aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmltc_manual
diff options
context:
space:
mode:
authorAndrei Golubev <andrei.golubev@qt.io>2022-01-25 20:59:28 +0100
committerAndrei Golubev <andrei.golubev@qt.io>2022-01-31 08:58:12 +0100
commit25b26452018bde9c569e39e1fd776d25a5412d02 (patch)
tree04ef40afbc06fba6b0bbf5eef08f3e491f0b8f5d /tests/auto/qml/qmltc_manual
parentb1bb4c8e5f0d4a65f36b2002bcdaf9bfcbed8c77 (diff)
qmltc: Drop half-correct type name collecting procedure
Type resolver can collect (presumably C++) type names which is needed to verify that the QML document we are about to compile is named correctly and does not have name conflicts However, the collection logic gathers everything we can find: C++ names, QML names, names marked with $anonymous$ or under import namespace. At the same time, the way the procedure works involves poking (pretty much) every known QQmlJSScope a.k.a. creates every type (previously some could've been deferred) which usually means that we have a larger than necessary footprint Thus, delete this procedure and simplify the code. We can later revisit the logic and figure the proper way to collect relevant type names. For now this is just overkill though. Note that this change, consequently, should avoid instantiating types imported from implicit import dir, instead of imported from qmldir (there is a difference apparently) Task-number: QTBUG-100103 Pick-to: 6.3 Change-Id: Iaf65e5f3a9bf53286760af0dc39a1d7036d7c474 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmltc_manual')
0 files changed, 0 insertions, 0 deletions