Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Proper way to get Window/ApplicationWindow for QQuickWidget?



  • The attached properties Window.window and ApplicationWindow.window are both null when using QQuickWidget in a QtWidgets application. What is the proper way to access the top-level window, for example to track changes in activeFocusControl?

    I imagine there is a Qml principle I am not grasping here...


Log in to reply