[Qt-interest] QTDS SQL Driver no longer functions correctly under Qt 4.6.0
Wm. G. Urquhart
wgu at wurquhart.co.uk
Tue Dec 29 17:41:56 CET 2009
Hi,
I have downloaded and installed v4.6 of the LGPL Libraries for Windows
(VS 2008) along with the Visual Studio Add-in v1.1.2. (on Vista x64)
Since I use a (remote) SQL Server Database I built the QTDS Driver using
the Intel v11.1.054 Compiler, and I can successfully build and run the
Qt project using the Intel Compiler.
On start up the application opens a connection to the SQL Database
however whenever I try to execute a query against it I get:
QTDS: Attempt to initiate a new SQL Server operation with results pending.
How this can be I do not know as the code worked (unchanged) under v5.4
so this leads me to suspect the 4.6 QTDS code. I've been scratching my
head over this one for hours and I can see nothing wrong with my code.
Even if I stop the application from opening the database at start up and
opening just prior to executing a QSqlQuery I still get the same error!
Is anyone aware of this 'issue' as I'm at a total loss.
--
William
More information about the Qt-interest-old
mailing list