Is there a way to make QSettings generated ini files read only?

249 Views Asked by At

This is more of a conceptual question than a coding question. I was wondering if there is a way to make an ini file generated by QSettings read-only? I want to limit the user’s ability to edit the contents of an ini file and then import incorrect configuration values. I'm writing my program in PyQt6 and I couldn’t find any read-only functions on the QSettings documentation website, so this is a shot in the dark.

Thanks ahead of time.

0

There are 0 best solutions below