[Interest] Custom SQLite and linking woes

Thiago Macieira thiago.macieira at intel.com
Thu Feb 1 17:46:15 CET 2018


On Thursday, 1 February 2018 05:18:17 PST René Hansen wrote:
> DEFINES -= SQLITE_OMIT_LOAD_EXTENSION
> DEFINES += SQLITE_ENABLE_LOAD_EXTENSION
> 
> And then recompiled and installed the plugin as advised in
> http://doc.qt.io/qt-5/sql-driver.html:
> 
> I'm on macOS, so I've been building against the Homebrew version of of
> sqlite3 like so:

That means you did not need to rebuild the plugin. Those #defines only affect 
Sqlite itself, which did not get built.

> As far as I can tell, this is the version that ships with Qt 5.9:

More likely, the system-wide version that ships with your Apple OS.

> So, what to do here...?

Get a better OS... ?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Interest mailing list