hi,
i built my program that uses sqlite database and the program works well on my PC
but when i tried to execute it on a different machine the database did not opened.
i read the documentation and i understanded that i should build the sqlite plugin.
using the following commands i tried to build it
cd %QTDIR%\src\plugins\sqldrivers\sqlite
qmake -o Makefile "INCLUDEPATH+=C:\SQLITE\INCLUDE" "LIBS+=C:\SQLITE\LIB\SQLITE3.LIB" sqlite.pro
nmake
and i downloaded the latest sqlite source code in c:\sqlite
they were three files one cpp and two h files i put the h files in a directory
c:\sqlite\include
and executed the commands but i got an error say that
"LIBS+=C:\SQLITE\LIB\SQLITE3.LIB"
are not exists ,i deleted this part from the command and the file qsqlite4.dll is produced in the following path
C:\Qt\4.3.2\plugins\sqldrivers
i copied this file to the folder where my program exists and the program did not load the
database so i copied qsqlite4.dll in a subdir called "qsqldrivers" and also it did not load the data.
where is the wrong ?
and thank you.
excuse me for my english.
Bookmarks