[Qt-interest] QSql for MS Sql on a Mac

Constantin Makshin cmakshin at gmail.com
Thu Apr 15 21:35:06 CEST 2010


You may want to give them a try:

http://www.easysoft.com/products/data_access/odbc-sql-server-driver/index.html?location=Easysoft%20Data%20Access%20body

http://www.macports.org/ports.php?by=variant&substr=odbc

http://www.archivum.info/qt-interest@trolltech.com/2009-07/00339/[Qt-interest]-MSSQL-Mac-query.html

If nothing helps/works, I give up. :)

On Thu, 15 Apr 2010 22:32:48 +0400, Scott Aron Bloom <Scott.Bloom at onshorecs.com> wrote:
> Yep... know that sight well :)
>
> However, (and I have tried 4 of the drivers recommended) I cant get any
> of them to work with Qt
>
> Scott
>
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com
> [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Constantin
> Makshin
> Sent: Thursday, April 15, 2010 11:19 AM
> To: Qt Interest
> Subject: Re: [Qt-interest] QSql for MS Sql on a Mac
>
> Then http://www.macsos.com.au/MacODBC may help you.
>
> On Thu, 15 Apr 2010 22:09:45 +0400, Scott Aron Bloom
> <Scott.Bloom at onshorecs.com> wrote:
>> Thanks...Thats a really great msdn article...
>>
>> However, the problem is not on a windows box...
>>
>> I have the correct DSN for windows with no problem...
>>
>> The problem, is
>> 1) Getting a working ODBC driver on the Mac
>> 2) Getting a working DSN so the ODBC manager will select that
> driver...
>> on the mac
>>
>> Thanks again
>> Scott
>>
>> -----Original Message-----
>> From: qt-interest-bounces at trolltech.com
>> [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Constantin
>> Makshin
>> Sent: Thursday, April 15, 2010 11:04 AM
>> To: Qt Interest
>> Subject: Re: [Qt-interest] QSql for MS Sql on a Mac
>>
>> Take a look at http://msdn.microsoft.com/en-us/library/ms811006.aspx .
>> It obviously doesn't say anything about Macs, but it contains all
> useful
>> information about DSN for Microsoft SQL Server. At least I could
> connect
>> to a local instance of MSSQL server (versions 2000 and 2008 Express)
>> from my Qt application. That was a requirement of the client to use
>> local instances, but I guess that using the server across network
>> shouldn't be much harder.
>>
>> On Thu, 15 Apr 2010 20:16:57 +0400, Scott Aron Bloom
>> <Scott.Bloom at onshorecs.com> wrote:
>>> Has anyone successfully gotten the QSql system working connection to
> a
>>> Microsoft MS Sql server running on a Mac?
>>>
>>> I don't have a choice about the back end server, so please.. no "Just
>>> use MySql...." J
>>>
>>> That said, if you have it working, what ODBC driver (or are you using
>> a
>>> different QSqlDatabaseDriver) on the Mac?
>>>
>>> How did you setup your DSN string?
>>>
>>> Thanks in advance
>>>
>>> Scott

-- 
Constantin Makshin



More information about the Qt-interest-old mailing list