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

Update outdated QThread docs to reflect current best practices

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.4.3, 4.5.3, 4.6.3, 4.7.4, 4.8.2, 5.0.0 Beta 1
    • Documentation
    • None

      The docs suggest subclassing QThread. That used to be the only way to use QThread, but QThread's implementation changed significantly in Qt 4.4. Now, there's another way to use QThreads (see doc note in http://qt-project.org/doc/qt-5.0/qthread.html), which should be highlighted.

      The developer responsible for QThread's evolution was going to update the docs (http://labs.qt.nokia.com/2010/06/17/youre-doing-it-wrong/#comment-7688), but it hasn't happened yet so I'm formally opening a ticket.

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

            docteam Qt Documentation Team
            jksh Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes