QtQml: Have Binding check for folded enums
We can now fold enum values into the compilation unit with qmlcachegen.
Account for this case when resolving them using QQmlBind.
Amends commit f6a87112b6cb9713e3903a04a968645817633adf.
Pick-to: 6.12 6.8
Fixes: QTBUG-151092
Change-Id: I1681e1dd00026f65615d9fbcda6114edff3843b2
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
| commit | e25cd8a7ba956170a6cb14f545d63b33e9319ae4 |
| parent | 78ee881e6f038f7cc03051b764f072f5eac260cd |
| author | Ulf Hermann <ulf.hermann@qt.io> |
| committer | Ulf Hermann <ulf.hermann@qt.io> |
| commit time | Wed, 7 Oct 2026 17:50:24 +0000 |