[Qgis-developer] Python plugin: Bug with QgsVectorFileWriter?

Luca Manganelli luca76 at gmail.com
Tue Oct 7 07:21:09 PDT 2014


Hi, in Python, if I do:

writer = QgsVectorFileWriter("my_shapes.shp", "CP1250", QgsFields(),
QGis.WKBLine, None, "ESRI Shapefile")

Qgis raises an error telling that first parameter is "str", but he
wants "QString"...????


More information about the Qgis-developer mailing list