NoRulez
7th October 2009, 09:15
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
in the main.cpp file i use:
Q_IMPORT_PLUGIN (qsqlite)
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
The result is that i have both in the plugins folder
.) qsqlite.dll
.) qsqlited.dll
.) libqsqlite.a
.) libqsqlited.a
Best Regards
NoRulez
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
in the main.cpp file i use:
Q_IMPORT_PLUGIN (qsqlite)
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
The result is that i have both in the plugins folder
.) qsqlite.dll
.) qsqlited.dll
.) libqsqlite.a
.) libqsqlited.a
Best Regards
NoRulez