[Qt-qml] QtQuick 2.0 regression?
mathias.malmqvist at nokia.com
mathias.malmqvist at nokia.com
Thu Jul 21 20:16:50 CEST 2011
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?
Cheers
Mathias
More information about the Qt-qml
mailing list