Add tests for the mesh reader


qssgmesh.cpp parses a format with no tests at all, so this adds a suite
before touching it. MeshBuilder assembles containers byte by byte from
the format description rather than by mirroring the reader, which is
what lets it catch a wrong reading of the format.

Covered: a built mesh compared field by field for every version, the
subset record growing twice between versions 3 and 6, entry names of
every length modulo four, the index component types, multi mesh
containers, and save() and loadMesh() round trips.

Also adds a libFuzzer target and the data/fuzz directory the suite picks
findings up from.

Change-Id: I5ac616c22e1e3fdaa822c91a2e84c127d8a6a6da
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
commit75f7f572357734232a63f2c6a7c3914efdf6401e
parent9e28f6039f052129bcdd9d27ee44054a6224b5a2
authorAndy Nichols <andy.nichols@qt.io>
committerAndy Nichols <andy.nichols@qt.io>
commit timeFri, 4 Sep 2026 07:53:11 +0000