[Qt-interest] building Qt 4.5.0 (LGPL) with DB2 and ODBC plugin support
Robert Hairgrove
evorgriahr at hispeed.ch
Thu Apr 9 14:29:40 CEST 2009
There seems to be a conflict with these two: I can build either, but not
both because DB2 has its own "sql.h" header file which is totally
different than the ODBC "sql.h" header. There are other ODBC headers in
the DB2 include path as well; however, these appear to be Microsoft ODBC
headers. Whether or not they will conflict with unixODBC headers is
another question ... at any rate, I haven't gotten that far yet.
The problem is that in order to build DB2 functionality, I must add the
path to the include and lib directory at the command line for the Qt
"configure" script. If I don't do that, DB2 isn't enabled. If I do, then
DB2 is enabled, but then all the ODBC tests try to include the DB2
"sql.h". :(
Is there an easy fix for this? If not easy, is there any way to do it at
all?
More information about the Qt-interest-old
mailing list