[Qt-jambi-interest] Unable to utilize SQLite

Matt 0000 developer0000 at gmail.com
Mon May 26 18:44:25 CEST 2008


Current Environment
===============
 OS:WinXP
Binary: QTJambi-OpenSource-4.3.4_01
Plugin: qtjambi-eclipse-integration-win32-4.3.4_01-mingw.zip
Eclipse: 3.2.2

Attempting to use qsqlite4.dll found in <QTJambi-Home>\plugins\sqldrivers in
an independant Eclipse project loosely based on the
com\trolltech\examples\CachedTable.java without much success owing to error:
"Missing support for SQL"



What I have tried in additive and exclusive combinations:
- Adding the entry qsqlite4.dll to qt_system_libs found in the Project Root
Folder, hereafter <PRF>
- Creating <PRF>/sqldrivers/qsqlite4.dll
- Creating <PRF>/plugins/sqldrivers/qsqlite4.dll
- Creating <PRF>/qsqlite4.dll
- Adding qsqlite4.dll to an already included custom jar file that has the
likes of:
  com_trolltech_qt_core.dll
  com_trolltech_qt_gui.dll
  mingwm10.dll
  :
  :
  qtjambi.dll

- Adding qsqlite4.dll directly to Project Properties under "Java Build
Path"->Libraries
ensuring that the "Native Library Location" attribute of the library points
to the right path.

- Replacing "QSQLITE" with "QSQLITE4" as the parameter to the
QSqlDatabase.isDriverAvailable
method

- and some other cheap tricks...




The demo, qtjambi.exe, has no trouble using the SQLite. Where am I going
wrong ?

Thanks,
Dev0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.trolltech.com/pipermail/qt-jambi-interest/attachments/20080526/be05e3ca/attachment.html 


More information about the Qt-jambi-interest mailing list