[Development] Q_INVOKABLE QAbstractListModel

Olivier Goffart olivier at woboq.com
Sat May 23 20:12:33 CEST 2015


On Saturday 23. May 2015 10:20:23 mark diener wrote:
> qrc:/main.qml:48: Error: Unknown method return type: MyQAbstractListModel*

You need to call somewhere 

qRegisterMetaType<MyQAbstractListModel*>();

Note: This is the mailing list for the developer _of_ Qt.  For question 
related to Qt usage, please post your question in the interest mailing list

-- 
Olivier 

Woboq - Qt services and support - http://woboq.com - http://code.woboq.org




More information about the Development mailing list