[PyQt] QSettings.value() returns string instead of bool
apaku at gmx.de
Sun Mar 6 12:49:16 GMT 2011
I'm using sip API v2 for QVariant here and using
QSettings.setValue/value does not work correctly for booleans. See the
attached two scripts. In write.py everything looks good, I can store and
get back a Python boolean. But running read.py which only reads from the
QSettings object always returns a string instead of a boolean value. It
almost looks like the wrong QSettings overload is being called...
My versions are:
Is this something thats fixed in newer PyQt4 versions maybe?
More information about the PyQt