[Qt-qml] QML element initialization

Adriano Rezende adriano.rezende at openbossa.org
Wed Aug 25 18:37:33 CEST 2010


> Yes, this is a bug -- classBegin() should only be called once. It was trivial to reproduce, so I've added http://bugreports.qt.nokia.com/browse/QTBUG-13114

>> Wouldn't it be better if the parent was set (if it's not null) before
>> classBegin() in all cases to avoid corner cases like the above? This
>> would ease the port of several libraries that have the same hierarchy
>> dependency.
>
> I don't know the answer to this one; you may want to add a suggestion in JIRA so it isn't forgotten.

Thanks for adding the bug. I'll add a sugestion in JIRA then.

Br,
Adriano



More information about the Qt-qml mailing list