QSettings - where is the location of the ini file?

前端 未结 9 2183
悲哀的现实
悲哀的现实 2021-02-03 21:45

I\'m using QSettings to store some data as ini file in Windows. I want to see the ini file, but I don\'t know what is the location of the ini file.

This is

9条回答
  •  心在旅途
    2021-02-03 22:15

    QSettings save location changes to the QSettings.Scope enum. QSettings save to the Local scope by default. On Linux, I found my local settings in:

    ~/.config/CompanyName/ApplicationName.conf

提交回复
热议问题