Hello everyone,
We used QSettings to handle the config file of our program. Works great, but now the config file should lie on a smb share with multiple clients accessing it. This crashes, because the locking of QSettings doesn't seem to work and sometimes the config file is messed up.
We already found QSettingsl#registerFormat an tought about writing a own function, that creates a lock(file) and than uses the orignal write function to write the file, but that does not work, because we can't access the orignal write function. Locking from outside QSettings seems not to work either, because its not predictable when the QSettings is saved.
Has anyone a good idea how to get around this problem?
Bookmarks