[Qt-interest] building Qt 4.5.0 (LGPL) with DB2 and ODBC plugin support

Robert Hairgrove evorgriahr at hispeed.ch
Fri Apr 10 09:10:44 CEST 2009


Christopher Rasch-Olsen Raa wrote:
> You can try to do the following:
> 
> Run configure _without_ references to the respective plugins include-dirs (but
> with options where you say you want to use those two plugins).
> Then go into src/plugins/sqldrivers/{odbc-driverdir,db2-driverdir} and run
> qmake as specified in the manual with the proper include-dirs. Then go to the
> toplevel qt-dir and run make from there.

Thank you! I was able to compile and install the DB2 plugin, but only 
after building the entire Qt library first (because running "make" in 
the plugin directory gave me the error "Couldn't find moc...").

And if you give the option "qt-sql-db2" or "plugin-sql-db2" to the 
command line of configure, you must also add "-continue", and DB2 
functionality is disabled in any case.

However, I still have to test the functionality of the plugin. If it 
works, then I will try the same with Oracle's free "express" version.



More information about the Qt-interest-old mailing list