Proper way to get Window/ApplicationWindow for QQuickWidget?
Unsolved
QML and Qt Quick
-
The attached properties
Window.window
andApplicationWindow.window
are bothnull
when using QQuickWidget in a QtWidgets application. What is the proper way to access the top-level window, for example to track changes inactiveFocusControl
?I imagine there is a Qml principle I am not grasping here...