Hi,
I have a XML file which has the text for all the Widgets that i am using in my application.
I read this XML file at runtime and set the text for my widgets.

Now i want to create localization for these texts which are in that XML files.
lupdate doesn't recognize the texts used to create ts files for this case.

Literals String works fine like pushbutton->setText(tr("Hi"));

But something like pushbutton->setText(strText);
where strText is QString which contains the text from that XML file .
lupdate doesn't recognize for latter text to create ts file .

Any help would be appreciated.
Thanks .