QString strDoc = "D:/test.pdf";
QDesktopServices::openUrl(QUrl::fromLocalFile(strDoc));
Qt 之 打开pdf文件
最新推荐文章于 2024-05-27 11:55:00 发布
QString strDoc = "D:/test.pdf";
QDesktopServices::openUrl(QUrl::fromLocalFile(strDoc));