[Qt-qml] Getting the size of a QList in QML

Cornelius Hald hald at icandy.de
Fri Sep 17 14:59:02 CEST 2010


Hi,

I'm exposing an object with a QList<QtObject*> property to QML. How can
I read out the size of that list in QML? I tried .size, .length
and .count. Non of them seem to work.

Am I missing something? Is it possible at all?

Thanks!
Conny





More information about the Qt-qml mailing list