Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. A problem with binding to the resources prop of Item

A problem with binding to the resources prop of Item

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 37 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.
  • A Offline
    A Offline
    Ashley Paul
    wrote last edited by
    #1

    I get this warning in the logs, the reasonI want to bind to resources prop is to filter objects that are of QtObject like Menu and Popup

    QQmlExpression: Expression depends on non-bindable properties:
         QQuickRootItem::resources
    

    is there another way other than this?

    model: Window.contentItem.resources.filter(r => r instanceof Popup)
    
    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