Hey @all,

i want to embed the SQLite driver into my application, instead of deploying the qsqlite.dll as an extra file.

So, in the project file i use:
Qt Code:
  1. QTPLUGIN += qsqlite
To copy to clipboard, switch view to plain text mode 
in the main.cpp file i use:
Qt Code:
  1. Q_IMPORT_PLUGIN (qsqlite)
To copy to clipboard, switch view to plain text mode 

From ld i get the error that "-lsqlite" couldn't be found.

I configure and build Qt as:
Qt Code:
  1. configure ... -qt-sql-sqlite -plugin-sql-sqlite
To copy to clipboard, switch view to plain text mode 
The result is that i have both in the plugins folder
.) qsqlite.dll
.) qsqlited.dll
.) libqsqlite.a
.) libqsqlited.a

Best Regards
NoRulez