Skip to content

Instantly share code, notes, and snippets.

Avatar
💡

Matthias Kuhn m-kuhn

💡
View GitHub Profile
@m-kuhn
m-kuhn / pyqgis-sip2.rst
Last active Dec 18, 2015 — forked from NathanW2/pyqgis-sip2.rst
Minor updates.
View pyqgis-sip2.rst

The QVariant type doesn't exist any more so any methods returning QVariant will be auto converted to Python types. You no longer need to convert the return type using the toXXXX methods.

Remove all:

toString()
toList()
toInt()
toFloat()
toStringList()
toByteArray()