Qt 6.11 is out! See what's new in the release
blog
[SOLVED] TypeError: Object has no method 'process' - BUT IT HAS
QML and Qt Quick
3
Posts
2
Posters
1.5k
Views
1
Watching
-
I have a problem with a C++ class I've exposed to the QML context.
The object is wrongly recognized as a QAbstractListModel:
bq. TypeError: Object QAbstractListModel(0x28fdfc) 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?