Use QTest::ignoreMessage in tst_qsvgplugin


checkImageInclude installs a message handler and stores the messages
in a QStringList. Currently, the test fails if more messages were
reported during parsing stage even if they are unrelated to this test.
Replace that with QTest::ignoreMessage as it provides more information
if an unexpected message was reported.

Pick-to: 6.11
Change-Id: Iec689b658472967e42c462cc7784ad7be5c9c36d
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
commit8b15b5155cbc64ed427326cb3b7f9fb4d6c59531
parent1d38f92eb77980da67c822f8306a53fd76b306dd
authorHatem ElKharashy <hatem.elkharashy@qt.io>
committerHatem ElKharashy <hatem.elkharashy@qt.io>
commit timeThu, 28 May 2026 08:29:51 +0000