DOM: remove ModuleIndex and ModuleScope


We don't need them in qmlls, except for the (broken) module import
completion that can only suggest already imported modules (see
QTBUG-126766). Remove it and its usages.

The auto-completion tests for module imports are already QEEXPECT_FAIL'd
so remove the auto-completion code for modules. Track auto-completion
for module names in QTBUG-126766.

Task-number: QTBUG-150842
Change-Id: I82f2de9890270d1713232cbf517a3f48e101405a
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
commitecaa338f6b9b5c7dcfb9383da25155231feecd2e
parenta8b3d819e7549e3e76c7e9832bfe7078404215af
authorSami Shalayel <sami.shalayel@qt.io>
committerSami Shalayel <sami.shalayel@qt.io>
commit timeThu, 15 Oct 2026 08:30:11 +0000