[Qt-jambi-interest] Qt-Jambi and MySQL access

Petric Frank pfrank at gmx.de
Tue Aug 11 16:01:41 CEST 2009


Hello Eskil,

On Dienstag, 11. August 2009, Eskil Abrahamsen Blomfeldt wrote:
> Petric Frank wrote:
> > Even if i do an explicit
> >   import com.trolltech.qt.sql.QJdbcSqlDriver;
> >
> > the compile step replies with
> >   The type com.trolltech.qt.sql.QJdbcSqlDriver is not visible.
> >
> > This might be an Eclipse problem. Any hints ?
>
> Sorry, this was my mistake. I was thinking of an earlier instance of the
> API. The correct way to initialize QJdbc is the following:
>
>     QJdbc.initialize();
>
> Replace the reference to QJdbcSqlDriver with this, and the code should
> hopefully work.

Indeed - it works well now.

Thanks for your assistance.

regards
  Petric



More information about the Qt-jambi-interest mailing list