How to build a SQLCipher driver for PyQt5

2020-05-01 07:45发布

问题:

I am having some troubles in order to build a SQLCipher driver for PyQt5. I checked some ways of building a Qt SQLCipher driver plugin, but I am fairly new to this world and I only know Python, so I don't understand it nor understand how to make it work for PyQt5 without using plugins. I also saw that I building a driver as a class is possible, but I don't have any idea of how to build this driver. I have some disconnected information about drivers, Qt and PyQt5, but I just can't figure out how to put it all together. I also tried to investigate how the other SQL drivers are built in PyQt5, but I only found some wraps around C++ that I don't understand.

Anybody can help me to build a SQLCipher that I can use in PyQt5, as a Python class or any other different ways?

Thanks in advance!

EDIT: I forgot to add that my OS is Windows 10 64 bit.