字符串多国语言的显示 需求: 实现: 1. 创建语言文件 2. 更新语言文件(lupdate) 3. 编辑翻译文件(linguist) 4. 部署翻译文件(lrelease) 5. 加载翻译文件 效果图: 注意事项: 需求: 想要用多国语言实现字符串“helloworld”的显示 //待翻译的字符串“helloworld” QPainter painter; painter.begin(this); QPen pen; pen.setColor(Qt::red); painter.