Fix a compile error in qsql_sqlite2.cpp

The compile error got introduced due to the
change in QMetaType requiring fully defined
types for pointers.

Change-Id: I6383ff5923fc1d5bd3c1161e2823e83f2a06a99e
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
This commit is contained in:
Lars Knoll 2012-01-24 22:24:34 +01:00 committed by Qt by Nokia
parent 7e828e365e
commit 4830b790fe

View File

@ -60,6 +60,14 @@
typedef struct sqlite_vm sqlite_vm;
QT_BEGIN_NAMESPACE namespace QtPrivate {
template <> struct IsPointerToTypeDerivedFromQObject<sqlite_vm*> {
enum { Value = false };
};
template <> struct IsPointerToTypeDerivedFromQObject<sqlite*> {
enum { Value = false };
};
} QT_END_NAMESPACE
Q_DECLARE_METATYPE(sqlite_vm*)
Q_DECLARE_METATYPE(sqlite*)