Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QSQLite driver not loaded
dan1973 last edited by
i am getting this error while running my project in Release mode
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
But it works fine in Debug mode. Any solution?
There can be numerous reasons why the driver is not found.
A good start is to define the QT_DEBUG_PLUGINS environment variable. This should print out diagnostic information where Qt is looking for plugins, and also why it fails to load some.