[Interest] error connecting signals
Thiago Macieira
thiago.macieira at intel.com
Tue May 7 17:32:33 CEST 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130507/14ca6a0b/attachment.sig>
More information about the Interest
mailing list