[PyQt] noob woes (but still making progress)

Jason Hihn jason at eyemaginations.com
Tue May 15 19:50:02 BST 2007


Ok, I have several questions. 

 

I probably have a sub-optimal set of headers. Is there a limitation of one
class per header? How do we generate .sip files for .h that contain several
classes? i.e.:

aaa.h: 

class aaa{}; 

class bbb{};

aaa.sip 

class aaa: 

%TypeHeaderCode

#include aaa.h

%End

class bbb: 

%TypeHeaderCode 

#include aaa.h //<- is this ok?

%End

 

Secondly, how do we generate a package say, File.pyd, that contains all the
classes that class A relies on?

aaa.h includes ccc.h, so class CCC needs to be wrapped, which includes
ddd.h, which also needs to be wrapped. Which is ok, and I get aaa to be
wrapped, but in the python interpreter it fails on import saying that ccc
module is missing.

 

I'm under the gun and I'll even offer a few dollars (from me personally) to
have an experienced SIPer do this so I know it is done right and quickly. I
have about 5 small sip files which I think are close. But I've spent 12
hours on this and I still don't have a working solution.

 

Thanks.

 

---

Regards,

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
www.eyemaginations.com
www.3d-eye.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
contain 

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

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

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

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

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

any computer which houses its contents. 

=================================================

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070515/7f059b81/attachment.html


More information about the PyQt mailing list