[PyQt] how to make a proper sip files for a module
Phil Thompson
phil at riverbankcomputing.co.uk
Sun Dec 2 11:59:50 GMT 2007
On Sunday 02 December 2007, SHY wrote:
> hello,
>
> i have two cpp classes ported in two .sip files that id like to get into
> one python module so that id be able to call it like this:
>
> from module import class1, class2 etc.
>
> somehow i cant figure out what i am missing here. i tried to follow sip
> files for pyqt and qscintilla but no luck.
> other than having sip files written in a special way, do i need to use any
> specific params for the sip command upon generating the cpp files and the
> makefile?
No. If you are using multiple files then make sure the file you are passing to
sip %Include's all the other files.
Phil
More information about the PyQt
mailing list