[Interest] Avoid swallowing of keystokes with createWindowContainer?

Gav Wood gavofyork at gmail.com
Tue Jun 11 20:38:55 CEST 2013


I'm working with QtQuick in Qt 5.1 and using a hybrid QtWidgets/QtGui
approach with the new QWidget::createWindowContainer to create a
QQuickView-powered QWidget.

My QWidgets application uses QActions with global shortcuts to access
various functionality. Unfortunately, the new widget returned by
QWidget::createWindowContainer seems to swallow all keyboard input
when it has focus, which given it's the main mouse-interaction
component is most of the time.

Is there a simple workaround for this?


In the course of a normal year, more people die from falling off
horses than from taking ecstasy.

More information about the Interest mailing list