Qt - How to save a configuration file on multiple platforms

前端 未结 4 939
一生所求
一生所求 2021-01-20 15:35

I\'m writing a Qt application that needs to save some settings to the user\'s configuration directory.

I\'ve come up with the following code to get this folder:

4条回答
  •  孤城傲影
    2021-01-20 16:14

    Depends on the settings you want to record, but I would suggest to use QSettings.

提交回复
热议问题