PyQt6: QSettings: missing NativeFormat

Gottfried Müller gottfried.mueller at gmx.de
Mon Mar 14 08:37:47 GMT 2022


Hello,

I've got the following error message:

from PyQt6.QtCore import QSettings
s = QSettings("/tmp/x.conf", QSettings.NativeFormat)
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
AttributeError: type object 'QSettings' has no attribute 'NativeFormat'

Gottfried



More information about the PyQt mailing list