Hi,

On 22/07/2011, at 4:16 AM, ext [email protected] wrote:

> Hi, 
> 
> In one of our UX prototypes we have code that looks like this
> 
> Item {
>    id : applications
> 
>    property Application empty: Application {}
>    property Application current: applications.empty  // fine with QtQuick 1.0 
> but not 2.0
> ...
> }
> 
> This works find under QtQuick 1.0, but with QtQuick 2.0 the last row results 
> in this error
> Applications.qml:11: Unable to assign QObject* to Application_QMLTYPE_11*
> 
> Is this because of a new intentional limitation in QtQuick 2.0, or a possible 
> defect?

Yes, this is a bug.  I've pushed a fix.

Cheers,

Aaron

_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to