4 Commits

Author SHA1 Message Date
Matthias Kuhn
28f13778ee Switch more places to using spatialite_database_unique_ptr 2017-11-15 08:51:17 +01:00
Juergen E. Fischer
43faf338f3 remove remaining QT_VERSION <=> 5 checks (also fixes b3e8d82) 2017-01-25 02:58:48 +01:00
Bas Couwenberg
12853b37fb Add support for Qt5 to qspatialite provider.
The detachFromResultSet() changes in qsql_spatialite.{cpp,h} are taken
from https://code.qt.io/cgit/qt/qtbase.git/commit/?id=fc15a1d5e2cb064d
by Mark Brand <mabrand@mabrand.nl>.

Additionally the sqlite3 & sqlite3_stmt types need to be declared as
opaque pointers per http://doc.qt.io/qt-5/qmetatype.html#Q_DECLARE_METATYPE

For Qt5 Q_PLUGIN_METADATA() should be used instead of Q_EXPORT_PLUGIN2()
per http://doc.qt.io/qt-5/qtquick-porting-qt5.html#qml-plugins
2016-03-12 17:33:23 +01:00
Juergen E. Fischer
554250473c [FEATURE] add qspatialite sql driver plugin 2013-02-17 22:15:00 +01:00