auto desktopPath = QStandardPaths::standardLocations(QStandardPaths::DesktopLocation);
auto cacheDesktopPath = QStandardPaths::standardLocations(QStandardPaths::TempLocation);//缓存地址
QString path = QFileDialog::getOpenFileName(nullptr, u8"choosepic", desktopPath.front(), u8"picture(*.png *.apng *.jpg *.jpeg)");
QPixmap pixmap_ = path; //C:\Users\name\Pictures\微信图片_20200903212716.jpg
auto fileName = QString("%1/%2.png").arg(cacheDesktopPath[0]).arg(QUuid::createUuid().toString(QUuid::WithoutBraces));
if (pixmap_.save(fileName))
{
);