[Qgis-developer] Qt5 and Python 3

Matthias Kuhn matthias at opengis.ch
Wed May 4 02:32:39 PDT 2016



On 05/04/2016 11:13 AM, Denis Rouzaud wrote:
>
> On 05/04/2016 11:00 AM, Matthias Kuhn wrote:
>>  * Switch to another API (sip.enableautoconversion(false), similar to
>> SIP API V1). Resulting in countless lines of code in plugins requiring
>> to be updated.
> without any chance of automation?

I don't see any.
QVariant is extensively used in the API but python (and the conversion
tool) lacks this type knowledge and with this approach .value() (or
.toInt() / toString() etc? not sure) would need to be called on every
one of them.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160504/6ddc1462/attachment.sig>


More information about the Qgis-developer mailing list