Unsolved Error:File encrypted or not a database file
-
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. -
@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.
-
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.