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
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to