Building error with QgsVectorFileWriter

المشرف العام

Administrator
طاقم الإدارة
I am working with qgis api c++ 2.8.2, in c++/QT 4.5I try to save my List of QgsField but I have the error message :no matching for call to 'QgsVectorFileWriter'I took the sample from here :

http://hub.qgis.org/issues/7223

Here is my code in C++

QList lMyAttribField;QgsVectorFileWriter * writer;writer = QgsVectorFileWriter("/tmp/myshapes.shp", "CP1250", lMyAttribField, QGis::WKBPoint, "0", "ESRI Shapefile");I have the same eror if I delete the * in the declaration of writer

I don't understand what's i forget ?



أكثر...
 
أعلى