How to create own QSqlTableModel for SQLCipher database
Unsolved
General and Desktop
-
wrote on 19 Mar 2019, 14:07 last edited by Essentialfloss7-111XfacF
Problem is that I don't have any idea how to build and use Qt driver for SQLCipher / https://github.com/sjemens/qsqlcipher-qt5 /. So maybe is there any option to create my own table model that would work with SQLCipher database? Is there any guide/tutorial/help for that?
Any help would be greatly appreciated.
-
Hi,
The README.md file explains exactly how to build the plugin.
As for the usage, you can see in the tests. It's basically replacing "QSQLITE" by "QSQLCIPHER" in your code.
1/2