赞
踩
QSettings paras(fileName, QSettings::IniFormat); paras.setIniCodec(QTextCodec::codecForName("UTF-8")); //... QString name = paras.value(QString("names/name%1").arg(i+1)).toString();