My program written in Qt C++ calls the sqlite database. On my own computer it works good, but on the end user’s computer it says “Driver not loaded”. True, I don’t know which files/dlls should be copied/installed,
can you please help me?
Update: I found I need to copy sqlite3.dll, sqlite3.def and sqlite3.exe into windows/system32 folder OR the folder of my program but it still cannot load database.
OS is Windows xP.
Thanks
Try to copy
qsqlite4.dll(orqsqlite4d.dll, if you are distributing a debug build) from your$QTDIR\plugins\sqldriversfolder to asqldriverssubfolder in your program folder. Qt should then be able to pick it up from there, if you don’t use anything special…