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

Documentation: QtMessageHandler function signature is incorrect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.1
    • 5.0.0
    • Core: Other, Documentation
    • None
    • 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

            kkohne Kai Köhne
            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