use QCoreApplication to make the translation works.