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:

connect(BPointerCastedToA, &A::signal, [=]() { // do something });

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

I have similar situations in which this scenario works (B extends A and I 
connect B to signals of A). I can’t understand why is not working. 

What am I missing? 

Thanks!

Regards,

Nuno


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to