Error:File encrypted or not a database file
-
wrote on 24 Aug 2018, 07:27 last edited by
Hi,
i am creating a qt embedded application. For this application am using sqlite as database. But when i try to perform select query through code it shows file is encrypted or not a database file. could someone point me the solution?
Thanks. -
Hi,
i am creating a qt embedded application. For this application am using sqlite as database. But when i try to perform select query through code it shows file is encrypted or not a database file. could someone point me the solution?
Thanks.wrote on 24 Aug 2018, 07:48 last edited by@QtUser73
So maybe the file is indeed encrypted, or not a database at all?If it is encrypted you'll have to Google outside of Qt. I understand SQLite does not offer encryption natively, but there are third-party tools which might have been used to do so, so you'll have to investigate.
-
wrote on 24 Aug 2018, 12:03 last edited by
Note that if you are embedding the file as a resource you will not be able to access it directly. You will have to extract it to a file, then access it as a database.
1/3