When we call qmlengine->retranslate() for a dynamic language translation, void QQmlContextData::refreshExpressions() in qqmlcontext.cpp will be called and re-evaluate (refresh) including "all" expressions regardless of language change.
Although we can use trick such as https://wiki.qt.io/How_to_do_dynamic_translation_in_QML without qmlengine->retranslate() but it's not a general way.
In particular, in a customer's specific environment, dozens of applications are simultaneously executed, so performance concerns are high.
So I want to know if there are any plans for performance improvement.
|For Gerrit Dashboard: QTBUG-96192|
|374316,1||WIP: fine grained translation binding tracking||dev||qt/qtdeclarative||Status: ABANDONED||-2||0|
|375491,8||QQmlEngine: Fine grained translation binding tracking||dev||qt/qtdeclarative||Status: MERGED||+2||0|
|375933,3||QQmlEngine: Fine grained translation binding tracking||6.2||qt/qtdeclarative||Status: MERGED||+2||0|