[Qt-jambi-interest] Qt-Jambi and MySQL access
Eskil Abrahamsen Blomfeldt
eblomfel at trolltech.com
Tue Aug 11 14:38:20 CEST 2009
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.
-- Eskil
More information about the Qt-jambi-interest
mailing list