[Qt-jambi-interest] QSQLite driver for windows
TieKei
tiekei at online.de
Tue Jul 15 00:28:42 CEST 2008
Hi!
since I am searching the internet for a solution of my problem, I know
that this may be a annoying question, but
"what should i do to fix the
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: aviable drivers:
Error?"
I write my QTJambi program on Linux and it works fine.
After exporting it to an jar file and testing it on another Linux it
works too. But if I try to run it on Windows XP the complete GUI works
fine, but with any database access I get the error described above.
I already tried to copy the .DLLs from the QTWin32 packet, but it has no
effect.
Since my program contains follwoing line:
/QApplication.addLibraryPath(QApplication.applicationDirPath());/ my
folder structure (in Windows) looks like this:
program.jar, qtjambi.jar, qtjambi-win32.jar and a folder named
sqldrivers containing com_tolltech_qt_sql.dll ,QtSql4.dll *and*
qsqlite4.dll (copied from the QT-win32 package)
I think that I have to change a path or something... But I have no idea.
Thank you in advance!
Tim
More information about the Qt-jambi-interest
mailing list