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

List:       pykde
Subject:    Re: How to use MetaSIP to auto-generate .sip files?
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2023-03-14 10:15:29
Message-ID: 833afa50f7d177ed1d7d081f4b43027b () riverbankcomputing ! com
[Download RAW message or body]

On 14/03/2023 08:57, alex4814 wrote:
> Hi,
> 
> Background
> I've got various class that derives QWidget, and needs to generate
> Python Binding for those
> customized widgets.
> As far as I know, _*.sip_ file is hand-written and whenever the API of
> c++ side changes, it also
> needs to get updated which is error-prone.
> 
> Idea
> I checked the source code (sip files) of PyQt5, and found that the
> header says
> 
>     // .sip generated by MetaSIP
> 
> It make sense that these sip files are generated by "MetaSIP" rather
> than hand written.
> 
> Problem
> However, I couldn't find MetaSIP. Is it removed or made private for
> internal use?
> 
> How could I use it to speed up Python binding generation.

MetaSIP is an internal tool.

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

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