Thanks, Janne - I've spent hours trying to get that working. :) Happy new year!
Regards, Markus 31 dec 2013 kl. 05:35 skrev Janne Kokko <jmkok...@gmail.com>: > Remove "static" keyword and put correct scope for the methods in cpp file: > > 2013/12/29 Markus Svensson <markus.svens...@me.com>: >> Hi guys, > ... >> static void append(QQmlListProperty<Note> *property, Note* value) { >> >> NoteList *list = (NoteList*) property; >> >> list->addNote(value); >> >> } > > => > > void NoteList::append(QQmlListProperty<Note> *property, Note* value) { > > NoteList *list = (NoteList*) property; > > list->addNote(value); > > } > > Keep the "static" keyword in h file though. > > -- > Janne > _______________________________________________ > SailfishOS.org Devel mailing list _______________________________________________ SailfishOS.org Devel mailing list