If you're using gcc that's most likely because you implemented two classes that have the Q_OBJECT macro in the same file.

This is like the third time a user reports this error on this forum. I'll have to look into it and maybe find a solution.

In the mean time you can create separate cpp files for the two classes and it should work.