Is there a way to differentiate between bound and unbound properties in C++?

  • Hello fellow Qt Quick enthusiasts,

    is there any way to figure out if a component's property was set statically or if it receives its values through a binding? I did not find a solution using "QDeclarativeProperty":

    @property int test: 20 // static assignment
    property int test: someObject.someValue // dynamic binding@

    Another question related to this is, if there exists a possibility to access QML ids from C++ or if this is technologically impossible.


Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.