Skip to content

CRASH when when using SQLITECIPHER #49

Description

@R-P-H

I compiled the plugin as detailed and copied the sqlitecipher.dll to the plugins/sqldrivers folder. I use the code below to open an existing encrypted database (encrypted using db browser for SQLCipher). And it works great.

However, when I try and run the program on another machine (with all the necessary .dlls copied over as well) it crashes on start-up when trying to open the database. Why is the exact same program and libraries not working on my other machine ? (Both Windows 10 64-bit).

QSqlDatabase db = QSqlDatabase::addDatabase("SQLITECIPHER");
db.setDatabaseName("myDB");
db.setPassword("myDBPassword");
db.setConnectOptions("QSQLITE_USE_CIPHER=sqlcipher; SQLCIPHER_LEGACY=1;");

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions