My coworker wants to confirm this with Qt Support, but it looks like he found a solution.
For anyone else who has this problem, I'll explain as best I can his answer.
Between Qt 3 and Qt 4, the Q_OBJECT macro underwent some changes. In Qt 3, the macro made a static struct in a private section, then made accessor and modifier functions.
In Qt 4, there's now a static const struct in the public section. Don't ask me how exactly that creates errors, but here's the short version:
In Qt 3, it was perfectly valid to have a class with the Q_OBJECT macro, and then have a child class that also has Q_OBJECT. In Qt 4, it is not. So just remove Q_OBJECT from the child class and it will still work.
Bookmarks