[Qgis-developer] qtsql and python: load_extension not working

Jürgen E. Fischer jef at norbit.de
Mon Apr 26 11:19:38 EDT 2010


Hi Andreas,

On Mon, 26. Apr 2010 at 14:31:55 +0200, Andreas Neumann wrote:
> So could it be that OSGeo4W distributes sqlite with load extensions
> disallowed? see
> http://www.gaia-gis.it/spatialite/spatialite-arch-2.3.1.html#trap - for a
> discussion. If yes - could this be changed? If no - what else could I do
> to enable spatialite in my QGIS plugin to work ok with QtSQL?

Looks like Qt doesn't include loading sqlite extensions by default.

I found this: http://arstechnica.com/civis/viewtopic.php?f=20&t=35074

Looks like I need to rebuild Qt again...


Jürgen

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502



More information about the Qgis-developer mailing list