> > > I used an INVOKABLE method in class A which will return a > QAbstractListModel, and use it as the model of the inner ListView, but it > doesn't work. > > Actually, this works for me. I believe you need to cast the returned model to a QObject* to make it work. For example:
Q_INVOKABLE QObject* commentsForActivity(const QString &id) const; Kr, Chris.
_______________________________________________ Qt-qml mailing list Qt-qml@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-qml