however in Python the destruction had to be done explicitly to acheive right order.
New solution is that QgsMapTool is derived from QObject and on construction, QgsMapCanvas
is set as its parent. This way canvas is always deleted after deletion of map tools.
Also, because of this, I've divided QgsMeasure to QgsMeasureTool and QgsMeasureDialog
(problem with 2 parents with QObject as a base).
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6908 c8812cc2-4d05-0410-92ff-de0c093fc19c
All providers and python bindings have been updated accordingly.
Currently supported variant types by providers are String, Int and Double.
Other API changes:
- QgsField
- type info as QString is now typeName() and setTypeName()
- added variant type (QVariant::Type) info: type(), setType()
- QgsFeature
- removed fields() - use QgsVectorDataProvider::fields()
- removed boundingBox() - use QgsGeometry::boundingBox()
- QgsVectorLayer - removed fields(), fieldCount(), getDefaultValue() - use directly QgsVectorDataProvider
- QgsVectorDataProvider - getDefaultValue() - field now addressed by id, returns variant
- QgsLabel - setLabelField() - field now addressed by id
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6833 c8812cc2-4d05-0410-92ff-de0c093fc19c
- lib extension is .dylib not .so
- all qt frameworks are needed for linking
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6526 c8812cc2-4d05-0410-92ff-de0c093fc19c
It's possible to override it with BINDINGS_GLOBAL_INSTALL set to TRUE,
that will cause bindings to be installed to global python's site-packages dir.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6516 c8812cc2-4d05-0410-92ff-de0c093fc19c
- all intermediate files are out of source
- bindings are built only when libs are changed, not everytime
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6503 c8812cc2-4d05-0410-92ff-de0c093fc19c