I have linux ubuntu 12.04 with Qt 4.8.1 (latest from repository)
and windows xp sp3 with Qt 4.8.1 (Qt SDK 1.21 mingw)
and a aplication that i mainly develop on linux and when time comes, just compile windows version.
With some "advanced" changes in the code i am not able to compile my code on windows
1. The compile fails with error: "Undefined interface"
and when i rearange my code to comment lines with Q_INTERFACES macro it compiles fine.
Nothing wrong on linux
2. I created a model extending QAbstractItemModel that also works on linux, but when application is started on windows i get error:
ASSERT failure in QAbstractItemView::setModel: "A model should return the exact same index (including its internal id/pointer) when asked for it twice in a row.", file itemviews/qabstractitemview.cpp, line 667
I dont think i am doing anything wrong if it works on linux, or am I?
Bookmarks