[Qt-interest] Driver not loaded...
Scott Aron Bloom
Scott.Bloom at onshorecs.com
Fri Apr 1 22:30:42 CEST 2011
Create another QSqlDatabase on the thread.. and it should work..
Each thread needs its own QSqlDatabase.
Scott
From: qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com
[mailto:qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com] On
Behalf Of Eric Clark
Sent: Friday, April 01, 2011 1:09 PM
To: Qt Interest (qt-interest at trolltech.com)
Subject: [Qt-interest] Driver not loaded...
Hello All,
I have an application that uses an SqLite Database. I can open the
database just fine, write to it, and read from it without problems in
most cases; however, when I try to open the database on a different
thread than the one that it was created on, I always get an error. And
the error always says that the drive ris not loaded. Can anyone tell me
why this is happening? Or what I can do to fix it? According to the
documentation, threading should not be a problem.
Thanks,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110401/de98cb38/attachment.html
More information about the Qt-interest-old
mailing list