同Qt 4不同,需要使用函数QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)。
其他常用的还有:QStandardPaths::TempLocation, QStandardPaths::CacheLocation 等。
本文详细介绍了在Qt开发中使用QStandardPaths类进行文件存储路径管理的方法,包括AppDataLocation、TempLocation和CacheLocation等常用属性的应用场景。
同Qt 4不同,需要使用函数QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)。
其他常用的还有:QStandardPaths::TempLocation, QStandardPaths::CacheLocation 等。
1442
6150
584
981
1109
2268
3800

被折叠的 条评论
为什么被折叠?