On terça-feira, 7 de maio de 2013 12.52.39, Adrian Stern wrote:
> I don't understand exactly. But when i put the Q_Object macro in
> VideoPlayer, I ghet the errors: ...Debug/moc_videoplayer.cpp:70:
> Fehler:'QObject' is an ambiguous base of 'VideoPlayer'
>
> Shouldn't VideoPlayer inherit this macro from PlayerBase since it is a
> derived class?
>
> class VideoPlayer : public PlayerBase, public IControllable, public
> IPlaceable

It should.

Check IControllable and IPlaceable. One or both of those classes also derives
from QObject. You need to remove that inheritance.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to