Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have turned WITH_PYSPATIALITE ON, but I have a custom build of SpatiaLite (4.0.0), not the packaged version, so I set WITH_INTERNAL_SPATIALITE to OFF. How do I tell QGIS to configure PYSPATIALITE for 4.0.0? Or should I turn WITH_PYSPATIALITE OFF and install it myself?

share|improve this question
up vote 3 down vote accepted

Turned out that WITH_INTERNAL_SPATIALITE = OFF is required to install QGIS with SpatiaLite 4 and not with the one that is shipped with QGIS (quite self-evident actually).

WITH_PYSPATIALITE = ON flawlessly installed Pyspatialite and it works like a charm with SpatiaLite 4.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.