On Wed, 03 Oct 2012 14:55 +0200, Luca Beltrame <[email protected]>
wrote:
> In data mercoledì 3 ottobre 2012 08:51:48, Scott Kitterman ha scritto:
>
>> It would make it possible to run PyKDE4 4.10 on both Debian Wheezy and
>> Ubuntu Quantal (12.10) without having to revert the changes for the
newer
>
> I can try doing that but I'd need some guidance as my SIP knowledge is
> pretty
> limited. Phil, can SIP conditionally add or exclude definitions?
Yes. Use %Feature to define a feature that will be enabled by default...
%Feature PyKDE_UseMyMappedType
...then...
%If (PyKDE_UseMyMappedType)
%MappedType MyMappedType
{
...
};
%End
In your configure.py (or whatever) pass -x PyKDE_UseMyMappedType to sip in
order to *disable* it.
Phil
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt