You can use QSettings or a simple data stream.