02-18-2014 07:34 AM
I have QListDataModel filled with objects of a custom class carying the data and defined with Q_DECLARE_METATYPE. So far it works however I can't access the data in qml:
e.g. text: ListItemData.Name
I have read this can be solved by letting QML know about your custom class/type but how to do this?
Solved! Go to Solution.
02-18-2014 07:39 AM
qmlRegisterType<Account>("com.isec7.materials", 1, 0, "Account");