Include render flags on engine side cached path check


At least to complete the logic on the the QCPainterEngine
side. Changing Antialiasing or DisableWindingEnforce do heavily
affect the paths. So take all the renderFlags as an int and compare
it like we do for the line width, antialiasing level, line cap/join,
etc.

This does not fix the bigger problems on the Renderer side, when
it comes to cached paths.

Pick-to: 6.11
Change-Id: I9c0470cdb6d38bf6b6e965e8b45393666716bdef
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
commit404f6fe1706f96adeb0239f6b0c0ed8764cca119
parent3cc9ffb07f3a2f129343ad719666dc1cd51801a6
authorLaszlo Agocs <laszlo.agocs@qt.io>
committerLaszlo Agocs <laszlo.agocs@qt.io>
commit timeThu, 19 Mar 2026 10:27:42 +0100