同Qt 4不同,需要使用函数QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)。
其他常用的还有:QStandardPaths::TempLocation, QStandardPaths::CacheLocation 等。
同Qt 4不同,需要使用函数QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)。
其他常用的还有:QStandardPaths::TempLocation, QStandardPaths::CacheLocation 等。