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

Documentation: QtMessageHandler function signature is incorrect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.0.1
    • Component/s: Core: Other, Documentation
    • Labels:
      None
    • Commits:
      f0c8e63e5bbd5d5265478a8740cc7f0d587bfdb9

      Description

      According to the documentation function signature for typedef QtMessageHandler is
      void myMessageHandler(QtMsgType, const QMessageLogContext &, const char *);
      But in fact it is
      void myMessageHandler(QtMsgType, const QMessageLogContext &, const QString &);
      See http://doc-snapshot.qt-project.org/5.0/qtcore/qtglobal.html#QtMessageHandler-typedef and http://qt.gitorious.org/qt/qtbase/blobs/stable/src/corelib/global/qlogging.h#line169

        Attachments

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

          Activity

            People

            Assignee:
            kkohne Kai Köhne
            Reporter:
            bdma Dmitry Bartsevich
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes