[scribus-dev] Scripter: Your feedback is required

Andreas Vox avox at arcor.de
Sat Apr 12 08:16:14 UTC 2014


Am 11.04.2014 um 17:52 schrieb Chris Barker:

> On Fri, Apr 11, 2014 at 2:37 AM, Andreas Vox <avox at arcor.de> wrote:
> Hi Chris!
> 
>  
> 
> Currently we use PyQt, which in turn uses SIP. That way we only have to register the right QObjects and PyQt does the rest.
> 
>  
> 
> If I understand correctly, PySide does something similar?
> 
> 
> 
> yup -- though I think it uses its own binding-generation tool, rather than SIP. Not sure why. IIUC, the primary point of PySide is to provide a LGPL, rather than GPL set of bindings. As Scribus is GPL (correct?) , then you might as well stick with PyQT and SIP.
> 
No, if we want to expose functionality to Scripter, we make QObjects - either the original objects or special API objects. That has the advantage that we can use the QObject model for other parts like UI bindings as well.

> So are you using SIP to wrap the non-QT parts of Scribus? I'd suspect that would be the way to go in this case, though I've never actually uses SIP....
> 
> Sounds like you're in good shape to move this forward.
> 

Thanks for the feedback!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus-dev/attachments/20140412/e2a28b84/attachment.html>


More information about the scribus-dev mailing list