Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-1445

Clarify documentation for qRegisterMetaType()

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future release
    • 4.3.3
    • Core: Threads
    • None

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            docteam Qt Documentation Team
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes