Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
16 user(s) are online (7 user(s) are browsing Forums)

Members: 0
Guests: 16

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

QSqlDatabase: QSQLITE driver not loaded

Subject: QSqlDatabase: QSQLITE driver not loaded
by BSzili on 2014/12/19 7:26:06

I have the SQLite plugin in qt:plugins/sqldrivers, but according to the error message I don't have any drivers available:
Quote:
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:

I tried adding the path manually using many variations, but neither of these helped:
QApplication::addLibraryPath("/qt/plugins/sqldrivers/");
QApplication::addLibraryPath("/qt/plugins/sqldrivers");
QApplication::addLibraryPath("qt:plugins/sqldrivers/");
QApplication::addLibraryPath("qt:plugins/sqldrivers");

Does anyone know how to get the SQLite Qt plugin to work?
Powered by XOOPS 2.0 © 2001-2014 The XOOPS Project