Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.3.0
-
None
-
Linux x64
Description
The following code works perfectly with Qt 5.2 but not with Qt 5.3.
It gives me a SEGFAULT at the sqlite3_enable_load_extension first line of code.
QVariant v = db.driver()->handle();
if(v.isValid() && qstrcmp(v.typeName(), "sqlite3*") == 0)
{
sqlite3 *handle = *static_cast<sqlite3 **>(v.data());
if(handle != 0) sqlite3_enable_load_extension(handle, 1);
}