Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions

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