The first one is with Q_INTERFACES. That should realy be platform independant.
I comment it out just to see is that the only problem, and it isn't.
I plan to fix it (with help from here), not to leave it commented (i spent some time to create the interface)
The other problem, you are right about one thing, i should not skip to next problem before solving first one.
Anyway, that code has nothing in common with interface, and should also be platform independant.
The thing that worries me is that it doesnt feel like "code once, deploy everywhere",
For the QAbstractModel part, i went to qt source of QAbstractTableModel, and checked implementation, and fixed my own. The question remains, why there isn't ASSERT in linux if it was "something wrong"
For the Q_INTERFACE part still need help, anyone had simmilar problem, or i am one of few trying to use Q_INTERFACE?




Reply With Quote

Bookmarks