QT有一个功能:
QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)
但是,输出是:
C:/Users/BBCCA/AppData/Roaming/%APPNAME%
我需要:
C:/Users/BBCCA/AppData/Roaming
如何正确地做到这一点?
QT有一个功能:
QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)
但是,输出是:
C:/Users/BBCCA/AppData/Roaming/%APPNAME%
我需要:
C:/Users/BBCCA/AppData/Roaming
如何正确地做到这一点?
到目前为止,我已经从选项中找到了类似的拐杖:
其中 -
%APPNAME%
- 您的应用程序的名称