[Qgis-developer] QGIS Processing Framework

Charlie Sharpsteen chuck at sharpsteen.net
Sun Jul 3 04:02:38 EDT 2011


On Sat, Jul 2, 2011 at 2:37 PM, Camilo Polymeris <cpolymeris at gmail.com>wrote:

> I have now invested a week trying to reconcile traits & the processing
> framework, without satisfying results. It may have to do with me not
> having any experience with traits.. but I must admit, I am quite
> confused and not sure how to proceed.
>
> Would appreciate if someone else can have a look at the code (traits
> branch) and comment.
>
>
>
> Regards,
>
> Camilo
>

I don't know if this is relevant to the crashes you have been getting, but
TraitsUI and most other Enthought Qt-oriented GUI projects use version 2 of
the SIP QString and QVariant APIs:

    https://github.com/enthought/pyface/blob/master/pyface/qt/__init__.py

This is done so they can swap between PyQt4 and PySide without hassle and to
get better unicode and Python 3 support. QGIS uses Version 1 of those APIs
which is fundamentally incompatible. QGIS could upgrade to version 2 but all
Python plugins containing code using QString or QVariant would have to
replace these calls with plain Python strings and objects---definitely a
"2.0" sort of change.

-Charlie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20110703/5efb1491/attachment.html


More information about the Qgis-developer mailing list