Re: [Interest] error connecting signals

2013-05-07 Thread Adrian Stern
I moved the slot to PlayerBase and it compiles and runs now. I don’t really understand why. Hi I have a little problem connecting a signal to a slot. I’ve the following two classes: DisplayManager which extends QObjects and of course has the Q_OBJECT macro in it and VideoPlayer which

Re: [Interest] error connecting signals

2013-05-07 Thread Giuseppe D'Angelo
Hi, please keep the discussion on the list. On 7 May 2013 14:08, Adrian Stern adrian.st...@screenfood.com wrote: It was in the VideoPlayer whil it wasn't working. Now that it is in PlayerBase it is working. Why? Because, as you said, VideoPlayer was lacking the Q_OBJECT macro. Rule of

Re: [Interest] error connecting signals

2013-05-07 Thread Adrian Stern
: Giuseppe D'Angelo [mailto:dange...@gmail.com] Sent: 07 May 2013 14:46 To: Adrian Stern; interest@qt-project.org Subject: Re: [Interest] error connecting signals Hi, please keep the discussion on the list. On 7 May 2013 14:08, Adrian Stern adrian.st...@screenfood.com wrote

Re: [Interest] error connecting signals

2013-05-07 Thread Thiago Macieira
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