Qt6 topics merged with General

Hide Android virtual keyboard globally

  • Hi,
    in my Qml application I'd like to use a custom virtual keyboard implemented as a platforminputcontexts plugins with an in-process Qml input panel. Every is working fine but I can't prevent the Android keyboard to be shown over my custom keyboard every time my application requests an input. Is it possible to hide/disable the Android virtual keyboard globally for an application?


  • Ok, the problem was related to my platforminputcontext plugin loading. I didn't find how to load custom platfominputcontext plugins under android (it seems to me that isn't possible), so I've integrated my plugin sources into android platform plugin and I've reimplemented QAndroidPlatformIntegration::inputContext() method returning a pointer to the custom QPlatformInputContext instead of QAndroidInputContext.

Log in to reply