[PyQt] Sip: How to properly include from other files?

Jason Hihn jason at eyemaginations.com
Thu May 17 15:15:53 BST 2007

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 .


AAA H File:

Class aaa: public bbb {


AAA Sip file:

Class aaa: bbb {


BBB H file: 

#ifndef _BBB_H_


BBB sip file: 

class BBB {

class {


#include <bbb.h>







Jason Hihn

Director of Software Engineering
Eyemaginations, Inc.

600 Washington Ave, Suite #100
Towson, MD 21204
Domestic: 877.321.5481 ext. 8617
International: 410.321.5481 ext. 8617
Fax: 410.616.8657
jason at eyemaginations.com

The information transmitted within this email document or fax is intended
only for 

the person(s) or entity to which it is specifically addressed and may

confidential and/or privileged material of Eyemaginations. Any re-creation,

distribution, retransmission, dissemination or other use of, or taking of
any action 

in reliance upon, this information by persons or entities other than the

parties is completely prohibited. If you have received this email in error,

contact the sender or author and permanently delete and destroy the email

any computer which houses its contents. 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070517/6231e897/attachment.html

More information about the PyQt mailing list