[Interest] SLOT is not triggered by SIGNAL (trying to tee SIGNALS)

Thiago Macieira thiago.macieira at intel.com
Fri Oct 24 01:06:01 CEST 2014


On Thursday 23 October 2014 23:51:20 Tamás Nagy wrote:
> // what does not work:
> A.connect(&B, SIGNAL(mysignal(MyList)), SLOT(myspecialslot(MyList)));
> // myspecialslot is not called.

Çheck if:

1) the connect call succeeded
2) the signal really did get emitted (put a breakpoint in the emit line and 
ensure it gets hit)
3) the sender (B) did not get deleted
4) the receiver (A) did not get deleted
5) the receiver thread's event loop is running (AThread)
6) there were no warnings at runtime (I'm thinking of the warning about "don't 
know how to copy MyList")

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list