[Interest] Qt basics - QObject::connect: signal not found

Konstantin Shegunov kshegunov at gmail.com
Mon Nov 6 11:15:41 CET 2017


On Mon, Nov 6, 2017 at 12:10 PM, Nuno Santos <nunosantos at imaginando.pt>
wrote:

> Hi,
>

Hi!


> I have a class B that extends A.
> I’m passing a pointer of B casted to A to another C, and inside C I call:
>

You don't need to cast `B *` to `A *`, B is already A and is casted
implicitly (and safely) by the compiler.

I’m getting "signal not found in B” error
>

Could you attach the whole error (the one from the failed assertion), it
should contain the the template arguments resolution?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20171106/f45da8d9/attachment.html>


More information about the Interest mailing list