[PyQt] PyQt5 QSettings return differents value type

Shyne shyne69 at gmail.com
Thu Nov 7 16:58:26 GMT 2019


Hello,

I have a strange problem with QSettings with a qml application :

I store switchs states in a setting file. From python side when I get the
initial value that give me a string ("true" or "false").
Ok why not.

But after that, when I change the state of the switch QSettings return
always a bool??!

Does anyone know why the first request return a string?

Thanks.




--
Sent from: http://python.6.x6.nabble.com/PyQt-f1792048.html


More information about the PyQt mailing list