Qt url中获取文件名

QString filename = reply->rawHeader("Content-Disposition");
filename = filename.mid(QString("filename=").size());
qDebug() << filename;

1

posted @ 2018-08-22 16:36  thomas_blog  阅读(594)  评论(0编辑  收藏  举报