[Qt-interest] building sqlite plugin with spatialite

Jan janusius at gmx.net
Thu Oct 22 12:10:12 CEST 2009


Hi,

I am trying to build the sqlite plugin and link it to libspatialite
(http://www.gaia-gis.it/spatialite/) dynamic library (which contains 
sqlite already) instead of libsqlite.

I tried the following
  cd $QTDIR/src/plugins/sqldrivers/sqlite
  qmake "INCLUDEPATH+=usr/local/include" "LIBS+=-Lusr/local/lib 
-lspatialite"
  make

In usr/local/include there are spatialite and sqlite headers. But during 
compilation 3rdparty/sqlite is always used. Does anyone know what I am 
doing wrong (If it is possible at all to use spatialite's sqlite instead 
of sqlite lib)?

Thanks
Jan





More information about the Qt-interest-old mailing list