[Qt-interest] Using ODBC on Windows

David Ching dc at remove-this.dcsoft.com
Wed Oct 14 00:49:40 CEST 2009


"Wm. G. Urquhart" <wgu at wurquhart.co.uk> wrote in message 
news:4AD4AF3E.70505 at wurquhart.co.uk...
> Hello List,
>
> I'm creating an application using Qt-Creator on Windows Vista x64, and
> installing the application and it's dependants with NSIS.
>
> As I'm using a remote SQL server for the Database, I configured a User
> DSN to meet the requirements. And when run all is well and application
> functions as expected (on the development machine).
>
> However, when I sent the installer and instructions to a colleague on
> execution the application bleats about no SQL driver. I have verified
> with him the configuration of the User ODBC DSN using the SQL Native 
> Client and it is identical to mine, but yet the application still fails.
>
> I have a weird feeling I'm missing something obvious here but I can't
> put my finger on it, can anyone shed some light on this for me please.
>

Do you distribute the Qt ODBC driver?  (I'm not sure if it is a separate 
plug-in DLL or it is built into one of the main Qt DLL's)?  BTW, if you're 
connecting to MS SQL Server, use the TDS driver as it is higher performing 
than the ODBC one.

-- David

 




More information about the Qt-interest-old mailing list