In QT, using QWindow::fromWinId to embed Chrome, keyboard input is not available in Chrome
In QT 6.4.2, using QWindow::fromWinId and QWidget::createWindowContainer to embed Chrome. However, after embedding, it is found that Chrome cannot use keyboard data (but the mouse can). The same code, when embedding Firefox, works just fine. Does anyone know how to handle this? The code is as follows: