Qt 4.6 behaves differently when "overloading" signals
Michael Jansen
kde at michael-jansen.biz
Sat Nov 7 17:19:44 GMT 2009
That warning and behaviour is about 5 or six years old. I asked thiago about
it some weeks before. You only see it now because it only appears in qt
developer builds which we only started to use when switching to the qt git
repo.
So i think the ... it worked with qt <4.6 may be unlikely. Are you really
sure?
Mike
On Saturday 07 November 2009 17:56:24 Dario Freddi wrote:
> Hello list,
>
> I'm writing about a problem I've run into running Qt 4.6. PolkitQt::Action
> inherits from QAction, and redefines the "activated()" signal of it, so
> that it gets streamed when the action is also authorized. This used to
> work fine with Qt < 4.6, but with Qt 4.6 I get this warning line:
>
> Warning: QMetaObject::indexOfSignal:PolkitQt::Action: Conflict with
> QAction::activated()
>
> And my application catching the signals actually catches
> QAction::activated(). I found out about this behavior also in KDE
> Partition Manager and I fear some more apps might actually be hurted by
> this.
>
> Any thoughts from trolls? Is this an intended change? I quite don't like
> the idea to change the name of the signal to make everything work again.
>
More information about the kde-core-devel
mailing list