[Development] Not delivering signals to slots in class sub-objects already destroyed

Thiago Macieira thiago.macieira at intel.com
Thu Sep 4 23:41:14 CEST 2025


On Tuesday, 2 September 2025 22:18:54 Pacific Daylight Time Thiago Macieira 
wrote:
> a) should this functionality be provided at all?
> b) should it be provided by default for PMFs? [*]
> c) if it's provided for PMFs, should they be allowed to opt out?
> d) should it be provided by default for callbacks other than PMFs?
> e) if there's a flag to opt in or out, what do we call the
> Qt::XxxConnection?

Still need a discussion on the above, with the default-for-PMF maybe depending 
on an analysis of the overhead.

Right now, I'm leaning towards:
a) yes
b) yes
c) no
d) no
e) probably Qt::ReceiverMetaObjectBoundConnection to opt-in

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel Platform Engineering Group
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5150 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20250904/e48aedd6/attachment.bin>


More information about the Development mailing list