I use this:
Build Sqlcipher
Instal MSYS in
Instal ActivePearl
Instal ActiveTlcTk
Instal MinGW
Instal OpenSSL for windows (in my case)
download Sqlcipher put in c:\sqlcipher
Open MSYS and go to c:\sqlcipher
./configure --prefix=/c/Qt/2010.04/qt/src/plugins/sqldrivers/sqlcipher
--disable-tcl --disable-amalgamation CFLAGS="-DSQLITE_HAS_CODEC -I../
OpenSSL2/include /c/OpenSSL/bin/libeay32.dll"
make
make dll
make install
Build Plugins For Qt
Put sqlite3.dll in /src/plugins/sqldrivers/sqlcipher
Open qt terminal (check if make doing...if wrong rename minGW32-
make.exe in make.exe)
Go to /src/plugins/sqldrivers/sqlite/
qmake "INCLUDEPATH+=C:\Qt\2010.04\qt\src\plugins\sqldrivers\sqlcipher
\include" "LIBS+=C:\Qt\2010.04\qt\src\plugins\sqldrivers\sqlcipher
\sqlite3.dll"
sqlite.pro
make
make install
Put in your final executable sqlite3.dll + libeay32.dll
The path for QT sqlcipher pluging SSL is an example...you have to
correct that!
Bye.