Nominate our 2022 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