Open alexandrkirilov opened 1 year ago
It also doesn't work for me on 6.5 (windows), I use 6.4.3 to compile.
Just follow this:
Q_DECLARE_OPAQUE_POINTER(sqlite3*)
Q_DECLARE_METATYPE(sqlite3*)
Q_DECLARE_OPAQUE_POINTER(sqlite3_stmt*)
Q_DECLARE_METATYPE(sqlite3_stmt*)
Why? It's already in code in sqlitecipher.cpp `Q_DECLARE_METATYPE(sqlite3) Q_DECLARE_METATYPE(sqlite3_stmt)
Q_DECLARE_OPAQUE_POINTER(sqlite3) Q_DECLARE_OPAQUE_POINTER(sqlite3_stmt)
just because the source of this plugin was origin from qt4/qt5 qsqliteplugin,in qt6,it looks like you should declare opaque pointer before delcare metatype,that is the key point,sorry for my poor english😂
There issues when compiling it with 6.5.1