Phenominal. I think I got it to almost work...

Now the issue seems to be that it insists on calling the module 'sample'

link /NOLOGO /DLL /SUBSYSTEM:WINDOWS /INCREMENTAL:NO /OUT:sample.pyd
@C:\DOCUME~1\jason\LOCALS~1\Temp\nm48B5.tmp
   Creating library sample.lib and object sample.exp mt -nologo -manifest
sample.pyd.manifest -outputresource:sample.pyd;2

Where can I change this to be what it actually is?

-----Original Message-----
From: Phil Thompson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 10:41 AM
To: [email protected]; [EMAIL PROTECTED]
Subject: Re: [PyQt] Sip: How to properly include from other files?

On Thursday 17 May 2007 3:15 pm, Jason Hihn wrote:
> I have a class I am trying to wrap, aaa, it is derived from bbb. Bbb has
> its own .h and .sip files. How do I properly get bbb into aaa's sip file
so
> that it is defined? I tried a %include, but then it errors on line 1 of
> bbb.h, because it is #ifndef .

In aaa.sip have...

%Include bbb.sip

However the normal convention is to have a mod.sip file which %Includes each

of the class .sip files. Then run sip over the mod.sip file.

Phil

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to