QSLITE driver not loaded??
I created a program with QT4 on one PC
I then transfer the exe (and dll at the same location) to another PC
When I try to run the program(try both command line and folder run) i have an error "QSLITE driver not loaded"
I copied Qtsql4.dll , Qtsqld4.dll, Qsqlite4.dll, qsqlited4.dll in the folder so I don't understand why it's not running the database.
thanks
Re: QSLITE driver not loaded??
do you use sql driver plugins?
if yes, then copy sqldrivers from QTDIR/plugins to dir with your application.
Re: QSLITE driver not loaded??
I did copy the file Qsqlite4.dll, qsqlited4.dll from the sqldriver directory.
I even copy the .a but still the same error??
My first PC is a PC with vista, the second PC with windows 2000, (both win32) does he change anything?
Re: QSLITE driver not loaded??
you should copy directory as is, not only its content, but and directory too.
so, after coping this directory you should have next structure of your application directory:
appdir
|------sqldrivers
| |----*.dll
| ....
|------application.exe
Re: QSLITE driver not loaded??
thanks
I have just copied the dll files with their path Qt\plugins\sqldrivers\
and it works
great I thought i had to play with the register of windows....
thanks