Well I seem to have gotten it included bu adding a #include in the
TypeHeaderCode section for the class, but the problem persists.

        cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -W3 -w34100 -w34189
-DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -QT_NO_DEBUG -DQT_CORE_LIB
-DQT_GUI_LIB  -I. -I.. -Ic:\Python-2.5.1\PC -IC:\Python-2.5.1\include
-IC:\Qt\4.2.3\mkspecs\default -IC:\Qt\4.2.3\include\QtCore
-IC:\Qt\4.2.3\include\QtGui -IC:\Qt\4.2.3\include -Fo
@C:\DOCUME~1\jason\LOCALS~1\Temp\nm4882.tmp

sipplaylistcmodule.cpp

sipplaylistQVector.cpp

sipplaylistE3PlayerWidget.cpp

sipplaylistE3PlayListClip.cpp

c:\e3play\e3play\python\sipplaylistE3PlayListClip.h(23) : error C2504:
'E3PlayListClip' : base class undefined

c:\e3play\e3play\python\sipplaylistE3PlayListClip.h(26) : error C2059:
syntax error : '<cv-qualifer>'

.

 

Here, the e3playlistclip class is AAA in the example below. It is derived
from another class, called bbb inmy example. 

 

Any help is appreciated. I'm even opening up to paying money for someone to
do these wrappers for me. Its Thursday and this was supposed to be done last
Friday.

 

Thanks.

 

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Hihn
Sent: Thursday, May 17, 2007 10:16 AM
To: [email protected]
Subject: [PyQt] Sip: How to properly include from other files?

 

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 {

%TypeHeaderCode

#include <bbb.h>

%End

 

 

 

---

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
[EMAIL PROTECTED]
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. 

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

 

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

Reply via email to