[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: PyQt6: QSettings: missing NativeFormat
From:       Gottfried_Müller <gottfried.mueller () gmx ! de>
Date:       2022-03-15 9:45:46
Message-ID: 81d290a5-3147-da23-77be-93b3618acc14 () gmx ! de
[Download RAW message or body]

Thank you Phil,

Gottfried

Am 14.03.22 um 10:01 schrieb Phil Thompson:
> On 14/03/2022 08:37, Gottfried Müller wrote:
>> 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
>
> QSettings.Format.NativeFormat
>
> Phil

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic