I\'m having a problem with QT regarding multiple enheritance because of QObject. I know that a lot of others have the same problems but I don\'t know how I should fix it.
Use virtual inheritence, e.g.
class X : public virtual Y { }; class Z : public virtual Y { }; class A : public virtual X, public virtual Z { };
will only have one copy of the base class Y