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

Cornelius Hald hald at icandy.de
Mon Sep 20 15:27:46 CEST 2010


On Fri, 2010-09-17 at 14:59 +0200, Cornelius Hald wrote:
> 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?

I still didn't find a solution. Could someone please give me a hint?

Thanks!
Conny





More information about the Qt-qml mailing list