[PyQt] Sip usage problem
jpolk5001 at yahoo.com
Wed Dec 1 22:45:44 GMT 2010
I read the Wikipedia page that explains what SIP is and does,
though I can't say I understood everything it explained ;-)
I'm getting a SIP usage error and I was hoping someone here
could help me understand the phenomena...
In my program (which borrows heavily from the BasicSortFilter
example) near the top, I have the line
My limited understanding is that this is doing some kind of
type mapping,...or type casting (pardon the pun)...
Apparently, this statement has bearing on the "filterRegExpChanged"
Now the code I'm writing gets import into Maya, which as probably
many know, is now fully Python/Qt/PyQt compliant (well sorta', lol)
So when I launch my script, I get an error which I'm assuming
indicates that somewhere during Maya's own launch, it does a
...but that's speculation....Maya's error message is:
# Error: API 'QVariant' has already been set to version 1
Now, I've kinda' found a hack around this to get it to actually work
in Maya, but I'm worried I might be adversely affecting other PyQt
scripts,etc...and I'd to understand what's going on more...
I'd be very grateful if someone could explain what this little statement
is doing behind the scenes...
Thank you very much,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt