[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] latest pykde4 (4.9.2) build fails against new sip-4.14/PyQt-4.9.5
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2012-10-03 13:16:33
Message-ID: 655f2de28ff6ad23930a33ce26990365 () localhost
[Download RAW message or body]

On Wed, 03 Oct 2012 14:55 +0200, Luca Beltrame <einar@heavensinferno.net>
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    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic