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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.