[Qt-interest] Localization of plugins
R. Reucher
rene.reucher at batcom-it.net
Mon Nov 2 13:12:26 CET 2009
On Mon, 02 Nov 2009 12:00:21 +0000, Anatoly Burakov wrote:
> OK, looks like i confused QApplication::installTranslator with
> QTranslator::load()... Now here's another question - since i plan to
> embed translations into plugins' resources, is there any way to load
> them from there? or should i leave them out of the plugin files to be
> able to use them?
I haven't tried this with plugins yet, but I see no reason why you
shouldn't load them within the plugin itself (provided the qApp object is
exposed to the plugin).
You should remove (and delete) the translator in a plugin's cleanup
routine...
Good luck, René
--
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/
More information about the Qt-interest-old
mailing list