Details
-
Suggestion
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.3.3
-
None
Description
When creating queued connections with custom types as arguments then it is necessary to pass along a const reference of the custom object or pass it along by value, otherwise it will not be possible to make a copy of the object and the object cannot be safely delivered to another thread. This should be documented under qRegisterMetaType() to ensure only const references or value types are registered in such cases.