天天看點

Qt: 擷取程式目前運作目錄

Qt程式,讀取目前目錄下的某個檔案。

QString currPath = QCoreApplication::applicationDirPath() + "/config.json";