[PyKDE] Q_PID undefined

Mike Rovner mrovner at cadence.com
Fri May 19 02:31:10 BST 2006


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?

Thanks,
Mike




More information about the PyQt mailing list