Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Getting QQuickView in a static way [solved]
QtWS25 Last Chance

Getting QQuickView in a static way [solved]

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 576 Views
  • 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.
  • patrikdP Offline
    patrikdP Offline
    patrikd
    wrote on last edited by
    #1

    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
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved