CreateWindowContainer steals focus from application
I'm trying to use the new QtQuick items, and when I embed a QML item inside a widget, I am unable to click on anything within the parent widget.
QWidget *container = QWidget::createWindowContainer( qView, mpMainDisplay );
container->setGeometry(x, y, width, height);
mpMainDisplay is the primary widget for the application (a QWidget) and qView is a QQuickView.
Is there anyway to stop the new QML instance from taking all focus? I've tried using the NoFocus policy without any luck. I've also tried setFocus and activeWindow on mpMainDisplay without any luck.