Hello,
I’ve finally finished most of the development of my app, but I’m facing (i hope) one last problem: my python created database is never saved on the phone.
here you can see the database created by my other app SeaAiNetic in the .local/share folder. Bellow, the folder of my harbour-deepfish app is empty.
I added the QT += sql to my .pro file as mentioned here or here
and every time i make a change on my database i do con.commit() as it can be seen in my code here
I did not have this issue with my other app because i do not create the database with python but with QML instead.
So currently I can open the app and fill the database, but as soon as i close and then re-open the app, it’s like a new fresh installation. (perfect feature for data protection)
On the other side, when using QML Live from the SDK i never face this issue.
I think I’m missing something on the building files but I don’t know what, since, when comparing to other apps using python, we have the same configs.
Thank you anyone for your help or tips on this ! (yes you can build the app and use my API key i set hardcoded for testing)