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>
| commit | 9e49375dfa9d982a10316058b2f934ea648b7977 |
| parent | 9681bc312baae0ea153cf6bf8c5950bcc45f4362 |
| author | Tatiana Borisova <tatiana.borisova@qt.io> |
| committer | Tatiana Borisova <tatiana.borisova@qt.io> |
| commit time | Fri, 9 Jan 2026 12:16:16 +0100 |
- M src/tools/qtprotoccommon/commontemplates.cpp
- M tests/auto/grpcgen/data/cmake_generated/protobuf_common/qtgrpc/tests/qtgrpcgen.qpb.h
- M tests/auto/grpcgen/data/cmake_generated/qml/qtgrpcgen.qpb.h
- M tests/auto/protobufgen/data/cmake_generated/copy_comments/annotation.qpb.h
- M tests/auto/protobufgen/data/cmake_generated/export_macro/qtprotobufgen.qpb.h
- M tests/auto/protobufgen/data/cmake_generated/extra_namespace/qtprotobufgen.qpb.h
- M tests/auto/protobufgen/data/cmake_generated/generate_package_subfolders/qt/protobuf/qtprotobufgen.qpb.h
- M tests/auto/protobufgen/data/cmake_generated/no_options/qtprotobufgen.qpb.h
- M tests/auto/protobufgen/data/cmake_generated/qml/qtprotobufgen.qpb.h
- M tests/auto/protobufgen/data/cmake_generated/qml_uri/qtprotobufgen.qpb.h
- M tests/auto/protobufgen/data/cmake_generated/static/qtprotobufgen.qpb.h
- M tests/auto/protobufgen/data/cmd_line_generated/copy_comments/annotation.qpb.h
- M tests/auto/protobufgen/data/cmd_line_generated/export_macro/qtprotobufgen.qpb.h
- M tests/auto/protobufgen/data/cmd_line_generated/export_macro_custom_file_name/qtprotobufgen.qpb.h
- M tests/auto/protobufgen/data/cmd_line_generated/export_macro_custom_file_name_force_generate/qtprotobufgen.qpb.h
- M tests/auto/protobufgen/data/cmd_line_generated/export_macro_custom_file_name_skip_generate/qtprotobufgen.qpb.h
- M tests/auto/protobufgen/data/cmd_line_generated/extra_namespace/qtprotobufgen.qpb.h
- M tests/auto/protobufgen/data/cmd_line_generated/generate_package_subfolders/qt/protobuf/qtprotobufgen.qpb.h
- M tests/auto/protobufgen/data/cmd_line_generated/no_options/qtprotobufgen.qpb.h
- M tests/auto/protobufgen/data/cmd_line_generated/qml/qtprotobufgen.qpb.h
- M tests/auto/protobufgen/data/cmd_line_generated/qml_uri/qtprotobufgen.qpb.h
- M tests/auto/protobufgen/data/cmd_line_generated/qml_uri_export_macro/qtprotobufgen.qpb.h
- M tests/auto/protobufgen/data/cmd_line_generated/qml_uri_export_macro_generate_package_subfolders/qt/protobuf/qtprotobufgen.qpb.h