Use QSettings to handle user configuration.