I use the Q_ENUM
macro in my code, and then I use the associated QMetaEnum
to populate a QComboBox
.
Is there any "standard" way to manage the translation of the Q_ENUM
keys (retrieved with QMetaEnum::key()
method)?
I didn't find anything in the Qt's documentation, and the main problem is to automatically add translations keys in the *.ts files for all keys of the Q_ENUM
.
Thanks