title: How can I avoid creating a property binding on initialization in QML?
body: <p>I want to create a custom QML component with two properties <code>one</code> and <code>two</code>, which should have default values when left uninitialized. In particular, if <code>two</code> should get an initial value depeding on <code>one</code>. The following code</p>
  
  <pre><code>Rectangle {
    property int one: 1
    property int two: 2 * one
  }
  </code></pre>
  
  <p>however creates a property binding: Whenever <code>one</code> changes, <code>two</code> is updated to the new value of <code>2 * one</code>. How can I initialize <code>two</code> to the <em>value</em> of <code>2 * one</code> without creating a binding?</p>