QString file =  QFileDialog::getSaveFileName(this, "保存文件", defaultName, "Pdf(*.pdf)");
QString url = QString("file:///%1").arg(file);
QDesktopServices::openUrl(QUrl(url, QUrl::TolerantMode));