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

Getting QQuickView in a static way [solved]



  • Hi all,
    is there a way to get the current QQuickView or QWindow in a static way. For widgets there was the QApplication::activeWindow() but I can't find anything similar for my QML app. I need the QWindow for
    accessing the QWindow in:
    QGuiApplication::platformNativeInterface()->nativeResourceForWindow("uiview", QWindow )
    Any hints?
    best,
    patrik


Log in to reply