José Arcángel Salazar Delgado wrote: > Hi, > I'm having troubles trying to use the QIBASE driver. With Qt jambi 4.3, I > only > need to compile the driver from QT 4.3 and put it in the /plugins/sqldrivers > dir. But with qt jambi 4.4 I don't know what to do, because the same trick > did't work. I'm using QT 4.4+mingw, qtjambi 4.4 on windows XP and firebird > 2.1.
You stumbled onto two issues here. First of all, the open source packages are built with visual studio, because that is the only way to support the DirectX libraries needed by our multimedia support, Phonon. It is not possible to load plugins compiled using mingw together with a Qt that is built with MSVC, because binary incompatibilities. The Qt plugin loader will check this before accepting any C++ plugins. The second thing is that if you are using the qtjambi-win32-msvc2005.jar platform jarfile, we load plugins from this, rather than from the plugins directory. If you want to do the old approach, you need to build Qt using Mingw, build Jambi using mingw, build your driver and not use the platform .jar file. Alternatively you could modify the ant task generating the platform jarfile to include your driver, of course. > I didn't use the QJDBC driver (using jaybird) because its incompatible with > qt > jambi. We haven't tested this internally, so there could be issues here. Could you be a bit more spesific? best regards, Gunnar _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
