[PyQt] QSettings error on Windows
Hans-Peter Jansen
hpj at urpla.net
Sat Nov 14 20:07:05 GMT 2009
On Saturday 14 November 2009, 19:35:28 Scott Frankel wrote:
> Hi,
>
> I've put together a simple test app that demonstrates the problem I'm
> having with QSettings.value() INT arguments on Windows.
>
> An invalid argument type error causes the app to crash on startup.
> Line 37 of the attached file is the culprit. The line works without
> issue on OSX. Do I need to wrap the integer setting value in a string
> to work around the invalid type error? What's common practice for
> wrestling with integer Windows preference settings?
This has nothing to do with Windows as a platform, it's rather an sip/PyQt
version issue concerning QVariants (I guess).
Show us your versions, and the exact error.
Pete
More information about the PyQt
mailing list