Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
5.5.0, 5.10
-
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
- is duplicated by
-
QTBUG-56362 TestCase: add support for ignoreWarning() that ignores the line/column numbers
- Closed