JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

QSettings 蛋疼的General group

发布时间 2023-07-17 21:08:13作者: i元亨利贞

General组是QSetting默认的group,如果你的conf/ini文件中使用了该组,请不要指定组名访问key

如果要使用这个组名,请务必在前面加百分号%

 

[General]
device=siware_1

[%General]
xyz=abcd

读出的结果

("General/xyz", "Server/baseUrl", "Server/modelIdxAddr", "device",

 

注意,device前面没有group名字

 

    本栏目推荐文章
  • seata 1.8.0 can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
  • 020 数据库学习笔记--group by
  • mysql中的utf8mb4、utf8mb4_unicode_ci、utf8mb4_general_ci
  • MySql版本问题sql_mode=only_full_group_by的完美解决方案
  • 字段 "table1.xxx" 必须出现在 GROUP BY 子句中或者在聚合函数中使用
  • Kafka消费端抛出异常Offset commit cannot be completed since the consumer is not part of an active group for auto partition assignment; it is likely that the consumer was kicked out of the group的解决方案
  • Qt本地存储QSettings
  • SLS的分类统计GROUP BY
  • CF1916F Group Division记录
  • CodeForces 1916F Group Division
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们