[PyKDE] Basic SIP question
Bjorn Pettersen
BPettersen at narex.com
Fri May 3 00:24:01 BST 2002
I'm a complete newbie to SIP, so please feel free to direct me to any
FAQs, documents etc. that I have missed.
I'm trying to wrap a very basic class:
class Foo {
int var;
public:
void setVar(int v);
int getVar();
};
with the following .sip file
class Foo {
%HeaderCode
#include "Test.h"
%End
public:
int getVar();
void setVar(int v);
};
and SIP is giving me a parse error on the void setVar() line. If I
remove the "int v" argument SIP runs, but doesn't create any output
files...
What am I doing wrong?
-- bjorn
More information about the PyQt
mailing list