Pass object pointer throught c++ dataModel
Hi,
I’m writting a C++ dataModel. I follow the documentation provided, so derived from QAbstractListModel. I defiend some role, one of them must be a pointer to a register type. But by passing throught the Qvariant, the QML side lose the type and it never recognise the true type. Did you have a solution or an idea ?Thanks
5 replies
Hello,
Did you read this article article [cdumez.blogspot.fr] ?
It was very helpfull for me!
You must log in to post a reply. Not a member yet? Register here!
