[unixODBC-support] ODBC library for QT linux
nick at lurcher.org
Fri Jan 21 20:47:15 GMT 2011
On 21/01/2011 14:43, Gigin Jose wrote:
> Hi ,
> I am working with QT4.6.1 on a linux platform. I need to connect to
> MSSQL server using QT. From the QT documnetations, I understood that
> QODBC driver includes the MSSQL driver also. Hence I used the binaries
> and libraries from www.unixodbc.org for configuring the QT.
Ok, first unixODBC does not have a driver for SQL Server, but you can
add drivers, either commercial or open source.
> Once I try to compile the application, I am getting the compile error :
> /usr/bin/ld: warning: libodbc.so.1, needed by
> /usr/local/Trolltech/Qt-4.6.1/plugins/sqldrivers/libqsqlodbc.so, not
> found (try using -rpath or -
It can't find libodbc.so for whatever reason. libodbc.so is the driver
manager and should have been built when you built unixODBC.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the unixODBC-support