Revert "Revert "Add Qt destruction signal debugging helper""

This reverts commit 1116da62653b44935b77098dd46be688c895dafa.
correct implementation of previous reverted revert to allow the original intention