Martin,
I've tried the following code:
vlayer = QgsVectorLayer('dbname="/data/gis/test.sqlite" table="mytable"',
'mytable', 'spatialite')
but it doesn't work: vlayer.isValid() returns False ...
Peraphs this is because i'm still on QGIS 1.7 ???
Is there a way to import non spatial table in qgis 1.7 ?
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Load-SQLite-table-into-QGIS-tp6876536p6933871.html
Sent from the qgis-developer mailing list archive at Nabble.com.
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer