Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QML Binging loop detected for property
QtWS25 Last Chance

QML Binging loop detected for property

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 293 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.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by SPlatten
    #1

    I'm getting this:

    qrc:/qml/[filepath and QML file]:239:9 QML Details: Binding loop detected for property "blah"
    

    Firstly I've searched for the mentioned property and whilst it is in the QML I can see nothing that would cause this message, what does it actually mean and how to I avoid it?

    Kind Regards,
    Sy

    J.HilkJ 1 Reply Last reply
    0
    • SPlattenS SPlatten

      I'm getting this:

      qrc:/qml/[filepath and QML file]:239:9 QML Details: Binding loop detected for property "blah"
      

      Firstly I've searched for the mentioned property and whilst it is in the QML I can see nothing that would cause this message, what does it actually mean and how to I avoid it?

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @SPlatten said in QML Binging loop detected for property:

      what does it actually mean and how to I avoid it?

      it means that the setter of "blah" is called multiple times per event loop cycle and each time the value changed.

      usually this happens due to circular property binding

      the QmlEngine will detect it, that's when you get the "warning", and break the binding.


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      2
      • SPlattenS Offline
        SPlattenS Offline
        SPlatten
        wrote on last edited by
        #3

        Thank you, I'm looking at ways of reducing and condensing the file, there are lots of similar things in the file.

        Kind Regards,
        Sy

        1 Reply Last reply
        1

        • Login

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