[Qt-qml] Implicit Component

Girish Ramakrishnan girish at forwardbias.in
Fri Feb 18 16:11:24 CET 2011


Hi Mathias,

On Thu, Feb 17, 2011 at 9:27 PM,  <mathias.malmqvist at nokia.com> wrote:
>
> Is there any difference in result of this
> property Component rect: Rectangle { ... }
> and this:
> property Component rect: Component { Rectangle { ... } }
> when rect is used to set a Loader's sourceComponent?
>
> I think not, but want to be sure.
>

No difference, just syntactic sugar.

Girish


More information about the Qt-qml mailing list