Konstantin,

There isn’t much more, really! 

DRCController is B
IController is A

This is the function where the connect is called (in a Cocoa file)

- (void)openWithAu:(AudioUnit)inAU andController:(IController*)controller
{
    _controller = controller;
    
    _controller->connect(_controller, &IController::grabFocus, [=]() {
    
    });
}

And the error is:

QObject::connect: signal not found in DRCController

That’s it! Nothing more! :(

Regards,

Nuno

> On 6 Nov 2017, at 10:15, Konstantin Shegunov <[email protected]> wrote:
> 
> 
> 
> On Mon, Nov 6, 2017 at 12:10 PM, Nuno Santos <[email protected] 
> <mailto:[email protected]>> 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?

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to