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:
  1. QString applPath = QCoreApplication::applicationDirPath();
  2. applPath.append("/sqldrivers");
  3. qApp->addLibraryPath(applPath);
  4. 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?