wasm: unblock virtual keybaord
QtVirtualKeyboard can be used for non touch apps as well. We were not taking this into consideration and only allowing touch devices to access it. Pick-to: 6.4 Change-Id: I17fcb360b6655ace4fba7447eb85561ba75338a5 Reviewed-by: David Skoland <david.skoland@qt.io> Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
parent
ece2feee03
commit
a9f94d078a
@ -212,7 +212,7 @@ QPlatformOpenGLContext *QWasmIntegration::createPlatformOpenGLContext(QOpenGLCon
|
||||
|
||||
void QWasmIntegration::initialize()
|
||||
{
|
||||
if (touchPoints < 1) // only touchscreen need inputcontexts
|
||||
if (qgetenv("QT_IM_MODULE").isEmpty() && touchPoints < 1)
|
||||
return;
|
||||
|
||||
QString icStr = QPlatformInputContextFactory::requested();
|
||||
|
Loading…
Reference in New Issue
Block a user