[Qgis-developer] SIP API Update merged. Attention plugin authors

Nathan Woodrow madmanwoo at gmail.com
Mon Jun 10 06:04:22 PDT 2013


Hey Bernhard,

All PyQt functions are affected. QSqlQuery.Value will now return a native
Python type.

- Nathan


On Mon, Jun 10, 2013 at 11:03 PM, Bernhard Ströbl
<bernhard.stroebl at jena.de>wrote:

> Nathan,
>
> bear with me I have a really basic question concerning you mail and advice
> [1]. I use quite a lot of QtSql.QSqlQuerys in my plugins to retrieve data
> from a PostgreSQL database. The value() method currently returns a
> QVariant. What is it supposed to return in the future or are only QGIS
> methods affected by what you describe? In the latter case your advice in
> [1] can be very misleading telling people to remove all toString(), toInt()
> etc.
>
> Bernhard
>
> [1] https://gist.github.com/**NathanW2/5734767<https://gist.github.com/NathanW2/5734767>
>
>
> Am 10.06.2013 14:51, schrieb Nathan Woodrow:
>
>> Hey everyone,
>>
>> You are
>>
>>
>> On Sat, Jun 8, 2013 at 9:35 PM, Nathan Woodrow <madmanwoo at gmail.com
>> <mailto:madmanwoo at gmail.com>> wrote:
>>
>>     Hey all,
>>
>>     The new SIP API has been merged now.  There are still a few things
>>     to clean up in some of the core plugins but it is merged for wider
>>     testing.   I don't expect to find any major issues.
>>
>>     I have written a conversion guide here:
>>     https://gist.github.com/**NathanW2/5734767<https://gist.github.com/NathanW2/5734767>
>>
>>     Plugin authors could you take some time to update you plugins so
>>     they will be ready for 2.0 once it is released _however_ please
>>     don't upload the new 2.0 version of your new plugin to the QGIS
>>     plugin repo until I give you the go ahead as we need to do a update
>>     on the server so that 1.8 will not get the 2.0 plugins because they
>>     will not run in 1.8.
>>
>>     I would recommend creating a branch in git with your new 2.0 version
>>     and be ready to upload it when I give the go ahead.
>>
>>     Note: 1.8 plugins will not run in 2.0 without being updated to the
>>     new API syntax. 2.0 plugins will not work in 1.8.
>>
>>     Users who live on the edge by running the dev build please just bare
>>     with us while we get this sorted out, shouldn't take too long.
>>
>>     Email me if you have any issue.
>>
>>     Regards,
>>     Nathan
>>
>>
>>
>>
>> ______________________________**_________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/**mailman/listinfo/qgis-**developer<http://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>
>>
>>
>> __________ Information from ESET Mail Security, version of virus
>> signature database 8432 (20130610) __________
>>
>> The message was checked by ESET Mail Security.
>> http://www.eset.com
>>
>>
> --
> Bernhard Ströbl
> Anwendungsbetreuer GIS
>
> Kommunale Immobilien Jena
> Am Anger 26
> 07743 Jena
>
> Tel.: 03641 49- 5190
> E-Mail: bernhard.stroebl at jena.de
> Internet: www.kij.de
>
>
> Kommunale Immobilien Jena
> Eigenbetrieb der Stadt Jena
> Werkleiter: Dr. Götz Blankenburg
>
>
> __________ Information from ESET Mail Security, version of virus signature
> database 8432 (20130610) __________
>
> The message was checked by ESET Mail Security.
> http://www.eset.com
>
>
>
> ______________________________**_________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/qgis-**developer<http://lists.osgeo.org/mailman/listinfo/qgis-developer>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130610/f2829df4/attachment.html>


More information about the Qgis-developer mailing list