I've replied previously that .length works very well for me. Did you
try it again? This is the correct property to get the size of the
list.

On Mon, Sep 20, 2010 at 8:27 PM, Cornelius Hald <[email protected]> wrote:
> 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
>
>
> _______________________________________________
> Qt-qml mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-qml
>
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to