Maybe this helps: QtCentreWiki - Dynamic translation (notice that there's also an example there).