On Wednesday 09 October 2002 2:08 pm, David Douard wrote:
> Hi Phil, hi list
>
> There is something Idon't underdtand very well with sip. How does it manage
> the conditional member function declaration. I mean, for exmaple, in my
> qpainter.h, the member function setViewXForm is declared according the the
> QT_NO_TRANSFORMATIONS macro.
> But the qpainter.sip file alaways declare this function. How is it managed
> when disabled in the Qt library ?

For Qt v2 and later, qpainter.sip declares this function in a...

%If (Qt_TRANSFORMATIONS)
...
%End

...block.

The build process works out whether or not your Qt installation has 
QT_NO_TRANSFORMATIONS defined and generates an appropriate features file that 
is then used by sip.

Phil

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde

Reply via email to