qtdeclarative/tools
Andrei Golubev 25b2645201 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>
2022-01-31 08:58:12 +01:00
..
qml Remove unused .qrc files 2022-01-20 19:33:01 +01:00
qmlcachegen Pass qmldir to qmlcachegen, qmllint and qmltc, not the qmltypes file 2021-12-13 11:51:13 +00:00
qmldom Skip unnecessary commands when cross-building tools 2021-10-08 10:37:35 +02:00
qmleasing Remove unused .qrc files 2022-01-20 19:33:01 +01:00
qmlformat qmlformat: Implement settings file 2021-10-26 12:03:40 +02:00
qmlimportscanner qml{plugindump|importscanner}: Don't mix std::cerr and std::wcerr 2022-01-06 16:54:14 +01:00
qmljs Turn qmljs into app 2022-01-20 20:33:01 +02:00
qmljsrootgen qmllint: Properly handle JavaScript functions with variable arguments 2021-11-26 21:23:08 +01:00
qmllint tools: Unconditionally depend on QCommandLineParser 2022-01-24 13:25:13 +01:00
qmlls qmlls: improve documentation 2021-12-23 18:42:59 +01:00
qmlplugindump qml{plugindump|importscanner}: Don't mix std::cerr and std::wcerr 2022-01-06 16:54:14 +01:00
qmlpreview Skip unnecessary commands when cross-building tools 2021-10-08 10:37:35 +02:00
qmlprofiler Replace 0 pointer constants with nullptr 2021-10-18 12:39:28 +02:00
qmlscene Fix qmlscene CMakeLists.txt 2022-01-24 17:39:21 +00:00
qmltc qmltc: Drop half-correct type name collecting procedure 2022-01-31 08:58:12 +01:00
qmltestrunner Skip unnecessary commands when cross-building tools 2021-10-08 10:37:35 +02:00
qmltime Skip unnecessary commands when cross-building tools 2021-10-08 10:37:35 +02:00
shared qmllint: Add support for loading options from settings 2021-05-27 11:30:12 +02:00
CMakeLists.txt tools: Unconditionally depend on QCommandLineParser 2022-01-24 13:25:13 +01:00