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 |
|