could you try putting the header guard before #include <QObject>
could you try putting the header guard before #include <QObject>
Thanks for the reply.
I tried, but no luck...
It has to be something else I guess.
What's QViewerList? There may be the problem while casting to a QObject for the ctor of the base class. And better put the #include* inside the def.
EDIT: And it is confusing if you are naming your own classes like Qt. So you might want choose another letter to start you class names.
can you post the .pro file contents ?
Bookmarks