#include <QFileDialog>#pragma execution_character_set("utf-8")
QString path = QFileDialog::getOpenFileName(this, tr("选择文件"), ".", tr("s3c文件(*.s3c);;全部文件(*.*)"));
std::string s = path.toLocal8Bit();