Priority: P2: Important
Affects Version/s: 5.15, 6.1.0
Commits:d4039298e710b6b79c018589bcc2145e22e1d5aa (qt/qtdeclarative/dev) f51231164e7074bfcd4deea31e82428b31483e53 (qt/qtdeclarative/6.2)
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|