On Friday 19 May 2006 2:31 am, Mike Rovner wrote:
> Hi,
>
> I'm trying to wrap my C++ class with SIP (4.4):
>
> %Module rzc
>
> %Import QtGui/QtGuimod.sip
>
> class ResolutionZoomController
> {
> %TypeHeaderCode
> #include "reszoom.h"
> %End
>
> public:
>      ResolutionZoomController();
>      ~ResolutionZoomController();
> };
>
> but I'm getting error from
> sip -I ~/tools/share/sip/PyQt4 reszoom.sip
>
> sip: Q_PID is undefined
>
> What I'm doing wrong?

You need to set the correct -t flags on the sip command line. If you use the 
build system this is done for you.

Phil

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to