[PyQt] How to test sip version

Sébastien Petitdemange sebastien.petitdemange at esrf.fr
Tue Jun 11 13:42:55 BST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/11/2013 10:27 AM, Phil Thompson wrote:
> On Tue, 11 Jun 2013 10:04:31 +0200, Sébastien Petitdemange
> <sebastien.petitdemange at esrf.fr> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi list,
>>
>> I need to have sip file compatible with != sip version (starting at
> 4.10)
>> What is the best way to archive that?
> 
> If you are talking about SIP directives, ie. you want to use %If, and you
> need to support versions as old as that, then you need to implement
> something yourself. You could define a %Timeline for the SIP versions and
> pass the right -t argument to sip after you have detected which version if
> sip you are using.
> 
> Starting with SIP v4.12 this is done for you.
> 
> Phil
> 
Hi Phil,

Thanks for your quick reply.

So if my sip file are compatible with directives of sip v4.12, they will
stay compatible with sip version >= v4.12.
Is that correct or I misunderstood?

Regards,

SEB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRtxtPAAoJEEtktDVosZgUTHEH/i/PMmWYieBIWXwnO8mh6VkT
2o+3/gC3Pjpyl3zpd+J1RMYF4ogl3eppfbWLFGo1/dTDCSciD/qeacEh94Z19SGi
DHQ21Nh/cQCkKvyR/fD6ERpE5MnpPT9fDfszz6nOwpOjsDlxiJooUzgQPXKgcmV1
S1M6c9isTjs5IjU7EZkwPigvCFP9m+WLgVPoNh0jmiZg6UNamT3v+ba/x7rFIDPV
E52hg6Gr4C/ylRWnFr8xYmZmWABnQ+iVCm1zesusRqunKx91GT0PRonzM80U0cy3
tcUeUoI2/gy+joU00MVLGMnVMCTs+AjfuZ5a41T4kIxcLRqyQNGT0jb37ngOG5c=
=lfz4
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sebastien_petitdemange.vcf
Type: text/x-vcard
Size: 218 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20130611/01bdb8c6/attachment.vcf>


More information about the PyQt mailing list