Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Getting QQuickView in a static way [solved]

    Mobile and Embedded
    1
    1
    457
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • patrikd
      patrikd last edited by

      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

      1 Reply Last reply Reply Quote 0
      • First post
        Last post