Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a C++ cross platform key/value API or library for C++?

We want to persist some user settings int he GUI part of our code. I used to do Win32 programming exclusively and the typical way this was done was with registry settings.

I assume that this should be done with configuration files, but was wondering if there was a library or cross platform wrapper that made key/value pair persistence very easy.

like image 880
Tim Avatar asked Nov 28 '22 19:11

Tim


1 Answers

Qt's QSettings class handles this:

http://doc.qt.nokia.com/4.6/qsettings.html

like image 199
Pieter Avatar answered Dec 05 '22 19:12

Pieter