函数内添加 qin.setEncoding(QStringConverter::System); qout.setEncoding(QStringConverter::System); 不能在函数外全局声明,会报错