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:
QTPLUGIN += qsqlite
QTPLUGIN += qsqlite
To copy to clipboard, switch view to plain text mode
in the main.cpp file i use:
Q_IMPORT_PLUGIN (qsqlite)
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:
configure ... -qt-sql-sqlite -plugin-sql-sqlite
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
Bookmarks