Make a queued connection independent of the qt version