# github qsqlcipher-qt6 **Repository Path**: heyanrui/github-qsqlcipher-qt6 ## Basic Information - **Project Name**: github qsqlcipher-qt6 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-04-24 - **Last Updated**: 2025-04-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## QSQLCipher-Qt6 This is a Qt6 plugin for [SQLCipher](https://www.zetetic.net/sqlcipher). Since SQLCipher is a drop-in replacement for SQLite, the Qt SQLite driver is used as the base for this plugin. The current implementation consists of * SQLCipher 4.7.0 (based in SQLite 3.49.1) as amalgamation from https://github.com/chehrlic/sqlcipher-amalgamation * libtomcrypt 1.18.2 from https://github.com/libtom/libtomcrypt * Qt SQLite plugin for Qt 6.8, modified to compile with Qt 6.6 and sligthly changed so it can be loaded as separate plugin ("QSQLCIPHER") ## Compilation and Installation You will need a Qt installation (e.g. installed through the [Qt Online installer](https://download.qt.io/official_releases/online_installers). Clone this repository and set up the Qt environment. * cd * mkdir build * cd build * for MinGW: cmake ..\ -G "MinGW Makefiles" * for MSVC: cmake ..\ -G "NMake Makefiles" * for Linux: cmake ..\ * cmake --build . * cmake --install . For windows you have to build the debug and the release plugin (linked against the respective Qt library) by passing '-DCMAKE_BUILD_TYPE=Debug' or '-DCMAKE_BUILD_TYPE=Release' to the first cmake call. ## Use within your Qt programm Load the QSqlCipher plugin with [QSqlDatabase::addDatabase("QSQLCIPHER")](https://doc.qt.io/qt-6/qsqldatabase.html#addDatabase).