@BB44
If it didn't solve the problem. I did so. I am using qt 6.5.0. But, I think, there will be no difference if you use qt 5 version. I compiled the sqlcipher dll library through vcpkg, but I couldn't build it from the sources. I created my own sqlcipher driver class using the source code of the sqlite driver, which is in the sources, changed only the name of the driver class and the paths inside the source files, added the SqlDriverCreator class, registered the new driver in the code:
sqldrvcreator = new SqlDriverCreator;
QSqlDatabase::registerSqlDriver("SQLITECIPHER", sqldrvcreator);,
After that everything works. You can also create a plugin project and build the plugin dll library and drop one dll file into the release folder with the project in the release_dir\plugins\sqldrivers folder and it should work without registering the driver and including libraries in the pro file.