Well, that's not the way Qt's translation system is meant to be used...
But if you want to do it that way you could write a function (or implement a class/struct holding all strings) that initializes all your string variables after loading the translations in main()
- of course this would result in even more code :D