[Development] QML: onCountChanged in ListModel and ListView

bea.lam at nokia.com bea.lam at nokia.com
Fri Nov 25 06:58:52 CET 2011


On 24/11/2011, at 11:39 PM, ext Sandro Andrade wrote:

> Hi there,
> 
> Any idea why ListView { onCountChanged: ... } works fine while
> ListModel { onCountChanged: ... } gives me a "undefined property
> 'onCountChanged'" ?
> Both qdeclarativelistview_p.h and qdeclarativexmllistmodel_p.h have
> count property with NOTIFY signal.

This is due to the bug https://bugreports.qt.nokia.com/browse/QTBUG-19763 in ListModel, which has been fixed for QtQuick 2.0.

cheers,

Bea


More information about the Development mailing list