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. How to avoid binding loop on a TextArea I want to update programatically?
Forum Updated to NodeBB v4.3 + New Features

How to avoid binding loop on a TextArea I want to update programatically?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 269 Views 2 Watching
  • 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.
  • V Offline
    V Offline
    Vadi2
    wrote on last edited by
    #1

    I want to have a TextArea that I can update from the backend - what is the right way to do it?

    What I did right now is bind the text property to the backend property - and it works, ish: when I load new text in the backend, the text gets loaded into the TextArea as well - but after a delay and complaint of a binding loop.

    1 Reply Last reply
    0
    • fcarneyF Offline
      fcarneyF Offline
      fcarney
      wrote on last edited by
      #2

      Show us the code that exposes the C++ (?) to the QML. There are lots of ways of doing this so I don't want to guess.

      C++ is a perfectly valid school of magic.

      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