Important: Please read the Qt Code of Conduct -

QSQLite driver not loaded

  • HI,
    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?

  • Moderators

    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.

Log in to reply