PDA

View Full Version : Qt Linguist *.qm doesn't work?



radmir
21st May 2014, 05:41
Hi, all,

I tried to translate my Qt program onto Russian.
Step by step I had managed with all items in *.ts file.
Periodically I've checked if it works - all was OK!
At last I got finished, but something happened. The file *.qm has successfully loaded, but QTranslator only shows English interface...

What have you to say? What happenes?

Sincerely,
Radmir

radmir
21st May 2014, 08:42
Hi, All!

The failure found. I tried to do MyQtranslator.load in main(), but declared MyQtranslator in stack,
so it didn't seem from Mainwindow...
Just moved it in DGroup and all start to work.
The question is closed.

Thanks,
Radmir