[Qt-qml] QtQuick 2.0 regression?
aaron.kennedy at nokia.com
aaron.kennedy at nokia.com
Mon Jul 25 05:07:52 CEST 2011
Hi,
On 22/07/2011, at 4:16 AM, ext mathias.malmqvist at nokia.com 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
More information about the Qt-qml
mailing list