Going further with QML compiler, we need a way to figure out how to directly call property functions, without involving the meta object system.
Consider an example:
In QML compiler, property setting would be translated into something like:
However, in this case we rely on the meta object system to figure out the setter of the property.
Likely, the direct call is much faster, so having
would give better performance, practically allowing the auto-generated code to be as good as human-generated one in certain cases.
For now, looks like only setters are interesting (and signals?).
|For Gerrit Dashboard: QTBUG-90711|
|331986,3||Expose getter and setter names of C++ classes in qmltypes files||dev||qt/qtdeclarative||Status: MERGED||+2||0|