[PyKDE] I have a SIPping problem?
Smith, Dave
dts at iti-oh.com
Wed Apr 24 16:07:01 BST 2002
I'm trying my hand at wrapping a C++ class derived from QWidget and
not having much luck with SIP. I've seen some postings on this list that
discuss the same error but I wasn't able to determine if there was a
resolution or not... Any help would be appreciated!!!
The problem:
Trying to SIP a very simple C++ class that derives from QWidget (see attached test.sip,
I think test.h and test.cxx are simple enough to leave to the imagination) results in the
following error:
$ sip -c sip test.sip
sip: QWidget has not been defined.
NOTE: I was able to use SIP to successfully create a working siptest python module
before I added the QWidget stuff.
I have tried specifying -t Qt_3_0_2 -t WS_X11 and messing with the -I option (it is
not at all clear to me what includes sip might require, and I suspect this might be
my problem).
Any idea what I'm missing?
I am using Qt 3.0.2, sip-3.1, and PyQt-3.1 on Solaris 2.8 (w/ Python 2.0) and
Windows 2000 (w/ Python 2.2).
Dave
<<test.sip>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.sip
Type: application/octet-stream
Size: 404 bytes
Desc: test.sip
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20020424/ca3a7b1c/test.obj
More information about the PyQt
mailing list