[PyQt] sip fails with "[CLASSNAME] has not been defined"
tuxor1337 at web.de
tuxor1337 at web.de
Tue May 1 22:38:42 BST 2012
You are right, that's indeed a rather obvious option. Thanks again for
your patience :)
> You use SIP to describe the bindings you want to create - this is not
> necessarily the same as the API of the underlying library. In other words
> you don't teach SIP to cut off the "ui" from the namespace, just don't tell
> it about it in the first place. The issue then is to make sure that the
> generated code compiles - probably by including appropriate "using"
> statements in the right places. Take a look at the use of the
> %UnitPostIncludeCode directive in the PyQtMobility bindings.
>
> Phil
>
More information about the PyQt
mailing list