[Qgis-developer] New Vector API

Martin Dobias wonder.sk at gmail.com
Wed Apr 3 02:00:15 PDT 2013


Hi

On Tue, Apr 2, 2013 at 3:10 PM, Matthias Kuhn <matthias.kuhn at gmx.ch> wrote:
> Despite feature freeze, I'd like to ask what happened to that plan. As
> far as I know, this change has not been made, and if this change is not
> made before QGIS 2.0 it will have to wait for 3.0 (This is not something
> to be done for 2.1).
> It will probably be a small change (to switch in the core) but with a
> huge impace (concerning plugins).

I have a patch pending on my machine, but I have found out it needs
more work than just running few "sip.setapi(...)" calls. In PyQt4
QVariant API v2 there is basically no QVariant anymore. Given that we
use QVariant.Type for things like defining QgsField types, we need to
find a workaround (in PyQt4 they had a bit similar situation with
QSettings).

I still would like to get it into 2.0, but recently I have been too
busy with real life to do anything with it. In the following weeks I
should be able to find more time, so hopefully we will make a switch.

Martin


More information about the Qgis-developer mailing list