Fix Q_FLAGS deprecation warning


A Q_FLAGS macro has managed to get in with the QML render pass API and
now triggering warnings, which fails if building with warnings are
errors. Macro replaced with the recommended Q_FLAG macro.

This amends 37e0d9d7519659dbeb2c2c1d555e067b7547f237

Pick-to: 6.12 6.11
Change-Id: I4ad3c36a89dee038b291604a106db37e03474750
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
commit38f59ae1bb55d3685594a1c229cb0909486bafa9
parentf83f8268b8b8415fb8b000c4f443e3959d95c0db
authorChristian Strømme <christian.stromme@qt.io>
committerChristian Strømme <christian.stromme@qt.io>
commit timeMon, 3 Aug 2026 15:54:33 +0000