Trying to deploy an application on Windows but Sqlite driver is not loading.
After searching the forum, I have it set up as follows:
Executable and other files directory is C:\HRLogger_Release
Drivers qsqlite4.dll and sqlite3.dll are in C:\HRLogger_Release\sqldrivers
Using this code:
Qt Code:
applPath.append("/sqldrivers"); qApp->addLibraryPath(applPath); qDebug() << "applPath is now " << applPath;To copy to clipboard, switch view to plain text mode
Produces this:
applPath is now "C:/HRLogger_Release/sqldrivers"
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
What am I missing here?
Bookmarks