Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, August 2007
Strange problem, Qt sqlite driver not loaded


Message 1 in thread

Hello,

I'm trying to create application that connect to
database (sqlite in memory database). I compile QT
with -qt-sql-sqlite option so in my understanding,
sqlite will be available natively in my Qt. But, when
I run my application I get "driver not loaded" error.
The other magic thing is all Qt sql sample work fine
(cachedtable, sqlquery, etc). It puzzled me since I
just imitate (copy paste) the code in the sample and
put it to my code. The only different is, I put that
code inside private slots of a QDialog. 

I've been searching this mailing list for similar
issues but found nothing (yes, there are many driver
not loaded problem, but it related to sqlite as a
plugin). Is there any special threatment for working
with sqlite inside a dialog ?. Any simple sample on
this ?.

Thanks in advance for your help,

si_sol









       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz 

--
 [ signature omitted ]