qt - Translating a Q_ENUM keys -


i use q_enum macro in code, , use associated qmetaenum populate qcombobox.

is there "standard" way manage translation of q_enum keys (retrieved qmetaenum::key() method)?

i didn't find in qt's documentation, , main problem automatically add translations keys in *.ts files keys of q_enum.

thanks

you have provide translation keys yourself, series of qt_tr_noop() expansions, lupdate pick them up.

if that's onerous, write small program generate suitable input file lupdate meta-object.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -