I want to create a custom QML component with two properties one and two, which should have default values when left uninitialized. In particular, i
one
two
Explicitly break the binding upon component completion:
Rectangle { property int one: 1 property int two: 2 * one Component.onCompleted: two = two }
The two = two assignment breaks the binding and two is no longer updated as one changes.
two = two