cipher: Fix build option and use a dialog for entering the password

Fix the sqlcipher build option in the qmake project to actually enable
the SQLCipher support.

Add a new dialog called CipherDialog which is used to ask the user for
the password and other encryption details instead of using standard Qt
input dialogs.
This commit is contained in:
Martin Kleusberg
2014-11-02 13:12:31 +01:00
parent 9ba36d02b2
commit 167d8cbd74
8 changed files with 265 additions and 21 deletions

View File

@@ -1,7 +1,7 @@
#ifndef SQLITE_H
#define SQLITE_H
#ifdef SQLCIPHER
#ifdef ENABLE_SQLCIPHER
#define SQLITE_TEMP_STORE 2
#define SQLITE_HAS_CODEC
#include <sqlcipher/sqlite3.h>