Add FINAL to generated properties


- we may add FINAL to the generated properties, since
it enables optimizations by the QML compiler.
Note, at the same time
the presence of the FINAL attribute indicates that the property
will not be overridden by a derived class.

Task-number: QTBUG-142761
Pick-to: 6.11 6.10
Change-Id: I6402f107fc0abdbe11d4e8127f89337fcc2d3eef
Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
commit9e49375dfa9d982a10316058b2f934ea648b7977
parent9681bc312baae0ea153cf6bf8c5950bcc45f4362
authorTatiana Borisova <tatiana.borisova@qt.io>
committerTatiana Borisova <tatiana.borisova@qt.io>
commit timeFri, 9 Jan 2026 12:16:16 +0100