// 检查并创建目录
void CheckAndCreateDirectory(QString sPath)
{
qDebug()<<sPath;
QDir dir(sPath);
if (!dir.exists()) {
dir.mkpath(".");
}
}
// 检查并创建目录
void CheckAndCreateDirectory(QString sPath)
{
qDebug()<<sPath;
QDir dir(sPath);
if (!dir.exists()) {
dir.mkpath(".");
}
}