怎么用QT获取Windows系统路径

2024-11-23 13:10:13
推荐回答(1个)
回答(1):

QDesktopServices::storageLocation(QDesktopServices::DesktopLocation)
QDesktopServices::storageLocation(QDesktopServices::DocumentsLocation)
QDesktopServices::storageLocation(QDesktopServices::HomeLocation)
QDesktopServices::storageLocation(QDesktopServices::ApplicationsLocation)
QDesktopServices::storageLocation(QDesktopServices::TempLocation)