[Qt-interest] Qt ODBC driver with 64 bits MSVC

Wm. G. Urquhart wgu at wurquhart.co.uk
Tue May 11 14:07:20 CEST 2010


On 11/05/2010 09:21, Andre Somers wrote:
> Hi,
>
> I am trying to get the Qt ODBC driver working with my 64 bits MSVC
> compiled Qt. The driver compiled just fine, but it does not seem to
> work. The driver is loaded by the Qt (QSqlDatabase::drivers() returns
> the name of the driver), but it fails to connect to a database where the
> same code compiled in 32 bits mode on a 32 bits Qt works just fine. I
> don't get a helpful error message either.
>
> I must be missing something obvious, but I really can not find it.

Hi.

I don't know if this helps or not but you need to create your ODBC Data 
source using odbcad32.exe found here

C:\Windows\SysWOW64\odbcad32.exe (On Vista x64)

I had the same issue but this works for me.

HTH

-- 
William





More information about the Qt-interest-old mailing list