Qt QSettings写入时无效

1、将QSettings这段代码写在由大括号括起来的代码段中;

2、在写完后调用QSettings的函数settings.sync();

posted @ 2022-03-07 17:04  远方是什么样子  阅读(527)  评论(0编辑  收藏  举报