Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

[SOLVED] TypeError: Object has no method 'process'- BUT IT HAS

$
0
0
I have a problem with a C++ class I’ve exposed to the QML context. The object is wrongly recognized as a QAbstractListModel: TypeError: Object QAbstractListModel(0×28fdfc) has no method ‘process’ but in fact the type is TestModel and it only inherits QAbstractListModel. The method itself is declared as a Q_INVOKABLE, I even get autocomplete suggestion in QML, but it complains the method does not exist. Any ideas?

Viewing all articles
Browse latest Browse all 4972

Trending Articles