[Qt-jambi-interest] Unable to utilize SQLite

Eskil Abrahamsen Blomfeldt eblomfel at trolltech.com
Wed May 28 08:21:28 CEST 2008


Matt 0000 wrote:
> I couldn't make Option 2 work. I tried
> -Dcom.trolltech.qt.pluginjars=[name_of_jarfile]
>  
> as well as
> -Dcom.trolltech.qt.pluginjars=[path_to_jarfile]
> as recommended in the QTJambi deployment description link.
>  
> In both cases, the jar file was placed in the plugins folder residing 
> at the Project-Root folder and contained qsqlite4.dll as well as 
> sqldrivers\qsqlite4.dll (redundantly)

Hi, Matt.

In order for option 2 to work, you need to put the plugin/ directory 
into your .jar file as well.

I.e. the path of the SQL driver in the .jar file should be:

    plugins/sqldrivers/qsqlite4.dll

To get a .jar file containing all default Qt Jambi plugins, do the 
following:

    % cd <QTJambi-Home>
    % jar cf plugins.jar plugins

-- Eskil



More information about the Qt-jambi-interest mailing list