Replace Qt.inputMethod with InputMethod singleton


It works better for tooling

Pick-to: 6.11
Change-Id: I90c656705448486325e71dbd5b3808ccc0262c06
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
commitad79d7cc75eaf004c622de3d48ce777edc21297b
parent4a5046fdeebec35bd7e8dfb868b4e0750b576ccd
authorNicolas Fella <nicolas.fella@kdab.com>
committerNicolas Fella <nicolas.fella@kdab.com>
commit timeTue, 31 Mar 2026 11:33:42 +0200