[Qt-interest] building Qt 4.5.0 (LGPL) with DB2 and ODBC plugin support
Thiago Macieira
thiago.macieira at trolltech.com
Fri Apr 10 18:36:10 CEST 2009
Robert Hairgrove wrote:
>Does this mean that LGPL'ed Qt cannot reliably use a DB2 plugin which
>was built with the DB2 Express version? And, do the commercial DB2
>libraries not have this dependency on libstdc++5.so any more?
The problem is not Qt, but your C++ compiler. GCC versions 3.4 and above
use libstdc++.so.6, which matches the ABI version 2.
GCC 3.2 and 3.3 use ABI version 1, with libstdc++.so.5. Unfortunately,
these two versions of GCC are no longer supported.
You may try to build Qt with -fabi-version=1, but you may want to turn off
STL support since it's unlikely that it's going to work. I have never
tried the -fabi-version=N switch and cannot guarantee it will work.
It is recommended that you contact IBM and request a version of DB2
compiled with a GCC version released in the past 4 years (3.4.0 was
released almost 5 years ago, to the date, the last update to 3.3 was 3
years and 11 months ago).
--
Thiago Macieira - thiago.macieira (AT) nokia.com
Senior Product Manager - Nokia, Qt Software
Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090410/36101119/attachment.bin
More information about the Qt-interest-old
mailing list