Important: Please read the Qt Code of Conduct -

How to deploy UnixODBC with FreeTDS on MAC 10.8.x on a user's MAC?

  • Hi,

    I'm unable to deploy the FreeTDS driver on a user's mac, in the development machine it works fine, I have the drivers in the resource folder and the application picks it up from there and it works on the development machine. But in the user's mac which has no knowledge about the FreeTDS or UnixODBC, fails to load the driver. I know that I have to point the application to look for the driver, not sure how to do it? The error is I receive on the user's machine is:

    @Error: QSqlError(0, "QODBC3: Unable to connect", "[unixODBC][Driver Manager]Data source name not found, and no default driver specified") @

    And my .pro file has library link to odbc, that is -lodbc, but I cant seem to link freeTDS since they are static libs.

    Any help will be appreciated, thanks

Log in to reply