path=QDir::toNativeSeparators(path);//斜杠转反斜杠 / -> \
path=QDir::fromNativeSeparators(path);//反斜杠转斜杠 \ -> /