QT获取系统桌面路径

QString desktopPath = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);
qDebug()<< "desktopPath:" << desktopPath;

猜你喜欢

转载自blog.csdn.net/qq_37988830/article/details/87899332