Qt 之 打开pdf文件

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u013305101/article/details/80026110

QString strDoc = "D:/test.pdf";
QDesktopServices::openUrl(QUrl::fromLocalFile(strDoc));

猜你喜欢

转载自blog.csdn.net/u013305101/article/details/80026110