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

Add ignoreWarning that takes a RegExp

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 5.12.0 Alpha
    • 5.5.0, 5.10
    • Testing: QuickTest
    • None
    • f257be627cc9de4fdec430e2fe8f6ac3b6827070

    Description

      Like ignoreMessage(QtMsgType type, const QRegularExpression & messagePattern) but for QML.

      I would like to provide warning messages that are as specific as possible, but the problem with this is that it makes testing impossible, because if you print out QObject pointers (for example), memory addresses will be part of the output, which breaks the ignoreWarning() call. A RegExp would solve this issue.

      Attachments

        Issue Links

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

          Activity

            People

              w00t Robin Burchell
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes