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

Scott Aron Bloom Scott.Bloom at onshorecs.com
Thu Apr 15 20:32:48 CEST 2010


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
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list