On Fri, Oct 14, 2011 at 10:16 AM, maaza mekuria <[email protected]> wrote:
> I was able to create the spatialite geometry/geometryless tables outside QGIS 
> and now what I would want is to be able to insert data in C++ into tables 
> with and without geometry.
>
> Any ideas?

Load the table to QGIS (i.e. create a QgsVectorLayer - even for
geometryless table) and then use layer.dataProvider().addFeatures( ...
) method.

Martin
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to