[Interest] Problem about signals/slots in Qt 5

André Somers andre at familiesomers.nl
Tue Sep 18 14:33:54 CEST 2012

Op 18-9-2012 14:21, Stephen Chu schreef:
> I like this new syntax much better since it finds signal/slot mismatches
> at compile time. I used to miss the connection mismatch messages in the
> sea of my REALLY chatty logs. And pulling my hairs wondering why
> something doesn't work. :)
We have our own simple connect wrapper method, that asserts on a failed 
connect. It's not as good as compile-time checking, but better than 
having to trace the output chatter to hunt for a connect statement. All 
the method does is check the return value of connect and asserting on that.


More information about the Interest mailing list