Please nominate your Qt Champions for 2021!

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?

Log in to reply