Compile error QSQLCIPHER driver plugin for Qt
-
@4j1th
Np, i can see the benefit of encrypted sqlite.Not sure it is a bug in qmake.
More likely something with the PRI/PRO file but it does seem like qmake just sort of bails out.Im going now for a B.day but when i get home I going to try one more time. If same result it must be
an build error. -
Ok, did it once more after some beers and it build ?!
No errors.I have shared the DLLs (debug/release) and the A files here:
https://www.dropbox.com/s/k1jm5qv7mvdyyzn/sqldrivers.zip?dl=0Cheers :)
-
@mrjj copied the dlls to plugin/sqldriver dir and build a test project but got an error
("QSQLITE", "QMYSQL", "QMYSQL3", "QODBC", "QODBC3", "QPSQL", "QPSQL7") QSqlDatabase: QSQLCIPHER driver not loaded QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL 7 QSqlQuery::exec: database not open QSqlQuery::exec: database not open QSqlQuery::exec: database not open Press <RETURN> to close this window...
-
Hi, I did the rest of the tut and
it did produce an encrypted db.but, then i tried to use the test .pro and main.cpp i got same
error "driver not loaded"I tried to find a fix but seems not to see the new dlls.
Not even if you make a Deploy folder with all the needed files.I think its just a path problem like here
http://stackoverflow.com/questions/14362881/qt-mysql-cant-load-plugin-driver-qlibrary-qpluginloader-successfuly-loaded-qsBut I had time to try load the DLL which works. Did not try the add path etc.
-
@4j1th
Ok, very strange.
Im out of ideas why it will not load as driver.The .a +.exe could produce a encrypted db and the dll can be loaded as DLL but
for some reason, it wont load as a sql driver.So close and yet nothing :(