Skip to content

devsharp-tech/qt6_qsqlcipher_plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Qt6 QSQLCipher Plugin

🔒 Qt6 SQLCipher Plugin based on QSqlDriverPlugin, enabling encrypted SQLite database support in Qt6 applications.

GitHub stars GitHub forks
Qt6 SQLCipher C++


logo


✨ Features

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


📦 Installation

1️⃣ Prerequisites

Ensure you have the following installed:

  • Qt6 (with Qt SQL module)
  • CMake
  • SQLCipher (SQLite with encryption support)

2️⃣ Build & Install

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.


🔥 Usage

🛠 Registering the Plugin in Qt

#include <QSqlDatabase>
QSqlDatabase db = QSqlDatabase::addDatabase("QSQLCIPHER");
db.setDatabaseName("encrypted.db");
db.setPassword("your-secure-password");
if (!db.open()) {
    qDebug() << "Failed to open database!";
}

📝 Documentation

For detailed documentation, check the Wiki.


🎯 Roadmap

  • Add automated CI/CD builds
  • Improve error handling
  • Support additional database features

🤝 Contributing

Want to contribute? Please check the CONTRIBUTING.md guide.

  1. Fork this repository
  2. Clone your fork
  3. Create a new feature branch
  4. Submit a Pull Request 🎉

📜 License

This project is licensed under the MIT License. See LICENSE for details.


⭐ Support

If you find this project useful, please ⭐ Star this repository and share it!

About

Qt6 SQLCipher Plugin based on QSqlDriverPlugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published