Qt - QT读写ini配置文件 头文件: #include <QSettings> ini文件内容示例: [MyTest] text1=25 text2=40 text3=1 Qt写ini配置文件: QSettings settings("Option.ini",QSettings