Hi,

I'd like to use QML SectionScroller with a QList<QObject*> based model.
My ListView's section configuration is:
Qt Code:
  1. section.criteria: ViewSection.FirstCharacter
  2. section.property: "form0"
To copy to clipboard, switch view to plain text mode 

Where form0 property is valid and displayed in the view

When the SectionScroller is inserted to the QML code, I'm getting an error:

Qt Code:
  1. .../com/nokia/meego/SectionScroller.qml:319: Error: cannot assign [undefined] to QString
To copy to clipboard, switch view to plain text mode 

What am I doing wrong? I'd prefer to avoid QAbstractListModel, as I think it'd be an overkill right there - the elements are like this:

Qt Code:
  1. class IrregularVerb : public QObject
  2. {
  3. Q_OBJECT
  4. Q_PROPERTY(QString form0 READ getForm0 NOTIFY formChanged)
  5. Q_PROPERTY(QString form1 READ getForm1 NOTIFY formChanged)
  6. Q_PROPERTY(QString form2 READ getForm2 NOTIFY formChanged)
  7. // internal stuff there
  8. };
To copy to clipboard, switch view to plain text mode 

Thanks