Hello Eskil, On Dienstag, 11. August 2009, Eskil Abrahamsen Blomfeldt wrote: > Petric Frank wrote: > > So i tried to do this here also. But after hours digging around i haven't > > found a guide how to do that. > > > > Could someone point me to some guide or hints to accomplish this ? > > > > As far as i know (i'm more a beginner in Java programming) jdbc may also > > be used to access MySQL. How the code above have to be rewritten. > > Probably someone have already written a jdbc(-mysql) driver for Qt-Jambi > > ... > > Hi, > > Qt Jambi comes with an undocumented JDBC driver. It will be documented > in the next release. Meanwhile, this is how you would use it with MySQL: > > QJdbcSqlDriver.initialize();
[...] Good to hear. Unfortunately Eclipse (compile step) seems not able to see this class (QJdbcSqlDriver) using "import com.trolltech.qt.sql.*;". The mysterious thing is - when i expand qtjambi*.jar in the project explorer frame - i can see this class. 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 ? Remark: jdbc-mysql.jar (Connector/J for MySQL) is also in the project. regards Petric _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
