To use the type T in queued signal and slot connections, qRegisterMetaType<T>() must be called before the first connection is established. See qRegisterMetaType() docs for more details.