🔒 Qt6 SQLCipher Plugin based on QSqlDriverPlugin
, enabling encrypted SQLite database support in Qt6 applications.
✅ SQLCipher Integration – Secure SQLite databases with encryption
✅ Qt6 Compatibility – Works seamlessly with Qt6's SQL module
✅ Cross-Platform – Supports Windows, macOS, Linux
✅ Easy to Use – Minimal setup, use like any Qt SQL driver
Ensure you have the following installed:
- Qt6 (with Qt SQL module)
- CMake
- SQLCipher (SQLite with encryption support)
git clone https://github.com/kamidev628/qt6_qsqlcipher_plugin.git
cd qt6_qsqlcipher_plugin
mkdir build && cd build
cmake ..
make
After building, place the compiled plugin in Qt’s sqldrivers
directory.
#include <QSqlDatabase>
QSqlDatabase db = QSqlDatabase::addDatabase("QSQLCIPHER");
db.setDatabaseName("encrypted.db");
db.setPassword("your-secure-password");
if (!db.open()) {
qDebug() << "Failed to open database!";
}
For detailed documentation, check the Wiki.
- Add automated CI/CD builds
- Improve error handling
- Support additional database features
Want to contribute? Please check the CONTRIBUTING.md guide.
- Fork this repository
- Clone your fork
- Create a new feature branch
- Submit a Pull Request 🎉
This project is licensed under the MIT License. See LICENSE for details.
If you find this project useful, please ⭐ Star this repository and share it!