SQLCipher driver
-
Hello. I would like to use sqlcipher in place of sqlite because of the password protection. This is what I have done.
1- I have downloaded sqlcipher sources and modified the file Makefile.msc to include OpenSSL include and lib path and changed some lines to include sqlcipher
2-Compiled with msv2017 using this command nmake /f Makefile.msc
It compiled and generated some of these files:
libsqlite3.lib
sqlite3.c
sqlite3.dll
sqlite3.exe
sqlite3.h
sqlite3.lib
sqlite3.obj
sqlite3.pdbThere are many files in sqlcipher folder, so I am not sure what other files were generated. I would like to know:
-How do I output the generated files to a specific file? I tried this:
cd mkdir && nmake /f ../Makefile.msc but it won't find the file
-For those who compiled before which files do I need?
For using in Qt do I only need to include the libs to the path or build?
And last does anyone has an example on using in Qt. Thanks -
@Ucn_ said in SQLCipher driver:
but do I need to build it before using?
It's source code ... so I would guess yes.
-
@Ucn_ said in SQLCipher driver:
but do I need to build it before using?
It's source code ... so I would guess yes.
@Christian-Ehrlicher When trying to build it says "sqlcipher development package not found"
-
@Ucn_ said in SQLCipher driver:
When trying to build it says
Did you actually read the instructions: "Also, if pkg-config is not available you should edit the qsqlcipher.pro and set the INCLUDEPATH and LIBS variables."
-
@Ucn_ said in SQLCipher driver:
When trying to build it says
Did you actually read the instructions: "Also, if pkg-config is not available you should edit the qsqlcipher.pro and set the INCLUDEPATH and LIBS variables."
@Christian-Ehrlicher I read, but what does it mean by "The SQLCipher headers and libraries should be installed" The source does not have libs.
-
@Ucn_ said in SQLCipher driver:
The source does not have libs.
...
It compiled and generated some of these files
You said you already compiled the sqlcipher lib - so what's the problem?