这是一个创建于 2618 天前的主题,其中的信息可能已经有所发展或是发生改变。
Qt Designer 做好 UI 保存成 abc.ui
用 pyuic5-3.4 abc.ui -o abc.py 转换到 python3 脚本格式
用 pylupdate5-3.4 abc.py -o abc.ts 转换到 Qt Linguist 能直接用来翻译的 ts 文件
如果是写的 Python3 脚本(PyQt 业务程序),用 pylupdate5-3.4 的话转换出的 ts 文件( XML 格式)是空的。。
是命令行参数少了吗..