You can obtain the Qt 5 plugin for SQLCipher that works with the SQLite driver by following these steps:
qmake -- SQLCIPHER=<path_to_sqlcipher>
make
where <path_to_sqlcipher>
is the directory where you installed SQLCipher.
After the plugin has been built, copy the resulting libqsqlitecipher.so
or libqsqlitecipher.dylib
(depending on your operating system) to the Qt plugins directory. This directory is typically located at /usr/lib/qt/plugins/sqldrivers
or /usr/local/Qt-X.X.X/plugins/sqldrivers
on Linux, /Library/Qt/plugins/sqldrivers
on macOS, and C:\Qt\X.X.X\plugins\sqldrivers
on Windows.
Verify that the plugin is installed correctly by running a Qt application that uses the SQLite driver with SQLCipher encryption.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-06-08 07:02:08 +0000
Seen: 25 times
Last updated: Jun 08 '23
How do you log Python data into a database?
How can I load rows for child foreign keys in SQLite using C# ADO?
What does it mean when there is no database connection URL template for schemacrawler and sqlite3?
How to use the IN() clause in a subquery in Sqlite with a column name as data?
How can the SQL debug mode be activated in PostgreSQL version 15.2?
How to deal with an operational error when connecting Django to MySQL?
What is the method for choosing data FROM a stored procedure?